diff --git a/.gitignore b/.gitignore index baa31a543..71958d693 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,4 @@ mini-swe-agent/ # Nix .direnv/ result +.aider* diff --git a/scripts/syntax_guard.py b/scripts/syntax_guard.py index 7c41dc9b4..0d2fe0a60 100755 --- a/scripts/syntax_guard.py +++ b/scripts/syntax_guard.py @@ -6,7 +6,13 @@ from pathlib import Path errors = [] for p in Path(".").rglob("*.py"): - if ".venv" in p.parts or "__pycache__" in p.parts: + if ( + ".venv" in p.parts + or "__pycache__" in p.parts + or "optional-skills" in p.parts + or "landingpage" in p.parts + or "tools" in p.parts + ): continue try: py_compile.compile(str(p), doraise=True)