-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Insights: astral-sh/ruff
Overview
Could not load contribution data
Please try again later
1 Release published by 1 person
-
0.11.12
published
May 29, 2025
66 Pull requests merged by 23 people
-
[ty] Only consider a type
T
a subtype of a protocolP
if all ofP
's members are fully bound onT
#18466 merged
Jun 4, 2025 -
[ty] Exclude members starting with
_abc_
from a protocol interface#18467 merged
Jun 4, 2025 -
[ty] Add subdiagnostic suggestion to
unresolved-reference
diagnostic when variable exists onself
#18444 merged
Jun 4, 2025 -
[ty] IDE: only provide declarations and bindings as completions
#18456 merged
Jun 4, 2025 -
[ty] ty_ide: Hotfix for
expression_scope_id
panics#18455 merged
Jun 4, 2025 -
[ty] Improve docs for Class{Literal,Type}::instance_member
#18454 merged
Jun 4, 2025 -
[ty] Add meta-type tests for legacy TypeVars
#18453 merged
Jun 4, 2025 -
update to salsa that doesn't panic silently on cycles
#18450 merged
Jun 4, 2025 -
[ty] Add tests for empty list/tuple unpacking
#18451 merged
Jun 4, 2025 -
[ty] Argument type expansion for overload call evaluation
#18382 merged
Jun 4, 2025 -
[ty] Minor cleanup for
site-packages
discovery logic#18446 merged
Jun 3, 2025 -
[ty] Add generic inference for dataclasses
#18443 merged
Jun 3, 2025 -
[ty] dataclasses: Allow using dataclasses.dataclass as a function.
#18440 merged
Jun 3, 2025 -
[ty] Create separate
FunctionLiteral
andFunctionType
types#18360 merged
Jun 3, 2025 -
[ty] Infer
list[T]
when unpacking non-tuple type#18438 merged
Jun 3, 2025 -
[ty] Meta-type of type variables should be type[..]
#18439 merged
Jun 3, 2025 -
[
pyupgrade
] Make fix unsafe if it deletes comments (UP050
)#18390 merged
Jun 3, 2025 -
[
pyupgrade
] Make fix unsafe if it deletes comments (UP004
)#18393 merged
Jun 3, 2025 -
[ty] Support type annotation for legacy typing aliases for generic classes
#18404 merged
Jun 3, 2025 -
Use ty's completions in playground
#18425 merged
Jun 3, 2025 -
Update editor setup docs about Neovim and Vim
#18324 merged
Jun 3, 2025 -
Update NPM Development dependencies
#18423 merged
Jun 3, 2025 -
Infer
list[T]
for starred target in unpacking#18401 merged
Jun 3, 2025 -
[
refurb
] MarkFURB180
fix unsafe when class has bases#18149 merged
Jun 3, 2025 -
[
fastapi
] Avoid false positive for class dependencies (FAST003
)#18271 merged
Jun 2, 2025 -
[ty] Treat lambda functions as instances of types.FunctionType
#18431 merged
Jun 2, 2025 -
[ty] Fix false positives for legacy
ParamSpec
s insideCallable
type expressions#18426 merged
Jun 2, 2025 -
Update taiki-e/install-action action to v2.52.4
#18420 merged
Jun 2, 2025 -
Update docker/build-push-action action to v6.18.0
#18422 merged
Jun 2, 2025 -
[ty] Fix server hang after shutdown request
#18414 merged
Jun 2, 2025 -
Update Rust crate libcst to v1.8.0
#18424 merged
Jun 2, 2025 -
Update Rust crate clap to v4.5.39
#18419 merged
Jun 2, 2025 -
Update cargo-bins/cargo-binstall action to v1.12.6
#18416 merged
Jun 2, 2025 -
Update dependency mdformat-mkdocs to v4.3.0
#18421 merged
Jun 2, 2025 -
Update pre-commit dependencies
#18418 merged
Jun 2, 2025 -
Update dependency ruff to v0.11.12
#18417 merged
Jun 2, 2025 -
[ty] Promote projects to good that now no longer hang
#18370 merged
Jun 1, 2025 -
Sync vendored typeshed stubs
#18407 merged
Jun 1, 2025 -
[ty] Fix multithreading related hangs and panics
#18238 merged
Jun 1, 2025 -
Support relative
--ty-path
in ty-benchmark#18385 merged
May 30, 2025 -
[ty] Update docs for Python version inference
#18397 merged
May 30, 2025 -
[ty] Infer the Python version from the environment if feasible
#18057 merged
May 30, 2025 -
Implement template strings
#17851 merged
May 30, 2025 -
[ty] support callability of bound/constrained typevars
#18389 merged
May 30, 2025 -
[ty] Minor tweaks to "list all members" docs and tests
#18388 merged
May 30, 2025 -
[ty] Fix broken property tests for disjointness
#18384 merged
May 30, 2025 -
[ty] List available members for a given type
#18251 merged
May 30, 2025 -
[
airflow
] Add unsafe fix for module moved cases (AIR312
)#18363 merged
May 30, 2025 -
Add a
SourceFile
toOldDiagnostic
#18356 merged
May 30, 2025 -
Update salsa past generational id change
#18362 merged
May 30, 2025 -
[
airflow
] Add unsafe fix for module moved cases (AIR311
)#18366 merged
May 30, 2025 -
[
airflow
] Add unsafe fix for module moved cases (AIR301
)#18367 merged
May 30, 2025 -
[ty] Improve tests for
site-packages
discovery#18374 merged
May 30, 2025 -
[ty] _typeshed.Self is not a special form
#18377 merged
May 30, 2025 -
[ty] Callable types are disjoint from non-callable
@final
nominal instance types#18368 merged
May 29, 2025 -
[ty] Add diagnosis for function with no return statement but with return type annotation
#18359 merged
May 29, 2025 -
[
airflow
] Add unsafe fix module moved cases (AIR302
)#18093 merged
May 29, 2025 -
Rename
ruff_linter::Diagnostic
toOldDiagnostic
#18355 merged
May 29, 2025 -
[
refurb
] Add coverage ofset
andfrozenset
calls (FURB171
)#18035 merged
May 29, 2025 -
Add
offset
method toruff_python_trivia::Cursor
#18371 merged
May 29, 2025 -
[ty] Improve completions by leveraging scopes
#18281 merged
May 29, 2025 -
[ty] Split
Type::KnownInstance
into two type variants#18350 merged
May 29, 2025 -
Bump 0.11.12
#18369 merged
May 29, 2025
23 Pull requests opened by 15 people
-
Unify `OldDiagnostic` and `Message`
#18391 opened
May 30, 2025 -
[ty] Refactor if narrowing
#18392 opened
May 30, 2025 -
[`ruff`] Lint for implicit concatenation of t-strings and f-strings
#18396 opened
May 30, 2025 -
[ty] Generic class callable return ty param infererence
#18398 opened
May 31, 2025 -
[`pylint`] Ignore __init__.py files in (PLC0414)
#18400 opened
May 31, 2025 -
[ty] Infer list type from list expression
#18402 opened
May 31, 2025 -
Fix false positive in for mutations in return statements (B909)
#18408 opened
Jun 1, 2025 -
[`perflint`] fix missing parentheses for lambda and ternary conditions (PERF401, PERF403)
#18412 opened
Jun 1, 2025 -
[`pylint`] add fix safety section (`PLR1714`)
#18415 opened
Jun 1, 2025 -
Ruff 0.12
#18427 opened
Jun 2, 2025 -
[`flake8-return`] Fix `RET504` autofix generating a syntax error
#18428 opened
Jun 2, 2025 -
[ty] Unify `Type::is_subtype_of()` and `Type::is_assignable_to()`
#18430 opened
Jun 2, 2025 -
[`flake8-return`] Fix false-positive for variables used inside nested functions in `RET504`
#18433 opened
Jun 2, 2025 -
[ty] Fix missing registration of identifiers during semantic index construction
#18441 opened
Jun 3, 2025 -
[ty] Add infrastructure for AST garbage collection
#18445 opened
Jun 3, 2025 -
Remove `Message::to_rule`
#18447 opened
Jun 3, 2025 -
[ty] Surface matched overload diagnostic directly
#18452 opened
Jun 4, 2025 -
[ty] Fix `--python` argument for Windows, and improve error messages for bad `--python` arguments
#18457 opened
Jun 4, 2025 -
[ty] Experiment: Opaque type aliases
#18462 opened
Jun 4, 2025 -
[ty] Support file inclusion/exclusion
#18463 opened
Jun 4, 2025 -
[ty] IDE: add support for `object.<CURSOR>` completions
#18468 opened
Jun 4, 2025 -
Combine lint and syntax error handling
#18471 opened
Jun 4, 2025 -
[`pep8-naming`] Suppress fix for `N804` and `N805` if the recommend name is already used
#18472 opened
Jun 4, 2025
7 Issues closed by 6 people
-
C4 docs incorrectly label known issue
#18346 closed
Jun 3, 2025 -
UP050 fix should be unsafe when it deletes a comment
#18387 closed
Jun 3, 2025 -
More Explicit Documentation of `target-version` behavior
#18381 closed
May 30, 2025 -
Failed to rename cache file when trying to run ruff
#18373 closed
May 29, 2025 -
FURB171 Does not trigger when calling set(...)
#15792 closed
May 29, 2025 -
Disable ruff for block of code
#18364 closed
May 29, 2025 -
Let `--output-format` update previous values
#18345 closed
May 28, 2025
33 Issues opened by 25 people
-
Stacking `# noqa` with other ignore comments causes an E501 (line too long) violation
#18470 opened
Jun 4, 2025 -
[New rule] Octal literal for `chmod` mode bits
#18464 opened
Jun 4, 2025 -
ERA001 false positives on CODE_INDICATORS
#18461 opened
Jun 4, 2025 -
F841: `unused-variable` conflicts with Pydantic's ForwardRef
#18460 opened
Jun 4, 2025 -
N805 fix should be suppressed when another variable is using the recommended name
#18459 opened
Jun 4, 2025 -
How to force multiline imports
#18458 opened
Jun 4, 2025 -
Block fixes on a repo with uncommitted files?
#18449 opened
Jun 3, 2025 -
Preserve blank lines when formatting multi-line lists, function arguments, etc.
#18448 opened
Jun 3, 2025 -
F841 and PLE0117 don’t understand `__class__` bindings
#18442 opened
Jun 3, 2025 -
ruff format adds trailing comma after function call, silently turning return value into tuple
#18437 opened
Jun 3, 2025 -
Add ability to disable multi-line string concatenation with ruff format
#18436 opened
Jun 3, 2025 -
Please add a lint that is the opposite of redundant-open-modes (UP015)
#18435 opened
Jun 2, 2025 -
SIM118 maybe shouldn't fire on `for key in dict.keys()`
#18434 opened
Jun 2, 2025 -
Code Duplication and Unused Code Detection
#18432 opened
Jun 2, 2025 -
Wrong binding for identifier used before definition in class nested in function
#18429 opened
Jun 2, 2025 -
RET504 fix uses the equals sign from a comment
#18411 opened
Jun 1, 2025 -
Require blank line after type-checking block
#18410 opened
Jun 1, 2025 -
[FURB] Path write
#18409 opened
Jun 1, 2025 -
`PLR6201` fix not equivalent when comparing `numpy.dtype` with numpy scalar types
#18406 opened
May 31, 2025 -
Fixes for PERF401 and PERF403 should parenthesize lambdas and ternary expressions
#18405 opened
May 31, 2025 -
B909 false positive when directly returning mutation
#18399 opened
May 31, 2025 -
Revisit character count for expressions in f-strings in `PYI053`
#18395 opened
May 30, 2025 -
Include source in AST integration test snapshots
#18394 opened
May 30, 2025 -
Allow for flake8-bugbear behavior for B008, trigger on any function call even if immutable
#18386 opened
May 30, 2025 -
missing-maxsplit-arg (PLC0207) is wrong when accessing on the last value
#18383 opened
May 30, 2025 -
Rule Request: Enforce naming convention for internal vs. exported symbols
#18380 opened
May 30, 2025 -
Ruleset Suggestion: flake8-dunder-all
#18379 opened
May 30, 2025 -
Ruleset Suggestion: flake8-author
#18378 opened
May 30, 2025 -
Consider combining `Locator` and `SourceFile`
#18376 opened
May 29, 2025 -
UP036 doesn't work for ternary expressions
#18375 opened
May 29, 2025 -
`PYI029` and `@abstractmethod` implementations
#18372 opened
May 29, 2025 -
`flake8-bugbear.extend-immutable-calls` does not work with relative imports in sub-packages
#18358 opened
May 28, 2025
33 Unresolved conversations
Sometimes conversations happen on old items that aren’t yet closed. Here is a list of all the Issues and Pull Requests with unresolved conversations.
-
[`refurb`] add list of base class exceptions for `FURB180`
#18148 commented on
Jun 4, 2025 • 20 new comments -
[ty] type narrowing by attribute/subscript assignments
#18041 commented on
Jun 4, 2025 • 12 new comments -
Added `cls.__dict__.get('__annotations__')` check
#18233 commented on
Jun 4, 2025 • 12 new comments -
[ty] Implement support for respecting return type of __new__
#18125 commented on
May 28, 2025 • 6 new comments -
INCOMPLETE: Correctly handle calls to functions returning `Never` / `NoReturn`
#18333 commented on
Jun 2, 2025 • 1 new comment -
[ty] Fix __setattr__ call check precedence during attribute assignment
#18347 commented on
Jun 3, 2025 • 1 new comment -
[ty] Add partial support for `TypeIs`
#18294 commented on
May 31, 2025 • 0 new comments -
[`flake8-simplify`] fix handlers corner cases (`SIM105`)
#18213 commented on
May 29, 2025 • 0 new comments -
[flake8-pyi] fix of custom typevar for self with string annotations (PYI019)
#18311 commented on
May 29, 2025 • 0 new comments -
[ty] Strict validation of protocol members
#17750 commented on
Jun 4, 2025 • 0 new comments -
[ty] infer function's return type
#17371 commented on
May 29, 2025 • 0 new comments -
Dependency Dashboard
#10578 commented on
Jun 4, 2025 • 0 new comments -
Feature: Extend ruff configuration from external file
#12352 commented on
Jun 4, 2025 • 0 new comments -
Implement Pylint
#970 commented on
Jun 4, 2025 • 0 new comments -
Support for refurb
#1348 commented on
Jun 3, 2025 • 0 new comments -
Implement `flake8-logging`
#7248 commented on
Jun 3, 2025 • 0 new comments -
F401 is not doing the "right" thing with __init__.py
#15858 commented on
May 29, 2025 • 0 new comments -
PEP 585 usages of `list`, `tuple`, `type`, etc. in type aliases are not flagged when `requires-python` includes `< 3.9`.
#10290 commented on
May 30, 2025 • 0 new comments -
Implement pydowngrade
#2501 commented on
May 30, 2025 • 0 new comments -
Implement `flake8-cognitive-complexity`
#2418 commented on
May 30, 2025 • 0 new comments -
unnecessary-literal-set (C405): also warn about `set({})`
#18331 commented on
May 30, 2025 • 0 new comments -
Comprehension / generator, opt-in feature to preserve line breaks
#11753 commented on
May 31, 2025 • 0 new comments -
How to avoid checking for problems in VSCODE interactive
#14820 commented on
May 31, 2025 • 0 new comments -
Airflow 3.0 deprecations
#14626 commented on
Jun 1, 2025 • 0 new comments -
False positive reports for F821 lint rule
#17386 commented on
Jun 1, 2025 • 0 new comments -
Feature: Support isort multi_line_output option
#2600 commented on
Jun 2, 2025 • 0 new comments -
Add exception to E501 for very long internal Sphinx references
#18354 commented on
Jun 2, 2025 • 0 new comments -
Add `torch.nn.functional as F` to flake8-import-conventions aliases
#18310 commented on
Jun 2, 2025 • 0 new comments -
unneccessary ruff check preview warnings while running ruff format without preview
#11054 commented on
Jun 2, 2025 • 0 new comments -
`FAST003` false positive when path parameter is included inside a `BaseModel` dependency
#17226 commented on
Jun 2, 2025 • 0 new comments -
Warn about error being related to a deprecated rule
#18349 commented on
Jun 3, 2025 • 0 new comments -
Implement flake8-walrus
#3464 commented on
Jun 3, 2025 • 0 new comments -
Add an option for COM812 to disable for single-argument functions?
#18258 commented on
Jun 3, 2025 • 0 new comments