summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/check.py b/check.py
index 858309c..9c45f4d 100755
--- a/check.py
+++ b/check.py
@@ -6,9 +6,9 @@ import subprocess
import shutil
import sys
-
SCRIPT = pathlib.Path(__file__).resolve()
ROOT = SCRIPT.parent
+ICON = ROOT / "icon"
def main() -> None:
@@ -67,7 +67,13 @@ def black() -> None:
def get_python_files() -> tuple[pathlib.Path, ...]:
- return tuple(ROOT.glob("*.py"))
+ files: list[pathlib.Path] = []
+
+ for directory in (ROOT, ICON):
+ for file in directory.glob("*.py"):
+ files.append(file)
+
+ return tuple(files)
def flutter_analyze() -> None: