Skip to content

Commit

Permalink
pkg: fix shebang present by file is not executable
Browse files Browse the repository at this point in the history
This leaves one exclude which is hard to fix (undefined name F821) due to the
nature how we run python scripts with inotify. We can't import inotify
as we use our own inotify Python library which we concatenate before the
executed script (for example mount-users.py).
  • Loading branch information
jelly committed Jul 26, 2024
1 parent 5ebc4ce commit a0bbcab
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ extend = "../pyproject.toml"

[lint]
ignore = [
"EXE001", # Shebang is present but file is not executable
"F821", # Undefined name
]
Empty file modified pkg/storaged/legacy-vdo/vdo-monitor.py
100644 → 100755
Empty file.
Empty file modified pkg/storaged/mount-users.py
100644 → 100755
Empty file.

0 comments on commit a0bbcab

Please sign in to comment.