-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Insights: astral-sh/ruff
Overview
Could not load contribution data
Please try again later
93 Pull requests merged by 22 people
-
[red-knot] Disambiguate display for intersection types
#16914 merged
Mar 23, 2025 -
Fix typos
#16908 merged
Mar 23, 2025 -
[red-knot] fix ordering of
ClassDef
semantic index building#16915 merged
Mar 23, 2025 -
[
pylint
] Fix typo in documentation of PLC1802#16920 merged
Mar 23, 2025 -
Fixing various spelling errors
#16924 merged
Mar 23, 2025 -
[red-knot] Log sys-prefix origin for easier debugging
#16921 merged
Mar 23, 2025 -
[red-knot] Support calling a
typing.Callable
#16888 merged
Mar 22, 2025 -
[red-knot] Check assignability for two callable types
#16845 merged
Mar 22, 2025 -
[red-knot] Fix disambiguate display for union types
#16907 merged
Mar 22, 2025 -
[red-knot] Add line number to mdtest panic message about language tag mismatch
#16906 merged
Mar 22, 2025 -
[syntax-errors] Duplicate type parameter names
#16858 merged
Mar 21, 2025 -
[syntax-errors] Start detecting compile-time syntax errors
#16106 merged
Mar 21, 2025 -
Update replacement paths for AIR302
#16876 merged
Mar 21, 2025 -
[red-knot] Avoid false-positive diagnostics on
*
import statements#16899 merged
Mar 21, 2025 -
[red-knot] Add failing tests for
*
imports#16873 merged
Mar 21, 2025 -
[red-knot] Break up call binding into two phases
#16546 merged
Mar 21, 2025 -
Bump 0.11.2
#16896 merged
Mar 21, 2025 -
Use the common
OperatorPrecedence
for the parser#16747 merged
Mar 21, 2025 -
[red-knot] Check subtype relation between callable types
#16804 merged
Mar 21, 2025 -
[red-knot] Check whether two callable types are equivalent
#16698 merged
Mar 21, 2025 -
[red-knot] Ban most
Type::Instance
types in type expressions#16872 merged
Mar 20, 2025 -
Special-case value-expression inference of special form subscriptions
#16877 merged
Mar 20, 2025 -
[syntax-errors] Fix star annotation before Python 3.11
#16878 merged
Mar 20, 2025 -
Recognize
SyntaxError:
as an error code for ecosystem checks#16879 merged
Mar 20, 2025 -
[red-knot] add test cases result in false positive errors
#16856 merged
Mar 20, 2025 -
Bump 0.11.1
#16871 merged
Mar 20, 2025 -
Allow discovery of venv in VIRTUAL_ENV env variable
#16853 merged
Mar 20, 2025 -
Split git pathspecs in change determination onto separate lines
#16869 merged
Mar 20, 2025 -
Use the correct base commit for change determination
#16857 merged
Mar 20, 2025 -
Separate
BitXorOr
intoBitXor
andBitOr
precedence#16844 merged
Mar 20, 2025 -
Server: Allow
FixAll
action in presence of version-specific syntax errors#16848 merged
Mar 20, 2025 -
[
refurb
] Fix starred expressions fix (FURB161
)#16550 merged
Mar 19, 2025 -
[
flake8-executable
] Add pytest and uv run to help message forshebang-missing-python
(EXE003
)#16855 merged
Mar 19, 2025 -
Show more precise messages in invalid type expressions
#16850 merged
Mar 19, 2025 -
[
flake8-executables
] Allowuv run
in shebang line forshebang-missing-python
(EXE003
)#16849 merged
Mar 19, 2025 -
Add --exit-non-zero-on-format
#16009 merged
Mar 19, 2025 -
[red-knot] Ban list literals in most contexts in type expressions
#16847 merged
Mar 19, 2025 -
[red-knot] Make' Type::in_type_expression()' exhaustive for Type::KnownInstance
#16836 merged
Mar 19, 2025 -
[red-knot] Minor cleanup to
infer_parameterized_known_instance_type_expression
#16846 merged
Mar 19, 2025 -
[internal] Return
Message
s fromcheck_path
#16837 merged
Mar 19, 2025 -
Use the Depot Ubuntu runners instead of GitHub for release workflows
#16843 merged
Mar 19, 2025 -
Allow dirty files in
cargo-dist
for action pins#16842 merged
Mar 19, 2025 -
[red-knot] Add missing space between error message and lint code in playground
#16840 merged
Mar 19, 2025 -
[playground] Avoid concurrent deployments
#16834 merged
Mar 18, 2025 -
[red-knot] Infer
lambda
return type asUnknown
#16695 merged
Mar 18, 2025 -
[red-knot] Move
name
field on parameter kind#16830 merged
Mar 18, 2025 -
[playground] Use cursor for clickable elements
#16833 merged
Mar 18, 2025 -
[red-knot] Deploy playground on main
#16832 merged
Mar 18, 2025 -
Red Knot Playground
#12681 merged
Mar 18, 2025 -
[syntax-errors] PEP 701 f-strings before Python 3.12
#16543 merged
Mar 18, 2025 -
[red-knot] Refactor
property_tests.rs
intoproperty_tests
module structure#16827 merged
Mar 18, 2025 -
[red-knot] Simplify
IterationError
andContextManagerError
#16820 merged
Mar 18, 2025 -
[red-knot] Improve property test performance by cloning db instead of holding
MutexGuard
#16823 merged
Mar 18, 2025 -
[playground] Upgrade dependencies
#16825 merged
Mar 18, 2025 -
[playground] Extract shared components
#16819 merged
Mar 18, 2025 -
[ruff] Fix
--statistics
reporting for unsafe fixes#16756 merged
Mar 18, 2025 -
[
airflow
] Addchain
,chain_linear
andcross_downstream
forAIR302
#16647 merged
Mar 18, 2025 -
Update Ruff tutorial to avoid non-existent fix in
__init__.py
#16818 merged
Mar 18, 2025 -
[refactor] Convert playground to an NPM workspace
#16806 merged
Mar 17, 2025 -
[ci] Remove MichaReiser as
red_knot_python_semantic
code owner#16817 merged
Mar 17, 2025 -
[red-knot] replace old diagnostic renderer with the new
#16812 merged
Mar 17, 2025 -
github: include
/.github/
in ripgrep searches by default#16814 merged
Mar 17, 2025 -
Update pre-commit dependencies
#16813 merged
Mar 17, 2025 -
Add dcreager as red-knot CODEOWNER
#16807 merged
Mar 17, 2025 -
[
flake8-gettext
] Swapformat-
andprintf-in-get-text-func-call
examples (INT002
,INT003
)#16769 merged
Mar 17, 2025 -
[red-knot] Handle unions of callables better
#16716 merged
Mar 17, 2025 -
[red-knot] Fix fully static check for callable type
#16803 merged
Mar 17, 2025 -
[syntax-errors] Parenthesized context managers before Python 3.9
#16523 merged
Mar 17, 2025 -
[ci]: Disable wheel testing on
ppc64le
#16793 merged
Mar 17, 2025 -
[red-knot] Stabilize
negation_reverses_subtype_order
property test#16801 merged
Mar 17, 2025 -
[ci] Use
git diff
instead ofchanged-files
GH action#16796 merged
Mar 17, 2025 -
[syntax-errors] Improve error message and range for pre-PEP-614 decorator syntax errors
#16581 merged
Mar 17, 2025 -
[
flake8-bandit
] Allow raw strings insuspicious-mark-safe-usage
(S308
) #16702#16770 merged
Mar 17, 2025 -
[
refurb
] Avoid panickingunwrap
inverbose-decimal-constructor
(FURB157
)#16777 merged
Mar 17, 2025 -
[red-knot] Add
--color
CLI option#16758 merged
Mar 17, 2025 -
[internal]: Upgrade salsa
#16794 merged
Mar 17, 2025 -
Pin dependencies
#16791 merged
Mar 17, 2025 -
[internal]: Update indirect dependencies
#16792 merged
Mar 17, 2025 -
[ci]: Fixup codspeed upgrade
#16790 merged
Mar 17, 2025 -
Update Rust crate compact_str to 0.9.0
#16785 merged
Mar 17, 2025 -
Update Rust crate clap to v4.5.32
#16778 merged
Mar 17, 2025 -
Update Rust crate codspeed-criterion-compat to v2.9.1
#16784 merged
Mar 17, 2025 -
Update Rust crate quote to v1.0.40
#16782 merged
Mar 17, 2025 -
Update Rust crate ordermap to v0.5.6
#16781 merged
Mar 17, 2025 -
Update cloudflare/wrangler-action action to v3.14.1
#16783 merged
Mar 17, 2025 -
Update Rust crate env_logger to v0.11.7
#16779 merged
Mar 17, 2025 -
Update Rust crate libc to v0.2.171
#16780 merged
Mar 17, 2025 -
Update Rust crate etcetera to 0.10.0
#16786 merged
Mar 17, 2025 -
Update Rust crate indexmap to v2.8.0
#16787 merged
Mar 17, 2025 -
Instruct Renovate to pin GitHub Actions based on SHA
#16789 merged
Mar 17, 2025 -
[ci]: Remove changed files actions
#16788 merged
Mar 17, 2025
16 Pull requests opened by 12 people
-
[red-knot] detect unreachable attribute assignments
#16852 opened
Mar 19, 2025 -
[red-knot] Introduce `ArbitraryRule` for property tests
#16862 opened
Mar 20, 2025 -
[pep8-naming] Flag variables bound in match patterns (N806/N815/N816)
#16882 opened
Mar 21, 2025 -
[ruff] Detect mutable defaults in dataclass `field` calls (`RUF008`)
#16883 opened
Mar 21, 2025 -
docs: Correct collections-named-tuple example to use PascalCase assignment
#16884 opened
Mar 21, 2025 -
[pylint] Avoid flattening nested min/max when outer call has single argument (PLW3301)
#16885 opened
Mar 21, 2025 -
[red-knot] Fix gradual equivalence for callable types
#16887 opened
Mar 21, 2025 -
[red-knot] Do not emit `invalid-return-type` for abstract functions
#16900 opened
Mar 21, 2025 -
[red-knot] Goto type definition
#16901 opened
Mar 21, 2025 -
Implement flat width limits for comprehensions
#16902 opened
Mar 21, 2025 -
[syntax-errors] Irrefutable case pattern before final case
#16905 opened
Mar 21, 2025 -
[red-knot] fix eager nested scopes handling
#16916 opened
Mar 22, 2025 -
[red-knot] Discover local venv folder in cli
#16917 opened
Mar 22, 2025 -
[red-knot] Add initial support for `*` imports
#16923 opened
Mar 22, 2025 -
Fixing more spelling errors
#16926 opened
Mar 23, 2025
41 Issues closed by 17 people
-
PLC1802 documentation
#16797 closed
Mar 23, 2025 -
[red-knot] Disambiguate display for intersection types
#16912 closed
Mar 23, 2025 -
Will be there any refactoring features in ruff lsp ?
#16897 closed
Mar 23, 2025 -
Add support for configuring indent-width from user settings in VSCode
#15741 closed
Mar 23, 2025 -
Build fails
#16910 closed
Mar 23, 2025 -
Question about fonts?
#16918 closed
Mar 22, 2025 -
[red-knot] Disambiguate display for union types
#16893 closed
Mar 22, 2025 -
[red-knot] Add line number to mdtest panic message about language tag mismatch
#16898 closed
Mar 22, 2025 -
Ruff fails to detect duplicate type parameter names
#11119 closed
Mar 21, 2025 -
No syntax error for `[(a := ...) for a in b]`
#14395 closed
Mar 21, 2025 -
[red-knot] match arguments to parameters before inferring argument types
#15460 closed
Mar 21, 2025 -
Unify `OperatorPrecedence` enums
#16071 closed
Mar 21, 2025 -
Cannot use star annotation false hit
#16891 closed
Mar 21, 2025 -
[red-knot] Recursive type aliases cause a panic
#16889 closed
Mar 21, 2025 -
[red-knot] Ban most `Type::Instance` types in type expressions
#16851 closed
Mar 20, 2025 -
Incorrect SyntaxError for `*` in strings in annotations (e.g. `Annotated`, `Literal`)
#16874 closed
Mar 20, 2025 -
Add rule to flag when a documented argument does not exist
#16875 closed
Mar 20, 2025 -
Organize imports not working due to version-specific syntax errors
#16841 closed
Mar 20, 2025 -
EXE003 and uv run?
#13021 closed
Mar 19, 2025 -
Add an `--exit-non-zero-on-fix` equivalent to the formatter.
#8191 closed
Mar 19, 2025 -
[red-knot] Make `Type::in_type_expression()` exhaustive
#15048 closed
Mar 19, 2025 -
ruff check error output with ascii only characters
#16831 closed
Mar 19, 2025 -
Whitelist rule patterns to avoid "Invalid rule code provided to `# noqa`"
#16835 closed
Mar 18, 2025 -
Emit diagnostics for new syntax as per the target Python version
#6591 closed
Mar 18, 2025 -
[red-knot] LSP test framework
#16737 closed
Mar 18, 2025 -
`ruff` LSP code auto-completion
#16413 closed
Mar 18, 2025 -
Can i set a default config file path?
#16621 closed
Mar 18, 2025 -
Organize Imports code action silently does nothing when `# noqa` is present
#16774 closed
Mar 18, 2025 -
`# noqa` doesn't stop import sorting (I001: `unsorted-imports`)
#13871 closed
Mar 18, 2025 -
`ruff check --statistics` shows unsafe fixes as fixable
#16751 closed
Mar 18, 2025 -
Tutorial uses `__init__.py` fix that is no longer active by default
#16805 closed
Mar 18, 2025 -
TC003 + pydantic.BaseModel
#16821 closed
Mar 17, 2025 -
[red-knot] Replace the old diagnostic renderer with the new one.
#16808 closed
Mar 17, 2025 -
SWAP flake8-gettext (INT)
#16735 closed
Mar 17, 2025 -
ruff is using a compromised tj-actions/changed-files GitHub actio
#16768 closed
Mar 17, 2025 -
[red-knot] Raise "invalid type expression" error for literal types
#16532 closed
Mar 17, 2025 -
[S308] `mark_safe` for HTML constants
#16702 closed
Mar 17, 2025 -
FURB157 fix panics on `Decimal(float("\x2dnan"))`
#16771 closed
Mar 17, 2025 -
E262 separation of "too many" "not enough"
#16766 closed
Mar 17, 2025 -
FA102 errors eventhough requires-python in pyproject.toml is ">=3.12"
#10299 closed
Mar 17, 2025
38 Issues opened by 33 people
-
RET503 reported for method returning None only
#16925 opened
Mar 23, 2025 -
PyUpgrade rule UP007 should be disabled on older Pythons
#16922 opened
Mar 22, 2025 -
[red-knot] Provide context on why an assignment failed
#16919 opened
Mar 22, 2025 -
Daily property test run failed on Sat Mar 22 2025
#16913 opened
Mar 22, 2025 -
[red-knot] Confusing Intersection revealed type
#16911 opened
Mar 22, 2025 -
Catch string format requires a mapping
#16909 opened
Mar 22, 2025 -
SIM110: Recommend proper usage of `all` and `any`
#16904 opened
Mar 21, 2025 -
[Panic] ruff crashes when executed from a deleted folder on mac
#16903 opened
Mar 21, 2025 -
[red-knot] Protocol method return type is always inferred as `None`
#16895 opened
Mar 21, 2025 -
[red-knot] Support narrowing on attribute and subscript expressions
#16894 opened
Mar 21, 2025 -
Disable private-member-access in the tests folder
#16892 opened
Mar 21, 2025 -
[red-knot] Playknot crashes when Red-knot panics
#16890 opened
Mar 21, 2025 -
Types assigned to a type alias should be moved under type checking block
#16886 opened
Mar 21, 2025 -
[red-knot] Explore alternate implementation for callable type equivalence
#16881 opened
Mar 21, 2025 -
[red-knot] enforce Liskov on subclasses
#16880 opened
Mar 20, 2025 -
[red-knot] enforce type of `ClassVar` in subclasses
#16870 opened
Mar 20, 2025 -
non-unique-enums (PIE796): false positive
#16868 opened
Mar 20, 2025 -
Stabilize `PLR0917`
#16867 opened
Mar 20, 2025 -
Consider using `bitflags` or otherwise unify booleans on `LinterResult` and `Parsed`
#16866 opened
Mar 20, 2025 -
B909 misses dict.keys() deletion
#16865 opened
Mar 20, 2025 -
SQLAlchemy lint rules
#16864 opened
Mar 20, 2025 -
How to check 'missing type annotation for function arguments' only for public functions?
#16863 opened
Mar 20, 2025 -
Check for missing arguments
#16860 opened
Mar 19, 2025 -
RUF009 misses function call in dataclass default
#16859 opened
Mar 19, 2025 -
SWAP and MISSING flake8-annotations (ANN)
#16854 opened
Mar 19, 2025 -
F821 (E0601) False negative
#16839 opened
Mar 19, 2025 -
[red-knot] type context (bidirectional checking)
#16838 opened
Mar 19, 2025 -
Server: Support format on type capability
#16829 opened
Mar 18, 2025 -
[red-knot] Change range for `unresolved-attribute` error to attribute
#16828 opened
Mar 18, 2025 -
[red-knot] Show type on hover
#16826 opened
Mar 18, 2025 -
`signature-in-docstring` (`D402`) - false positive on usage example
#16824 opened
Mar 18, 2025 -
E402 ignores dunder variables between imports
#16815 opened
Mar 17, 2025 -
inconsistent behavior regarding asyncio-dangling-task (RUF006)
#16811 opened
Mar 17, 2025 -
Rule request: __format__ without __str__
#16810 opened
Mar 17, 2025 -
[red-knot] Refactor Red Knot to use the new `Diagnostic` type. Delete "old" diagnostic code.
#16809 opened
Mar 17, 2025 -
[Infinite loop] I002 and UP035
#16802 opened
Mar 17, 2025 -
Expansion to PLC1802 for `len(iterable) == 0` and `>0`
#16798 opened
Mar 17, 2025 -
FAST003 does not handle aliased path parameters when defined in another file
#16795 opened
Mar 17, 2025
46 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.
-
[flake8-bandit] Update insecure hash functions (S324)
#16580 commented on
Mar 17, 2025 • 1 new comment -
[red-knot] Non-deferred self-references in annotations
#16341 commented on
Mar 20, 2025 • 0 new comments -
How to avoid checking for problems in VSCODE interactive
#14820 commented on
Mar 21, 2025 • 0 new comments -
Pyspark Linting Rules
#7272 commented on
Mar 21, 2025 • 0 new comments -
Consider removing PD901
#7710 commented on
Mar 21, 2025 • 0 new comments -
[red-knot] Discovery of local venv
#16744 commented on
Mar 21, 2025 • 0 new comments -
[red-knot] special-case returning NotImplemented
#16661 commented on
Mar 21, 2025 • 0 new comments -
☂️ Syntax errors raised by the compiler
#11934 commented on
Mar 21, 2025 • 0 new comments -
Rewrite `os.environ.get` as `os.getenv`
#3608 commented on
Mar 22, 2025 • 0 new comments -
[red-knot] support type aliases (PEP 695, typing.TypeAlias, and bare/implicit)
#15384 commented on
Mar 22, 2025 • 0 new comments -
[red-knot] Support callable types and `typing.Callable`
#15382 commented on
Mar 22, 2025 • 0 new comments -
Dependency Dashboard
#10578 commented on
Mar 23, 2025 • 0 new comments -
Request: Autofix for `redundant-numeric-union`/`PYI041` & `redundant-literal-union`/`PYI051`
#14185 commented on
Mar 23, 2025 • 0 new comments -
`subclass-builtin` (`FURB189`) - document exactly why `UserDict`, `UserList` etc are preferred over `dict` and `list`
#14328 commented on
Mar 23, 2025 • 0 new comments -
[`pydoclint`] Add `docstring-missing-parameter` and `docstring-extraneous-parameter` (`DOC101`, `DOC102`)
#13280 commented on
Mar 18, 2025 • 0 new comments -
[`flake8-type-checking`] Allows TC001-004 to quote more expressions
#14787 commented on
Mar 18, 2025 • 0 new comments -
[`refurb`] Add coverage for using set(...) in `single-item-membership-test` (`FURB171`)
#15793 commented on
Mar 17, 2025 • 0 new comments -
[`flake8-comprehensions`] Report and fix even when there are multiple iterables (`C417`)
#15876 commented on
Mar 17, 2025 • 0 new comments -
Create `TypeVarInstance` type for legacy typevars
#16538 commented on
Mar 21, 2025 • 0 new comments -
[`isort`] Only infer subpackages of namespace packages as first-party
#16565 commented on
Mar 16, 2025 • 0 new comments -
[red-knot] Factor out shared unpacking logic
#16595 commented on
Mar 18, 2025 • 0 new comments -
[perflint] implement quick-fix for manual-dict-comprehension (PERF403)
#16719 commented on
Mar 17, 2025 • 0 new comments -
[`ruff`] implement `IfKeyNotInDictAssign` rule (RUF060)
#16775 commented on
Mar 19, 2025 • 0 new comments -
Third-party namespace packages can be incorrectly considered first-party packages by `isort` rules
#12984 commented on
Mar 17, 2025 • 0 new comments -
[red-knot] Code completion
#16734 commented on
Mar 17, 2025 • 0 new comments -
Support heading setting for isort
#6371 commented on
Mar 17, 2025 • 0 new comments -
[meta][feature] more of `isort`
#6190 commented on
Mar 17, 2025 • 0 new comments -
[red-knot] tracking issue for diagnostic overhaul
#16504 commented on
Mar 17, 2025 • 0 new comments -
Rule request: G: Require {} in log format
#16715 commented on
Mar 17, 2025 • 0 new comments -
Consider adding a fix for `pytest-raises-ambiguous-pattern` (`RUF043`)
#16690 commented on
Mar 18, 2025 • 0 new comments -
Error trying to open the project in devcontainer in vscode
#16594 commented on
Mar 18, 2025 • 0 new comments -
[red-knot] Infer `lambda` expression based on the surrounding context
#16696 commented on
Mar 18, 2025 • 0 new comments -
Cannot find ruff when used in a venv with --system-site-packages
#15630 commented on
Mar 18, 2025 • 0 new comments -
Add test infrastructure for the language server
#16430 commented on
Mar 18, 2025 • 0 new comments -
Attempting to use `ruff check` with includes, but without specifying a directory, picks up nested projects
#9019 commented on
Mar 18, 2025 • 0 new comments -
False-positive TCH002 for runtime-required type annotations
#14140 commented on
Mar 18, 2025 • 0 new comments -
`flake8-boolean-trap.extend-allowed-calls` don't resolve class types
#11264 commented on
Mar 19, 2025 • 0 new comments -
Multi-file analysis
#7447 commented on
Mar 19, 2025 • 0 new comments -
Server setting to enable code actions / formatting on save
#11756 commented on
Mar 19, 2025 • 0 new comments -
[red-knot] Improve memory usage
#15621 commented on
Mar 19, 2025 • 0 new comments -
Feature request: numpydoc rules
#8425 commented on
Mar 19, 2025 • 0 new comments -
pyproject.toml in excluded subdir is not excluded when passed explicitly (=pre-commit)
#9585 commented on
Mar 19, 2025 • 0 new comments -
Add `--selector` option for `ruff rule`
#16030 commented on
Mar 20, 2025 • 0 new comments -
Implement ANN402
#4460 commented on
Mar 20, 2025 • 0 new comments -
`D102` for "inherited" docstrings.
#2413 commented on
Mar 20, 2025 • 0 new comments -
[red-knot] Go to definition
#16733 commented on
Mar 20, 2025 • 0 new comments