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
OK, but I have the same Python version both locally and in CI, and they report different line numbers, with is something else. Well, I guess WPS has nothing to do with that anyway, so I'll keep it closed 🙂 Thanks for your help!
Bug report
What's wrong
Not sure what's happening here.
Locally, with the same Python version (3.8.6), when I run flakehell with wemake-python-styleguide plugin, it passes.
In a GitHub workflow, it fails, see https://github.com/pawamoy/mkdocstrings/runs/1255872628?check_suite_focus=true.
Now the violation reported should be ignored, look at https://github.com/pawamoy/mkdocstrings/blob/master/src/mkdocstrings/loggers.py#L77. But in CI, the violation is detected on the function definition line, not on the decorator one. It forces me to write the noqa comment on these two lines to pass both locally and in CI.
How it should be
I would expect to get the same line numbers on violations given the same Python version 😕
Do you have any idea what is happening here 😅 ?
System information
flake8 information
Contents of
flake8 --bug-report
:pip information
Contents of
pip freeze
:The text was updated successfully, but these errors were encountered: