Skip to content

Commit

Permalink
[lint] add flake8-builtins and flake8-comprehensions to pre-commit hooks
Browse files Browse the repository at this point in the history
Ensures the same style as in the monorepo.
  • Loading branch information
PiRK committed May 11, 2023
1 parent 8757d9c commit 4bd2525
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ repos:
- --extend-ignore=E203 # This one is incompatible with black
additional_dependencies:
- flake8-mutable
- flake8-builtins
- flake8-comprehensions
# Less severe errors and warnings checked on a selection of cleaned-up files
- id: flake8
args:
- --max-line-length=88
- --ignore=E203,E501,W503,SIM106,SIM119,FS002,FS003
additional_dependencies:
- flake8-comprehensions
- flake8-mutable
- flake8-simplify
- flake8-use-fstring
Expand Down

0 comments on commit 4bd2525

Please sign in to comment.