peterjc / flake8-black

flake8 plugin to run black for checking Python coding style
MIT License
166 stars 10 forks source link

[pre-commit.ci] pre-commit autoupdate #38

Closed pre-commit-ci[bot] closed 2 years ago

pre-commit-ci[bot] commented 2 years ago

updates:

peterjc commented 2 years ago

Interesting difference, but why (the syntax error is deliberate)?:

flake8...................................................................Failed
- hook id: flake8
- exit code: 1

tests/test_cases/no_closing_bracket.py:30:19: E999 SyntaxError: unexpected EOF while parsing
peterjc commented 2 years ago

There were several changes to flake8's syntax error handling in this version bump, seems must now exclude our deliberate syntax error test case as per 420c3ce3a19bd1e311cb9bccf08e40071b0f7649