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

Add support for external codes #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Avasam
Copy link

@Avasam Avasam commented Nov 8, 2023

Closes #22 . Allows interoperability with tools like Vulture and Ruff.

Naming based on https://docs.astral.sh/ruff/settings/#external

As part of my changes I've made set manipulations in the violations method more concise and avoid unneeded pure-python iterations.

I can't run tests that expect errors locally because the temp test folder is always added to the output, which differs from the expected strings.

@Avasam
Copy link
Author

Avasam commented Jan 11, 2024

@plinss could I get a review on this? It would be quite useful for better interoperability between Ruff and Flake8-pyi + Flake8-noqa in the typeshed repository.

@SinTh0r4s
Copy link

I'd really love this option as I currently have to choose between deadcode and this addon. Is there a reason why it is stale?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there a way to ignore NQA errors?
3 participants