aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGravatar Reinier van der Leer <pwuts@agpt.co> 2023-12-02 06:11:47 +0100
committerGravatar Reinier van der Leer <pwuts@agpt.co> 2023-12-02 06:11:51 +0100
commitfe96f6d7832431aa433527e45378bb8282351774 (patch)
tree1717de84e0cf8ac0d5e2202d33db0acf79adc8cb /.github
parentrefactor: Move isort and mypy configuration into pyproject.toml (diff)
downloadAuto-GPT-fe96f6d7832431aa433527e45378bb8282351774.tar.gz
Auto-GPT-fe96f6d7832431aa433527e45378bb8282351774.tar.bz2
Auto-GPT-fe96f6d7832431aa433527e45378bb8282351774.zip
refactor: Disable mypy and autoflake in CI and pre-commit hook
- Commented out the mypy and autoflake checks in the CI workflow and pre-commit config files. - The intention is to enable the mypy check again later.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/autogpt-ci.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/autogpt-ci.yml b/.github/workflows/autogpt-ci.yml
index 1701325d3..9005d1607 100644
--- a/.github/workflows/autogpt-ci.yml
+++ b/.github/workflows/autogpt-ci.yml
@@ -65,14 +65,14 @@ jobs:
run: poetry run isort . --check
if: success() || failure()
- - name: Check mypy formatting
- run: poetry run mypy
- if: success() || failure()
-
- - name: Check for unused imports and pass statements
- run: |
- cmd="autoflake --remove-all-unused-imports --recursive --ignore-init-module-imports --ignore-pass-after-docstring autogpt tests"
- poetry run $cmd --check || (echo "You have unused imports or pass statements, please run '${cmd} --in-place'" && exit 1)
+ # - name: Check mypy formatting
+ # run: poetry run mypy
+ # if: success() || failure()
+
+ # - name: Check for unused imports and pass statements
+ # run: |
+ # cmd="autoflake --remove-all-unused-imports --recursive --ignore-init-module-imports --ignore-pass-after-docstring autogpt tests"
+ # poetry run $cmd --check || (echo "You have unused imports or pass statements, please run '${cmd} --in-place'" && exit 1)
test:
permissions: