Skip to content

Add support for external codes - #30

Open
Avasam wants to merge 1 commit into
plinss:mainfrom
Avasam:external-codes
Open

Avasam wants to merge 1 commit into
plinss:mainfrom
Avasam:external-codes

Conversation

@Avasam

@Avasam Avasam commented Nov 8, 2023

Copy link
Copy Markdown

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

Avasam commented Jan 11, 2024

Copy link
Copy Markdown
Author

@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
Copy Markdown

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