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
ruff.toml extends the selection of errors in extend-select, but some of those are part of the Ruff preview. I'm unsure if this is set up so that when the errors leave the preview they are enabled, or if the template should be modified so that Ruff is set to preview by default.
Rule F401 is commented in extend-select so that the try: import typing used by libraries doesn't get removed automatically by Ruff when running pre-commit. However, I believe both library makers and other users would benefit from having rule F401 uncommented. Library developers can add the comment # noqa: F401 to their import typing line so that it doesn't automatically get removed by Ruff.
The text was updated successfully, but these errors were encountered:
ruff.toml
extends the selection of errors inextend-select
, but some of those are part of the Ruff preview. I'm unsure if this is set up so that when the errors leave the preview they are enabled, or if the template should be modified so that Ruff is set to preview by default.Rule
F401
is commented inextend-select
so that thetry: import typing
used by libraries doesn't get removed automatically by Ruff when runningpre-commit
. However, I believe both library makers and other users would benefit from having ruleF401
uncommented. Library developers can add the comment# noqa: F401
to theirimport typing
line so that it doesn't automatically get removed by Ruff.The text was updated successfully, but these errors were encountered: