Skip to content

Commit

Permalink
Update the PyCQA/flake8 pre-commit hook
Browse files Browse the repository at this point in the history
The previous version incorrectly triggers on some Python strings
containing colons so we need the updated hook here; otherwise, we get
errors that look like:
src/report/generate_https_scan_report.py:772:38: E231 missing whitespace after ':'
src/report/graphs.py:186:39: E231 missing whitespace after ':'
src/report/graphs.py:186:40: E231 missing whitespace after ','
src/report/graphs.py:586:77: E231 missing whitespace after ':'
src/report/graphs.py:589:47: E231 missing whitespace after ':'
src/report/graphs.py:640:74: E231 missing whitespace after ':'
src/report/graphs.py:641:66: E231 missing whitespace after ':'
  • Loading branch information
jsf9k committed Nov 27, 2023
1 parent a16eaa5 commit c9262b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies:
Expand Down

0 comments on commit c9262b9

Please sign in to comment.