Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type ignore comments is a false positive. #15

Closed
proofit404 opened this issue Oct 9, 2019 · 2 comments · Fixed by #27 or #33
Closed

Type ignore comments is a false positive. #15

proofit404 opened this issue Oct 9, 2019 · 2 comments · Fixed by #27 or #33

Comments

@proofit404
Copy link

Write # type: ignore at the beginning of the file will be considered by this plugin as dead code.

Initially reported to wemake-services/flake8-eradicate#68

@proofit404
Copy link
Author

@sobolevn Thanks for fixing it!

# isort: skip did the same as well unfortunately.

@sobolevn
Copy link
Member

sobolevn commented Sep 4, 2020

@proofit404 can you please add isort to the whitelist?

@sobolevn sobolevn reopened this Sep 4, 2020
sobolevn pushed a commit that referenced this issue Apr 1, 2022
* add isort action comments to whitelist

fixes #15 (comment)

* add tests for isort whitelist addition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants