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
(.venv) ilya.vlasov@AM-UNIT-0094 wps_bug % flake8 . --exclude .venv
./main.py:1:1: D100 Missing docstring in public module
./main.py:1:1: D103 Missing docstring in public function
./main.py:2:17: WPS417 Found non-unique item in hash: 1
./main.py:2:17: WPS417 Found non-unique item in hash: 2
./main.py:10:5: WPS421 Found wrong function call: print
./main.py:12:16: WPS417 Found non-unique item in hash: 1
./main.py:12:16: WPS417 Found non-unique item in hash: 2
./main.py:13:5: WPS421 Found wrong function call: print
What's wrong
I have this minimal reproducible example which has several WPS417 violations
but they shouldn't be there.
flake8's output:
How it should be
I expect this code to have no WPS417 violations
Flake8 version and plugins
pip information
pip 21.2.4 from /Users/ilya.vlasov/Documents/wps_bug/.venv/lib/python3.9/site-packages/pip (python 3.9)
astor==0.8.1
attrs==23.1.0
bandit==1.7.5
darglint==1.8.1
docutils==0.20.1
eradicate==2.3.0
flake8==6.1.0
flake8-bandit==4.1.1
flake8-broken-line==1.0.0
flake8-bugbear==23.7.10
flake8-commas==2.1.0
flake8-comprehensions==3.14.0
flake8-debugger==4.1.2
flake8-docstrings==1.7.0
flake8-eradicate==1.5.0
flake8-isort==6.0.0
flake8-quotes==3.3.2
flake8-rst-docstrings==0.3.0
flake8-string-format==0.3.0
gitdb==4.0.10
GitPython==3.1.32
isort==5.12.0
markdown-it-py==3.0.0
mccabe==0.7.0
mdurl==0.1.2
pbr==5.11.1
pep8-naming==0.13.3
pycodestyle==2.11.0
pydocstyle==6.3.0
pyflakes==3.1.0
Pygments==2.16.1
PyYAML==6.0.1
restructuredtext-lint==1.4.0
rich==13.5.2
smmap==5.0.0
snowballstemmer==2.2.0
stevedore==5.1.0
typing_extensions==4.7.1
wemake-python-styleguide==0.18.0
OS information
ProductName: macOS
ProductVersion: 13.4.1
ProductVersionExtra: (c)
BuildVersion: 22F770820d
The text was updated successfully, but these errors were encountered: