diff options
Diffstat (limited to 'autogpts/autogpt/.pre-commit-config.yaml')
-rw-r--r-- | autogpts/autogpt/.pre-commit-config.yaml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/autogpts/autogpt/.pre-commit-config.yaml b/autogpts/autogpt/.pre-commit-config.yaml index cb7180d4c..d2a061a4d 100644 --- a/autogpts/autogpt/.pre-commit-config.yaml +++ b/autogpts/autogpt/.pre-commit-config.yaml @@ -22,21 +22,21 @@ repos: - id: black language_version: python3.10 - - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.3.0' - hooks: - - id: mypy + # - repo: https://github.com/pre-commit/mirrors-mypy + # rev: 'v1.3.0' + # hooks: + # - id: mypy - repo: local hooks: - - id: autoflake - name: autoflake - entry: autoflake --in-place --remove-all-unused-imports --recursive --ignore-init-module-imports --ignore-pass-after-docstring autogpt tests - language: python - types: [ python ] + # - id: autoflake + # name: autoflake + # entry: autoflake --in-place --remove-all-unused-imports --recursive --ignore-init-module-imports --ignore-pass-after-docstring autogpt tests + # language: python + # types: [ python ] - id: pytest-check name: pytest-check - entry: pytest --cov=autogpt tests/unit + entry: bash -c 'cd autogpts/autogpt && poetry run pytest --cov=autogpt tests/unit' language: system pass_filenames: false always_run: true |