-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Insights: astral-sh/ruff
Overview
Could not load contribution data
Please try again later
1 Release published by 1 person
-
0.8.0
published
Nov 22, 2024
66 Pull requests merged by 21 people
-
Turn the
fuzz-parser
script into a properly packaged Python project#14606 merged
Nov 27, 2024 -
Avoid invalid syntax for format-spec with quotes for all Python versions
#14625 merged
Nov 27, 2024 -
Check that
airflow
module is seen forAIR001
#14627 merged
Nov 27, 2024 -
[pylint]
Implementlen-test
(PLC1802
)#14309 merged
Nov 26, 2024 -
[pyflakes] Avoid false positives in
@no_type_check
contexts (F821, F722)#14615 merged
Nov 26, 2024 -
[red-knot] Fix panic related to f-strings in annotations
#14613 merged
Nov 26, 2024 -
[red-knot] Update KNOWN_FAILURES
#14612 merged
Nov 26, 2024 -
[red-knot] Fix unit tests in release mode
#14604 merged
Nov 26, 2024 -
[
pylint
] Do not wrap function calls in parentheses in the fix for unnecessary-dunder-call (PLC2801)#14601 merged
Nov 26, 2024 -
[airflow] Avoid implicit DAG schedule (AIR301)
#14581 merged
Nov 26, 2024 -
Fix f-string formatting in assignment statement
#14454 merged
Nov 26, 2024 -
Extend test cases for
flake8-pyi
#14280 merged
Nov 26, 2024 -
[
ruff
] Implementinvalid-assert-message-literal-argument
(RUF040
)#14488 merged
Nov 25, 2024 -
Support
typing.NoReturn
andtyping.Never
#14559 merged
Nov 25, 2024 -
[red-knot] Fix Leaking Narrowing Constraint in
ast::ExprIf
#14590 merged
Nov 25, 2024 -
[
flake8-pyi
] Improve autofix safety forredundant-none-literal
(PYI061)#14583 merged
Nov 25, 2024 -
[
ruff
] Improve autofix safety fornever-union
(RUF020)#14589 merged
Nov 25, 2024 -
Avoid inferring invalid expr types for string annotation
#14447 merged
Nov 25, 2024 -
fuzz-parser: catch exceptions from
pysource-minimize
#14586 merged
Nov 25, 2024 -
red-knot: adapt fuzz-parser to work with red-knot
#14566 merged
Nov 25, 2024 -
Fix
pytest.mark.parametrize
rules to check calls instead of decorators#14515 merged
Nov 25, 2024 -
Use
Result
for failed text document retrieval in LSP requests#14579 merged
Nov 25, 2024 -
Update NPM Development dependencies
#14577 merged
Nov 25, 2024 -
Update Rust crate syn to v2.0.89
#14573 merged
Nov 25, 2024 -
Update dependency mdformat to v0.7.19
#14576 merged
Nov 25, 2024 -
Update Rust crate libcst to v1.5.1
#14570 merged
Nov 25, 2024 -
Update Rust crate hashbrown to v0.15.2
#14569 merged
Nov 25, 2024 -
Update Rust crate quick-junit to v0.5.1 - autoclosed
#14572 merged
Nov 25, 2024 -
Update Rust crate proc-macro2 to v1.0.92
#14571 merged
Nov 25, 2024 -
Update Rust crate unicode-ident to v1.0.14
#14574 merged
Nov 25, 2024 -
Update Rust crate url to v2.5.4
#14575 merged
Nov 25, 2024 -
Update Rust crate dir-test to 0.4.0
#14578 merged
Nov 25, 2024 -
Remove
FormatFStringPart
#14448 merged
Nov 25, 2024 -
Add
@astropy/astropy
to ecosystem checks#14565 merged
Nov 24, 2024 -
Use truthiness check in
auto_attribs
detection#14562 merged
Nov 24, 2024 -
[
ruff
] Handleattrs
'sauto_attribs
correctly (RUF009
)#14520 merged
Nov 24, 2024 -
[
flake8-builtins
] Exempt private built-in modules (A005
)#14505 merged
Nov 24, 2024 -
[
flake8-bugbear
] Fixmutable-contextvar-default (B039)
to resolve annotated function calls properly#14532 merged
Nov 24, 2024 -
Simplify
flake8_pytest_style::rules::fail_call
implementation#14556 merged
Nov 23, 2024 -
[B028-doc-update] Update documentation for B028
#14338 merged
Nov 23, 2024 -
Ignore more rules for stub files
#14541 merged
Nov 23, 2024 -
[red-knot] remove wrong typevar attribute implementations
#14540 merged
Nov 22, 2024 -
Update dependency smol-toml to v1.3.1
#14542 merged
Nov 22, 2024 -
[
ruff
] Auto-addr
prefix when string has no backslashes forunraw-re-pattern (RUF039)
#14536 merged
Nov 22, 2024 -
Extend
invalid-envvar-default (PLW1508)
to detectos.environ.get
#14512 merged
Nov 22, 2024 -
Enable logging for directory-renamed test
#14533 merged
Nov 22, 2024 -
[
flake8-type-checking
] Adds implementation for TC006#14511 merged
Nov 22, 2024 -
Consider quotes inside format-specs when choosing the quotes for an f-string
#14493 merged
Nov 22, 2024 -
Fix broken link to
PYI063
#14526 merged
Nov 22, 2024 -
[red-knot] Semantic index: handle invalid
break
s#14522 merged
Nov 22, 2024 -
Fix unnecessary space around power op in overlong f-string expressions
#14489 merged
Nov 22, 2024 -
[red-knot] PEP 695 type aliases
#14357 merged
Nov 22, 2024 -
Ruff 0.8 release
#14486 merged
Nov 22, 2024 -
Improve docs for some pycodestyle rules
#14517 merged
Nov 21, 2024 -
doc(B024): #14455 add annotated but unassgined class variables
#14502 merged
Nov 21, 2024 -
Limit type size assertion to 64bit platforms
#14514 merged
Nov 21, 2024 -
[red-knot] Fix: Infer type for typing.Union[..] tuple expression
#14510 merged
Nov 21, 2024 -
[red-knot] Meta data for
Type::Todo
#14500 merged
Nov 21, 2024 -
[red-knot] support
typing.Union
in type annotations#14499 merged
Nov 20, 2024 -
Improve the performance of the formatter instability check job
#14471 merged
Nov 20, 2024 -
Ruff 0.8
#14383 merged
Nov 20, 2024 -
Stabilize
A004
#14480 merged
Nov 20, 2024 -
[ruff-0.8] [
FAST
] Further improve docs forfast-api-non-annotated-depencency
(FAST002
)#14467 merged
Nov 20, 2024 -
Fix failing tests for Ruff 0.8 branch
#14482 merged
Nov 20, 2024
22 Pull requests opened by 12 people
-
[`pydoclint`] Extend `docstring-missing-exception` to empty exception descriptions (`DOC501`)
#14496 opened
Nov 20, 2024 -
[`flake8-use-pathlib`] Recommend `Path.iterdir()` over `os.listdir()` (`PTH208`)
#14509 opened
Nov 21, 2024 -
Possible fix for flaky file watching test
#14543 opened
Nov 22, 2024 -
[`perflint`] - Fix `manual-list-comprehension` for async generators (`PERF401`)
#14551 opened
Nov 23, 2024 -
[`ruff`] `if k in d: del d[k]` (`RUF041`)
#14553 opened
Nov 23, 2024 -
Use a derive macro for Violations
#14557 opened
Nov 23, 2024 -
[`ruff`] `d.update({k: v})` (`RUF042`)
#14564 opened
Nov 24, 2024 -
[`ruff`] `l.extend([e])` (`RUF043`)
#14580 opened
Nov 25, 2024 -
[airflow] Avoid deprecated values (AIR302)
#14582 opened
Nov 25, 2024 -
N811 & N814: eliminate false positives for single-letter names
#14584 opened
Nov 25, 2024 -
Docs: add footer socials
#14591 opened
Nov 25, 2024 -
[`refurb`] Handle non-finite decimals in `verbose-decimal-constructor (FURB157)`
#14596 opened
Nov 26, 2024 -
[red-knot] Infer precise types for `len()` calls
#14599 opened
Nov 26, 2024 -
[`ruff`] Implemented `wrong-class-body-content` (`RUF050`)
#14607 opened
Nov 26, 2024 -
[`ruff`] Implemented `unused-variable-accessed` (`RUF052`)
#14611 opened
Nov 26, 2024 -
[`flake8-type-checking`] Fixes `quote_type_expression`
#14614 opened
Nov 26, 2024 -
[airflow] rule for deprecated task_concurrency parameter (AIR303)
#14616 opened
Nov 26, 2024 -
[red-knot] Fix merged type after if-else without explicit else branch
#14621 opened
Nov 27, 2024 -
Allow disabling (most of) CI with `no-test` label
#14622 opened
Nov 27, 2024 -
[`flake8-use-pathlib`] Recommend `Path.iterdir()` over `os.scandir()` (`PTH209`)
#14623 opened
Nov 27, 2024 -
Do not consider f-strings with escaped newlines as multiline
#14624 opened
Nov 27, 2024 -
[airflow] deprecated subdagoperator (AIR304)
#14628 opened
Nov 27, 2024
53 Issues closed by 13 people
-
F-string formatting: Invalid syntax for format-spec with double quotes when targeting pre Python 3.12
#14608 closed
Nov 27, 2024 -
Feature: Detection of unused libraries from pyproject.toml
#14620 closed
Nov 27, 2024 -
detect if ruff introduces other issues and handle them/warn about it
#2397 closed
Nov 27, 2024 -
Tests failed for ruff 0.8.0
#14594 closed
Nov 26, 2024 -
[Bug] [DOC501 & DOC502] Numpy still docstrings with `:exc:` directive for exceptions are falsely flagged
#14609 closed
Nov 26, 2024 -
Unnecessary parentheses when fix PLC2801
#14597 closed
Nov 26, 2024 -
F-String formatting in assignment positions
#13813 closed
Nov 26, 2024 -
Rule idea: dict get for ranking dict
#14592 closed
Nov 26, 2024 -
Request: Raise error on any printf style formatting for direct string interpolation
#6796 closed
Nov 26, 2024 -
SIM300 (yoda-conditions) false positive: `assert X < datetime.timedelta(...)`
#13754 closed
Nov 26, 2024 -
Integrate GitHub Actions in this repo
#8400 closed
Nov 26, 2024 -
[red-knot] support `typing.NoReturn` and `typing.Never` in annotations
#14558 closed
Nov 25, 2024 -
[red-knot] Incorrect Narrowing Constraint Applied After ExprIf
#14588 closed
Nov 25, 2024 -
Fixes for PYI061 and RUF020 can generate `None | None`
#14567 closed
Nov 25, 2024 -
[red-knot] Panics for string annotations
#14440 closed
Nov 25, 2024 -
[red-knot] Adapt the `fuzz-parser` script to fuzz red-knot too
#14157 closed
Nov 25, 2024 -
DOC501 should not raise on ImportError
#14534 closed
Nov 25, 2024 -
RUF022 autofix should be marked unsafe if there are own-line comments between `__all__` items
#14552 closed
Nov 24, 2024 -
Add astropy to the ecosystem check
#14561 closed
Nov 24, 2024 -
`RUF009` handles `attrs` dataclasses with `auto_attribs = False` incorrectly
#14519 closed
Nov 24, 2024 -
A005 (builtin module shadowing) should ignore private modules
#12949 closed
Nov 24, 2024 -
B039 considers `frozenset` to be mutable
#14525 closed
Nov 24, 2024 -
(📚) documentation for `B028` is misleading
#14289 closed
Nov 23, 2024 -
False positive F821 and F841 for an exception object inside a lambda function
#14521 closed
Nov 23, 2024 -
Add autofix for RUF039
#14527 closed
Nov 22, 2024 -
Ruff removes import for fixture used by pytest
#14539 closed
Nov 22, 2024 -
ruff freezes when running with --stdin-filename
#14530 closed
Nov 22, 2024 -
Can `offset_encoding` for Ruff be configured in Neovim?
#14483 closed
Nov 22, 2024 -
Skip RUF039 when \n, \t, ... are involved
#14529 closed
Nov 22, 2024 -
dotted key `mypy.plugins` attempted to extend non-table type (array)
#14528 closed
Nov 22, 2024 -
f-string formatting: Consider format specs when choosing the preferred quotes
#13935 closed
Nov 22, 2024 -
[red-knot] Panics when 'break' is used in nested definitions inside loops
#14342 closed
Nov 22, 2024 -
F-string formatting adds unnecessary space after `**` operator
#14487 closed
Nov 22, 2024 -
Possible error when trying to fix with ICN001
#14439 closed
Nov 21, 2024 -
How to pass the document version number for `workspace/executeCommand` request in Neovim?
#14495 closed
Nov 21, 2024 -
Philosophy Doc for Ruff and Two Scale Categorization System
#14139 closed
Nov 21, 2024 -
B024: ruff in pre-commit fails to recognise B024 with the presence of a class variable
#14455 closed
Nov 21, 2024 -
F841 is disabled by following, unrelated code lines
#14516 closed
Nov 21, 2024 -
Bug: Formatting inconsistency with f strings
#14513 closed
Nov 21, 2024 -
False positive PD011
#14508 closed
Nov 21, 2024 -
[red-knot] Understand typing.Union special form in annotations
#14498 closed
Nov 20, 2024 -
CLI: `ruff rule` should accept human-readable name
#14491 closed
Nov 20, 2024 -
N814 false positive: `from decimal import Decimal as D`
#13543 closed
Nov 20, 2024 -
[red-knot] Test setup utilities
#13789 closed
Nov 20, 2024 -
Pydantics model validator causing weird issues when in classmethod-decorators
#13617 closed
Nov 20, 2024 -
[Question] Will implementation crates be published to crates.io?
#14051 closed
Nov 20, 2024 -
DOC501 doesn't trigger if a custom exception imported from another module is raised
#13383 closed
Nov 20, 2024 -
0.6.7: `ruff --diff` does not generate quoted file name when file or directory contains spaces
#13489 closed
Nov 20, 2024 -
Formatter ignores nested f-strings
#13488 closed
Nov 20, 2024 -
Negation of per-file-ignores not working as expected
#13716 closed
Nov 20, 2024 -
I want a universal configuration that most people are used to.
#13433 closed
Nov 20, 2024 -
Why getting D203 as a warning?
#13645 closed
Nov 20, 2024 -
[flake8-django] DJ001 is not raised for fields which has unique=True
#13887 closed
Nov 20, 2024
33 Issues opened by 21 people
-
Airflow 3.0 deprecations
#14626 opened
Nov 27, 2024 -
Lint for closure that do not capture anything ?
#14603 opened
Nov 26, 2024 -
How to deal with counter-argument to rules? Concrete example PLC1901
#14602 opened
Nov 26, 2024 -
no UP031 fix for `"%d" % 1`
#14600 opened
Nov 26, 2024 -
[red-knot] Infer precise types for `len()` calls
#14598 opened
Nov 26, 2024 -
[red-knot] Inverse narrowing without explicit `else` branches
#14593 opened
Nov 25, 2024 -
FURB157 has false negatives for non-finite float strings
#14587 opened
Nov 25, 2024 -
PLC0206 should not flag if dict is being written
#14585 opened
Nov 25, 2024 -
option for remapped/removed rules to report an error instead of a warning
#14568 opened
Nov 25, 2024 -
How to increase converge iter times
#14563 opened
Nov 24, 2024 -
UP031 may be undesirable in raw strings and regular expressions
#14555 opened
Nov 23, 2024 -
Checking file with rule TC006 cause panic
#14554 opened
Nov 23, 2024 -
[red-knot] support narrowing on `if x` and `if not x`
#14550 opened
Nov 22, 2024 -
[red-knot] remove TODO catch-all case in `infer_binary_expression`
#14549 opened
Nov 22, 2024 -
[red-knot] remove TODO catch-all case in infer_unary_expression
#14548 opened
Nov 22, 2024 -
[red-knot] support narrowing on bool(E)
#14547 opened
Nov 22, 2024 -
[red-knot] support type[Any]
#14546 opened
Nov 22, 2024 -
[red-knot] understand type[a.X] in a type expression
#14545 opened
Nov 22, 2024 -
[red-knot] support typing.Any in annotations
#14544 opened
Nov 22, 2024 -
TC003’s rewritten annotations have syntax errors and type-checking problems
#14538 opened
Nov 22, 2024 -
Request: More autofixes for `redundant-none-literal`/`PYI061`
#14537 opened
Nov 22, 2024 -
More rules out of stub author's control
#14535 opened
Nov 22, 2024 -
`redirected-noqa` (`RUF101`) does not detect file-level `# ruff: noqa` comments
#14531 opened
Nov 22, 2024 -
[red-knot] Properly handle gradual types in subtyping/equivalence relations
#14524 opened
Nov 22, 2024 -
RUF035 (unsafe-markup-use) can be noisy and would benefit from a whitelist
#14523 opened
Nov 22, 2024 -
Rule suggestion: Convert list.extend([x]) to list.append(x)
#14518 opened
Nov 22, 2024 -
Please host the output of `ruff rules -all --output-format json` on the docs website somewhere
#14506 opened
Nov 21, 2024 -
B024: false negative with annotated, unassigned instance variables of a class
#14503 opened
Nov 20, 2024 -
bug/surprise: adding an empty ruff.toml affects how import rules behaves
#14497 opened
Nov 20, 2024 -
Extend `docstring-missing-exception` to empty exception description (`DOC501`)
#14494 opened
Nov 20, 2024 -
Autofix for `undocumented-public-function`: insert docstring stub
#14492 opened
Nov 20, 2024 -
New `flake8-pathlib` rule: `os.listdir` (PTH208)
#14490 opened
Nov 20, 2024 -
Improve docs on fix safety for FAST002
#14484 opened
Nov 20, 2024
47 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-type-checking`] Adds implementation for TC007 and TC008
#12927 commented on
Nov 27, 2024 • 15 new comments -
allow human-friendly rule names in noqa directives
#11757 commented on
Nov 21, 2024 • 2 new comments -
[`ruff`] Implement `unnecessary-nested-literal` (`RUF039`)
#14323 commented on
Nov 25, 2024 • 1 new comment -
duplicate symbol definition: _malloc_printf
#12482 commented on
Nov 20, 2024 • 0 new comments -
ruff formatter: one call per line for chained method calls
#8598 commented on
Nov 26, 2024 • 0 new comments -
Update `PatternMatchMapping` AST node
#10570 commented on
Nov 26, 2024 • 0 new comments -
Idea: warn when a re-exported name is imported
#13507 commented on
Nov 26, 2024 • 0 new comments -
Implement Pylint
#970 commented on
Nov 26, 2024 • 0 new comments -
Pyspark Linting Rules
#7272 commented on
Nov 26, 2024 • 0 new comments -
Implement `flake8-cognitive-complexity`
#2418 commented on
Nov 26, 2024 • 0 new comments -
PYI036 (bad-exit-annotation) triggers on seemingly appropriate annotations
#9794 commented on
Nov 27, 2024 • 0 new comments -
Support baselines, i.e., ignore existing errors for incremental adoption
#1149 commented on
Nov 27, 2024 • 0 new comments -
Allow newlines after block open (or not)
#9745 commented on
Nov 27, 2024 • 0 new comments -
Implement ssort
#3946 commented on
Nov 27, 2024 • 0 new comments -
Ruff 2025 style guide
#13371 commented on
Nov 27, 2024 • 0 new comments -
Dependency Dashboard
#10578 commented on
Nov 27, 2024 • 0 new comments -
Potential New Lint Check: Alphabetized Enums
#2315 commented on
Nov 27, 2024 • 0 new comments -
[`ruff`] Re-implement `unreachable`
#10891 commented on
Nov 26, 2024 • 0 new comments -
[`pycodestyle`] Implement continued indentation related rules (`E12x`)
#13585 commented on
Nov 21, 2024 • 0 new comments -
Convert raw strings to non-raw when fixes add escape sequences (#13294)
#13882 commented on
Nov 25, 2024 • 0 new comments -
[pyflakes] Fix check of unused imports
#13965 commented on
Nov 23, 2024 • 0 new comments -
[`ruff`] Implicit class variable in dataclass (`RUF045`)
#14349 commented on
Nov 25, 2024 • 0 new comments -
[`perflint`] fix invalid hoist in `perf401`
#14369 commented on
Nov 25, 2024 • 0 new comments -
[`ruff`] `itertools.batched()` without explicit `strict` (`RUF054`)
#14408 commented on
Nov 20, 2024 • 0 new comments -
Human-friendly rule names
#1773 commented on
Nov 20, 2024 • 0 new comments -
Respect pylint ignore directives
#1203 commented on
Nov 20, 2024 • 0 new comments -
[Infinite loop] ICN001 conflicts with I002 and F401 if an unused unconventionally aliased import is required
#14389 commented on
Nov 21, 2024 • 0 new comments -
[preview] FURB118 can be unsafe for methods
#13829 commented on
Nov 21, 2024 • 0 new comments -
Rewrite `os.environ.get` as `os.getenv`
#3608 commented on
Nov 22, 2024 • 0 new comments -
FBT003: False positive with positional-only parameters
#3247 commented on
Nov 22, 2024 • 0 new comments -
Extend `pytest-raises-with-multiple-statements (PT012)` to cover `pytest.warns`
#14239 commented on
Nov 22, 2024 • 0 new comments -
[red-knot] mdtests - Run single test
#13868 commented on
Nov 22, 2024 • 0 new comments -
[red-knot] mdtest doesn't tell you the path of the Markdown file if there's a panic
#13899 commented on
Nov 22, 2024 • 0 new comments -
[red-knot] add support for more type narrowing forms
#13694 commented on
Nov 23, 2024 • 0 new comments -
FBT001 preview behavior may lead to false positives
#14444 commented on
Nov 23, 2024 • 0 new comments -
[red-knot] mdtest output in CI isn't colourised
#13939 commented on
Nov 23, 2024 • 0 new comments -
Flaking test `red_knot::file_watching directory_renamed`
#14473 commented on
Nov 23, 2024 • 0 new comments -
Syntax highlighting in code frames and diffs
#10835 commented on
Nov 23, 2024 • 0 new comments -
Rule idea: Unnecessary use of `re`
#12283 commented on
Nov 24, 2024 • 0 new comments -
new rule - replace `d.update({'key': 'value'})` with `d['key'] = 'value'`
#13533 commented on
Nov 25, 2024 • 0 new comments -
[red-knot] support invalid syntax without panics
#13778 commented on
Nov 25, 2024 • 0 new comments -
ruff does not honor declaration of character coding
#6791 commented on
Nov 25, 2024 • 0 new comments -
[red-knot] understand more special forms in annotation expressions
#14172 commented on
Nov 25, 2024 • 0 new comments -
False-positive for `N811` for full-caps, but non-constant imports
#11862 commented on
Nov 25, 2024 • 0 new comments -
TOML parse error source reference is unhelpful
#9719 commented on
Nov 26, 2024 • 0 new comments -
[feature request] Support ignore block of code with noqa
#3711 commented on
Nov 26, 2024 • 0 new comments -
UP031 does not detect cases where percent operator is used on an f-string
#13018 commented on
Nov 26, 2024 • 0 new comments