-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Label
Projects
Milestones
Assignee
Sort
Issues list
[red-knot] Multi-file analysis & type inference
CallDunderResult::return_type
should return outcome.return_type
for PossiblyUndefined
variant
red-knot
#16123
opened Feb 12, 2025 by
MichaReiser
Rule to force Awaiting a decision from a maintainer
rule
Implementing or modifying a lint rule
type-inference
Requires more advanced type inference.
var = <default> if value is None else value
instead of var = value or <default>
for value: int | None = None
needs-decision
#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 Contributions especially welcome
internal
An internal refactor or improvement
OperatorPrecedence
enums
help wanted
#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
B023 rule incorrectly flags loop variables in cases where closures intentionally and correctly capture loop variables
needs-info
More information is needed from the issue author
#16046
opened Feb 8, 2025 by
gweidart
Add Awaiting a decision from a maintainer
--selector
option for ruff rule
needs-decision
#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 Multi-file analysis & type inference
@classmethod
)
red-knot
#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 Something isn't working
red-knot
Multi-file analysis & type inference
@staticmethod
s should not influence instance attributes
bug
#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 Something isn't working
fixes
Related to suggested fixes for violations
typing
-module alias is used in a PEP-604 union in combination with a string
bug
#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 Related to reporting of diagnostics.
red-knot
Multi-file analysis & type inference
reveal_type
, static_assert
, …
diagnostics
#15907
opened Feb 3, 2025 by
sharkdp
ProTip!
Add no:assignee to see everything that’s not assigned.