Skip to content

Commit 149e18f

Browse files
committed
Change shebang to Python3
Close carpentries/styles#271
1 parent 0802ec9 commit 149e18f

7 files changed

Lines changed: 7 additions & 6 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ lesson-check-all :
9797

9898
## unittest : run unit tests on checking tools.
9999
unittest :
100-
python bin/test_lesson_check.py
100+
@bin/test_lesson_check.py
101101

102102
## lesson-files : show expected names of generated files for debugging.
103103
lesson-files :

bin/lesson_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
"""
44
Check lesson files and their contents.

bin/lesson_initialize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
"""Initialize a newly-created repository."""
44

bin/repo_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
"""
44
Check repository settings.

bin/test_lesson_check.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import unittest
24

35
import lesson_check

bin/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import sys
32
import os
43
import json

bin/workshop_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
'''Check that a workshop's index.html metadata is valid. See the
44
docstrings on the checking functions for a summary of the checks.

0 commit comments

Comments
 (0)