mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-11 12:17:45 +02:00
[Haik]: added lintignores
This commit is contained in:
@@ -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
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user