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
but it would be nice to be able to ditch pylint in favor of ruff. if flake8-tidy-imports.banned-api supported setting rules per module that would render the pylint plugin obsolete. something like this:
[tool.ruff.flake8-tidy-imports.banned-api]
"foo.bar".msg = "this import is banned globally"
[tool.ruff.flake8-tidy-imports.banned-api.per-file-rules."bar/**/*.py"]
"foo.bar".msg = "this import is banned in the `bar` module"
The text was updated successfully, but these errors were encountered:
i wrote a pylint plugin to enforce certain rules about which modules can import each other within my project: https://github.com/detachhead/pylint-module-boundaries
but it would be nice to be able to ditch pylint in favor of ruff. if
flake8-tidy-imports.banned-api
supported setting rules per module that would render the pylint plugin obsolete. something like this:The text was updated successfully, but these errors were encountered: