Bladeren bron

updated pre-commit so it works (#161)

geohotstan 2 jaren geleden
bovenliggende
commit
0e090773e3
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      dev_config/python/.pre-commit-config.yaml

+ 2 - 2
dev_config/python/.pre-commit-config.yaml

@@ -3,7 +3,7 @@ repos:
     rev: v0.3.3
     hooks:
       - id: ruff
-        entry: ruff check --config dev_config/python/ruff.toml opendevin/ server/ agenthub/
+        entry: ruff check --config dev_config/python/ruff.toml opendevin/ agenthub/
         always_run: true
         pass_filenames: false
 
@@ -12,6 +12,6 @@ repos:
     hooks:
       - id: mypy
         additional_dependencies: [types-requests, types-setuptools]
-        entry: mypy --config-file dev_config/python/mypy.ini opendevin/ server/ agenthub/
+        entry: mypy --config-file dev_config/python/mypy.ini opendevin/ agenthub/
         always_run: true
         pass_filenames: false