[Haik]: added lintignores

This commit is contained in:
haikdc
2026-04-18 00:20:44 -07:00
parent 4866e644e2
commit f691ca1ff1
6 changed files with 6 additions and 12 deletions
View File
+5 -11
View File
@@ -30,20 +30,14 @@
"uv-bin",
"data",
"public",
"readme_assets",
"openswarm_debug.egg-info",
"frontend/src/assets"
"openswarm_debug.egg-info"
],
"exceptions": {
"max-file-lines": ["openswarm_debug.egg-info/**"],
"max-folder-items": [
"frontend",
"backend",
"backend/apps/tools/OAuthService/OAUTH_PROVIDERS/providers"
],
"no-nested-imports": ["linter/lint.py"],
"max-file-lines": [],
"max-folder-items": [],
"no-nested-imports": [],
"vulture": [],
"endpoints": ["backend/apps/health/*"],
"endpoints": [],
"classes": []
}
}
+1 -1
View File
@@ -17,6 +17,7 @@ from checks.eslint import run_eslint
from checks.knip import run_knip
from checks.endpoints import run_endpoint_check
from checks.classes import run_class_check
from watchfiles import watch, DefaultFilter
SCRIPT_DIR = Path(__file__).resolve().parent
CONFIG_FILE = SCRIPT_DIR / "config" / "config.json"
@@ -125,7 +126,6 @@ def print_results(
def watch_loop(root: Path) -> None:
from watchfiles import watch, DefaultFilter
config_dir = SCRIPT_DIR / "config"