-
Is there a way to force the wemake-python-styleguide action to show recommendation only for those files that have been changed in the PR? Currently, the action log shows recommendations for the entire…
-
# Rule request
## Thesis
### len with comprehensions
Iterators have no `len`, and sometimes I forgetting it.
Bad:
```python
len(1 for el in a if el in b)
```
Better:
```pyth…
-
I noticed in some PR there is a lot of clutter because of inconsistent style.
We should define some style-guides (e.g. `"` vs `'` for strings, for order of imports, and for formatting string). We …
-
@Miserlou can you please review the latest changes?
In case you are fine with them, that's what is left to release a new version:
1. bump version (`0.2.0`) in `pyproject.toml`
2. add changelog en…
-
This package of lints is great, however it adds quite a lot of dependencies into projects which may only want a small number of the rules available here. (Many of which aren't available elsewhere).
…
-
# Rule request
## Thesis
The list has a set of methods that duplicates operations that you can do with `+` operator or slices:
```python
# bad
items += [item]
# good
items.append(item…
-
## Expected Behavior
Configure the style with the keys that should not exist in `pyproject.toml`, `setup.cfg` and other files.
## Current Behavior
Right now `flake8-nitpick` only checks if ke…
-
# Rule request
## Thesis
I often see that some people use this naming pattern:
```python
x1 = 1
x2 = 2
```
Which is perfectly fine.
But, this one looks ugly:
```
x = 1
x2 …
-
# Rule request
## Thesis
This code does not raise a single violation that `x` might not be defined:
```python
try:
function_that_raises()
x = 1
except:
...
print(x)
```…
-
Many repositories need to fix, so please help if you like.
If you could help, it would be helpful if you could comment before starting the work not to overlapping.
![](https://user-images.github…