Skip to content

Commit

Permalink
add flake8 w/ bugbear to pre-commit config (#427)
Browse files Browse the repository at this point in the history
* add flake8 w/ bugbear to pre-commit config

* check the other files in the tests subdir, just not the bXX.py files with examples of bad code
  • Loading branch information
r-downing committed Nov 27, 2023
1 parent 5691df6 commit aabaf1d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ repos:
- id: black
args:
- --preview

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear]
exclude: ^tests/b.*

0 comments on commit aabaf1d

Please sign in to comment.