Skip to content

Commit 2103037

Browse files
committed
fix: Ruff rule EXE001 (shebang-not-executable)
https://docs.astral.sh/ruff/rules/shebang-not-executable/
1 parent f51b61a commit 2103037

109 files changed

Lines changed: 2 additions & 232 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ target-version = "py310"
107107
select = [
108108
"C4",
109109
"E",
110+
"EXE",
110111
"F",
111112
"I",
112113
"PLR",
@@ -120,6 +121,7 @@ ignore = [
120121
"E722",
121122
"E731",
122123
"E741",
124+
"EXE002",
123125
"PLR0124",
124126
"PLR0911",
125127
"PLR0912",

src/__init__.py

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

53
PYTHON_VERSION = 3, 10 # Minimum python version required

src/api/check.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
# vim:ts=4:sw=4:et:
32

43
# ----------------------------------------------------------------------

src/api/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
# vim:ts=4:et:sw=4:
32

43
# ----------------------------------------------------------------------

src/api/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
# vim: ts=4:et:sw=4:
32

43
# ----------------------------------------------------------------------

src/api/debug.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
# vim:ts=4:sw=4:et:
32

43
# Simple debugging module

src/api/decorator.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
from collections.abc import Callable
42

53

src/api/errmsg.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
# vim: ts=4:et:sw=4:
32

43
# ----------------------------------------------------------------------

src/api/exception.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
# vim:ts=4:et:sw=4:
32

43
# ----------------------------------------------------------------------

src/api/global_.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
# vim:ts=4:et:sw=4:
32

43
# ----------------------------------------------------------------------

0 commit comments

Comments
 (0)