-
### What happened + What you expected to happen
While running the pre-commit hook of flake8, the following error occurs if Python version is 3.12. It's because the version of flake8 is too old.
…
-
### What's wrong
```python
msg = {'Hello': 'World'}
nul_term = json.dumps(msg).encode('utf8') + b'\x00'
```
The second line gets flagged with WPS336.
### How it should be
Not flagged? I'm no…
-
```
Run flake8 syncmymoodle
Traceback (most recent call last):
File "/home/runner/.local/lib/python3.10/site-packages/flake8/plugins/finder.py", line 291, in _load_plugin
obj = plugin.entry_…
-
I'd like to propose adding some extra flake8 plugins:
- `flake8-debugger` - Checks for `pdb` / `ipdb` statements
- `flake8-docstrings` - Especially important for #129
- `flake8-commas` - Enforce…
-
I think that the main thing why Flake8 is so popular is its plugin system.
You can find plugins for every possible type of problems and tools.
Right now docs state:
```
Beyond rule-set parity,…
-
Flake8 supports a [second section](https://flake8.pycqa.org/en/latest/user/configuration.html#using-local-plugins) in the setup.cfg that specifies local plugins. I'm not able to get that to work with …
-
Flake8 has a [plugin system](https://flake8.pycqa.org/en/latest/user/using-plugins.html). There are a lot of [useful plugins](https://dev.to/bowmanjd/some-flake8-plugins-for-python-linting-107h).
F…
-
Error when executing pre-commit with python3.12 (odoov16 I don't know if the same thing happens in other versions, I haven't been able to test it yet)
```bash
trim trailing whitespace.............…
-
The Innkeeper plugin has black and flake8 set up as dev dependencies (https://github.com/bcgov/traction/blob/main/plugins/traction_innkeeper/pyproject.toml#L21). In the plugin repo the plugins are set…
-
Currently the GitHub actions template https://github.com/galaxyproject/tools-iuc/blob/master/.github/workflows/pr.yaml uses:
```
- name: Install flake8
run: pip install flake8 flake8-im…