Closed SamuelLarkin closed 3 months ago
Turns out that my .pre-commit-config.yaml
was using:
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
instead of rev: v4.6.0
repo: https://github.com/pycqa/flake8
rev: 3.8.3
instead of rev: 7.1.0
index 7c2442bd2..ff6983c09 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.4.0
+ rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
@@ -25,7 +25,7 @@ repos:
stages: [commit]
# We do flake8 last since black fixes a lot of the stuff it complains about
- repo: https://github.com/pycqa/flake8
- rev: 3.8.3
+ rev: 7.1.0
hooks:
- id: flake8
# We do mypy last because it's the slowest of them all
please read the template next time! the bold part!
how did you install flake8?
unmodified output of
flake8 --bug-report
describe the problem
Given the following partial snipet of code
the error message is
everyvoice/model/e2e/dataset.py:113:21: E211 whitespace before '('
Surely, we are not expected to write
case(
?!