Skip to content

Issues: astral-sh/ruff

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

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

Rule to force var = <default> if value is None else value instead of var = value or <default> for value: int | None = None needs-decision Awaiting a decision from a maintainer rule Implementing or modifying a lint rule type-inference Requires more advanced type inference.
#16107 opened Feb 11, 2025 by adriangb
Deny f-string needs-decision Awaiting a decision from a maintainer rule Implementing or modifying a lint rule type-inference Requires more advanced type inference.
#16103 opened Feb 11, 2025 by danmur97
Refer to rules in settings documentation documentation Improvements or additions to documentation
#16095 opened Feb 11, 2025 by DaniBodor
[red-knot] Warn about too old python-version red-knot Multi-file analysis & type inference
#16094 opened Feb 11, 2025 by MichaReiser
[red-knot] Disjointness of complements red-knot Multi-file analysis & type inference
#16085 opened Feb 10, 2025 by sharkdp
Unify OperatorPrecedence enums help wanted Contributions especially welcome internal An internal refactor or improvement
#16071 opened Feb 10, 2025 by MichaReiser
1 of 2 tasks
PLC2801 fix ignores the expression’s syntactic context bug Something isn't working fixes Related to suggested fixes for violations
#16053 opened Feb 9, 2025 by dscorbett
Add --selector option for ruff rule needs-decision Awaiting a decision from a maintainer
#16030 opened Feb 8, 2025 by InSyncWithFoo
Red Knot's diagnostic range is off when the line is indented with tabs bug Something isn't working diagnostics Related to reporting of diagnostics. red-knot Multi-file analysis & type inference
#15983 opened Feb 6, 2025 by InSyncWithFoo
[red-knot] consider fixing spans related to relative imports bug Something isn't working diagnostics Related to reporting of diagnostics. red-knot Multi-file analysis & type inference
#15977 opened Feb 5, 2025 by BurntSushi
ANN201 doesn't handle pytest.raises context manager bug Something isn't working
#15975 opened Feb 5, 2025 by jogo-openai
[red-knot] Detect unreachable attributes assignments red-knot Multi-file analysis & type inference
#15967 opened Feb 5, 2025 by sharkdp
[red-knot] Descriptor protocol red-knot Multi-file analysis & type inference
#15966 opened Feb 5, 2025 by sharkdp
[red-knot] Support implicit class attributes (only defined in a @classmethod) red-knot Multi-file analysis & type inference
#15965 opened Feb 5, 2025 by sharkdp
[red-knot] Diagnostic for conflicting declared attribute types help wanted Contributions especially welcome red-knot Multi-file analysis & type inference
#15964 opened Feb 5, 2025 by sharkdp
[red-knot] Attribute assignments in @staticmethods should not influence instance attributes bug Something isn't working red-knot Multi-file analysis & type inference
#15961 opened Feb 5, 2025 by sharkdp
[red-knot] make it easier to avoid accidental cross-module direct AST usage red-knot Multi-file analysis & type inference
#15949 opened Feb 4, 2025 by carljm
[red-knot] add Type::SubclassOf support to Type::call and Type::call_unbound help wanted Contributions especially welcome red-knot Multi-file analysis & type inference
#15948 opened Feb 4, 2025 by carljm
UP035 autofix breaks code when a typing-module alias is used in a PEP-604 union in combination with a string bug Something isn't working fixes Related to suggested fixes for violations
#15937 opened Feb 4, 2025 by PhilipVinc
[formatter]: Black 2025 style guide differences formatter Related to the formatter style How should formatted code look
#15927 opened Feb 4, 2025 by MichaReiser
open-alias (UP020) has unexpected auto-fix behaviour bug Something isn't working fixes Related to suggested fixes for violations
#15915 opened Feb 3, 2025 by RasmusNygren
Should Ruff have an opinion on math.inf vs float("inf")? needs-decision Awaiting a decision from a maintainer rule Implementing or modifying a lint rule
#15908 opened Feb 3, 2025 by RubenVanEldik
[red-knot] Highlight call-arguments range for reveal_type, static_assert, … diagnostics Related to reporting of diagnostics. red-knot Multi-file analysis & type inference
#15907 opened Feb 3, 2025 by sharkdp
ProTip! Add no:assignee to see everything that’s not assigned.