Skip to content

Commit 8cd5113

Browse files
committed
Disable deprecated flake8-mypy Python tox check
Signed-off-by: Jacopo De Amicis <[email protected]>
1 parent 47df980 commit 8cd5113

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.github/.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
rev: 3.7.9
2424
hooks:
2525
- id: flake8
26-
additional_dependencies: [flake8-docstrings, flake8-bugbear, flake8-mypy, flake8-colors, pep8-naming]
26+
additional_dependencies: [flake8-docstrings, flake8-bugbear, flake8-colors, pep8-naming]
2727
args: ['--config=cli/.flake8']
2828

2929
- repo: https://github.com/timothycrosley/isort
@@ -41,4 +41,4 @@ repos:
4141
rev: stable
4242
hooks:
4343
- id: black
44-
args: ['-l 120']
44+
args: ['-l 120']

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
rev: 6.0.0
2727
hooks:
2828
- id: flake8
29-
additional_dependencies: [flake8-docstrings, flake8-bugbear, flake8-mypy, flake8-colors, pep8-naming]
29+
additional_dependencies: [flake8-docstrings, flake8-bugbear, flake8-colors, pep8-naming]
3030
# If flake8 isn't run from the CLI directory it doesn't read in its configuration in the same way.
3131
# Paths are relative to the top-level of the repo so the nested shell handles that.
3232
entry: bash -c 'cd cli && flake8 $(for arg in $@; do echo -n "../$arg " ; done)'

awsbatch-cli/tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ deps =
9696
flake8
9797
flake8-docstrings
9898
flake8-bugbear
99-
flake8-mypy
10099
# flake8-import-order # delegated to isort
101100
flake8-colors
102101
pep8-naming

cli/tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ deps =
106106
flake8
107107
flake8-docstrings
108108
flake8-bugbear
109-
flake8-mypy
110109
# flake8-import-order # delegated to isort
111110
flake8-colors
112111
pep8-naming

0 commit comments

Comments
 (0)