tidypy
tidypy copied to clipboard
# noqa: at file scope
pylint has an option to disable specific checks for an entire file py if there's a # pylint: disable
at the top of a file.
It would be handy to extend tidypy's noqa syntax to work this way too.
I'll have a go at setting this up unless there's an objection.
If you're willing to take the time, then by all means... :)
I didn't take the noqa implementation that far originally because you can specify exclusions in your pyproject.toml, so I thought it'd be more consistent to do "entire file" exclusions in one place, rather than having some Python files with a noqa comment, and then other Python (or any non-Python) files getting excluded by a configured regex.