Skip to content

Commit

Permalink
Don't run flake8 twice in CI (#15129)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Apr 25, 2023
1 parent 00f3913 commit 97e7f3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
arch: x64
os: windows-latest
toxenv: type
# We also run these checks with pre-commit in CI,
# but it's useful to run them with tox too,
# to ensure the tox env works as expected
- name: Formatting with Black + isort and code style with flake8
python: '3.7'
arch: x64
Expand Down
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ repos:
additional_dependencies:
- flake8-bugbear==22.12.6 # must match test-requirements.txt
- flake8-noqa==1.3.0 # must match test-requirements.txt

ci:
# We run flake8 as part of our GitHub Actions suite in CI
skip: [flake8]

0 comments on commit 97e7f3e

Please sign in to comment.