Skip to content

Commit 6e0c6ef

Browse files
blueyedilevkivskyi
authored andcommitted
Add shebang lines to stubgen scripts (#7903)
Also make them canonical with regard to whitespace with other executable scripts.
1 parent a94e649 commit 6e0c6ef

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

misc/download-mypyc-wheels.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python3
2-
32
# Script for downloading mypyc-compiled mypy wheels in preparation for a release
43

54
import os

misc/dump-ast.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#!/usr/bin/env python
2-
1+
#!/usr/bin/env python3
32
"""
43
Parse source files and print the abstract syntax trees.
54
"""

mypy/stubgen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""Generator of dynamically typed draft stubs for arbitrary modules.
23
34
The logic of this script can be split in three steps:

mypy/stubgenc.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""Stub generator for C modules.
23
34
The public interface is via the mypy.stubgen module.

0 commit comments

Comments
 (0)