-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Centralise linting config in
.pre-commit-config.yaml
(#15210)
This makes it easier to maintain the configurations for the various linting tools we use in CI. It also makes it easier for contributors to run the linting tools locally. `black`, `isort` and `flake8` are all very fast checks, so I think it makes sense to just run them all together in `runtests.py`. With this PR, the following three invocations will all be equivalent: ``` pre-commit run --all-files python runtests.py lint tox -e lint ``` Closes #15076
- Loading branch information
1 parent
1d144f0
commit 21bf603
Showing
3 changed files
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters