wemake-python-styleguide
wemake-python-styleguide copied to clipboard
The strictest and most opinionated python linter ever!
# I have made things! ## Checklist - [x] I have double checked that there are no unrelated changes in this pull request (old patches, accidental config files, etc) -...
## Checklist - [x] I have double checked that there are no unrelated changes in this pull request (old patches, accidental config files, etc) - [ ] I have created...
### What's wrong pre-commit.ci updated their default runtime to Python 3.12 yesterday and here's how this plugin crashes there: ```python-traceback multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/usr/lib/python3.12/multiprocessing/pool.py", line...
# Rule request WPS331 should recommend the opposite, so to be explicit about what the returned value is, instead of leaving it to the cognitive load of the reader to...
# Added usless ternary rule ## Checklist - [x] I have double checked that there are no unrelated changes in this pull request (old patches, accidental config files, etc) -...
### What's wrong `NAME = Literal['S', 'N', 'B', 'BOOL', 'NULL', 'M', 'L', 'SS', 'NS', 'BS']` This line is considered as `WPS221 Found line with high Jones Complexity: 15 > 14...
```python try: ... except (A, B, C, D, E, F, Z, Y, X): ... ``` This code clearly shows that something is wrong with the exception handling. We need a...
Bumps [flake8-pytest-style](https://github.com/m-burst/flake8-pytest-style) from 1.7.2 to 2.0.0. Commits 2d351f8 Bump version: 1.7.2 → 2.0.0 547f590 Make release job manual 87ac31f Invert defaults for pytest-fixture-no-parentheses and `pytest-mark-no-paren... 705c2ad Support Python 3.12 (#279)...
Closes https://github.com/wemake-services/wemake-python-styleguide/issues/2711