You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your bug may already be reported!
Please search on the issue tracker before creating one.
If you found an issue, write a comment or upvote it with a thumbs-up 👍🏻.
Expected behavior
Comment should be ignored since the value after it IS in the list.
Current behavior
./manage.py
0:1 NIP322 File setup.cfg has missing values in the 'ignore' key. Include those values:
[flake8]
ignore = (...),W503
Steps to reproduce
In your toml file add a section like in the wemake styleguide:
For an arbitrary value from the middle add a comment above it in the respective section of the respective file:
# Disable some pydocstyle checks:
ignore =
D100,
D104,
D106,
D401,
X100,
# It's more obvious if a line starts from an operator, than it ends with it.
W503,
# W504,
See the error.
Possible Solution
As a workaround it's enough to move the comment below the value (W503 in example) and the error is gone.
Context
Just tried to have a value commented above, which is more typical.
Nice to mention, that it worked in a previous version of wemake-django-template, but there a lot of tools are tangled.
Your environment
nitpick version used: 0.32.0
Python version: 3.9.10
Operating System and version: python:3.9.10-slim-buster
Link to your project: N/A
Run the following commands and paste the output:
which python3; python3 -V; pip freeze; cat $(which flake8)
Your bug may already be reported!
Please search on the issue tracker before creating one.
If you found an issue, write a comment or upvote it with a thumbs-up 👍🏻.
Expected behavior
Comment should be ignored since the value after it IS in the list.
Current behavior
Steps to reproduce
Possible Solution
As a workaround it's enough to move the comment below the value (W503 in example) and the error is gone.
Context
Just tried to have a value commented above, which is more typical.
Nice to mention, that it worked in a previous version of wemake-django-template, but there a lot of tools are tangled.
Your environment
nitpick
version used: 0.32.0Python version: 3.9.10
Operating System and version: python:3.9.10-slim-buster
Link to your project: N/A
Run the following commands and paste the output:
cat $(which flake8)
:For more information, see the CONTRIBUTING guide.
The text was updated successfully, but these errors were encountered: