Skip to content

Commit

Permalink
[MAINTENANCE] revert expansive flake8 pre-commit checking - flake8 5.…
Browse files Browse the repository at this point in the history
…0.4 (great-expectations#5706)

* revert expansive flake8 pre-commit checking

* update pre-commit flake8 version

repo url changed from gitlab to github

* flake8 3.9.2 -> 5.0.4

Co-authored-by: Chetan Kini <[email protected]>
  • Loading branch information
Kilo59 and cdkini authored Aug 8, 2022
1 parent 3105a38 commit 456b1cb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ repos:
rev: 22.3.0
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
files: ^(great_expectations/core)
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines-contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ stages:
displayName: 'Use Python $(python.version)'

- script: |
pip install isort[requirements]==5.10.1 flake8==3.9.2 black==22.3.0 pyupgrade==2.7.2 invoke==1.7.1
pip install isort[requirements]==5.10.1 flake8==5.0.4 black==22.3.0 pyupgrade==2.7.2 invoke==1.7.1
EXIT_STATUS=0
invoke fmt --check || EXIT_STATUS=$?
invoke lint || EXIT_STATUS=$?
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines-dependency-graph-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ stages:
displayName: 'Use Python 3.7'

- script: |
pip install isort[requirements]==5.10.1 flake8==3.9.2 black==22.3.0 pyupgrade==2.7.2 invoke==1.7.1
pip install isort[requirements]==5.10.1 flake8==5.0.4 black==22.3.0 pyupgrade==2.7.2 invoke==1.7.1
EXIT_STATUS=0
invoke fmt --check || EXIT_STATUS=$?
invoke lint || EXIT_STATUS=$?
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ stages:
displayName: 'Use Python 3.7'

- script: |
pip install isort[requirements]==5.10.1 flake8==3.9.2 black==22.3.0 pyupgrade==2.7.2 invoke==1.7.1
pip install isort[requirements]==5.10.1 flake8==5.0.4 black==22.3.0 pyupgrade==2.7.2 invoke==1.7.1
EXIT_STATUS=0
invoke fmt --check || EXIT_STATUS=$?
invoke lint || EXIT_STATUS=$?
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev-contrib.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
black==22.3.0
flake8==3.9.2
flake8==5.0.4
invoke>=1.7.1
isort==5.10.1
mypy>=0.971
Expand Down

0 comments on commit 456b1cb

Please sign in to comment.