-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Insights: astral-sh/ruff
Overview
Could not load contribution data
Please try again later
62 Pull requests merged by 22 people
-
Update Rust crate clearscreen to v4
#15288 merged
Jan 6, 2025 -
Update Rust crate insta to v1.42.0
#15286 merged
Jan 6, 2025 -
Update NPM Development dependencies
#15285 merged
Jan 6, 2025 -
Update dependency uuid to v11.0.4
#15284 merged
Jan 6, 2025 -
Update dependency ruff to v0.8.6
#15283 merged
Jan 6, 2025 -
Update Rust crate syn to v2.0.95
#15282 merged
Jan 6, 2025 -
Update Rust crate matchit to v0.8.6
#15281 merged
Jan 6, 2025 -
Update Rust crate bstr to v1.11.3
#15280 merged
Jan 6, 2025 -
[red-knot] Future-proof
Type::is_disjoint_from()
#15262 merged
Jan 5, 2025 -
[red-knot] Improve
Type::is_disjoint_from()
forKnownInstanceType
s#15261 merged
Jan 5, 2025 -
[red-knot] Minor simplifications and improvements to constraint narrowing logic
#15270 merged
Jan 5, 2025 -
Allow assigning ellipsis literal as parameter default value
#14982 merged
Jan 5, 2025 -
[red-knot] fix control flow for assignment expressions in elif tests
#15274 merged
Jan 5, 2025 -
[
refurb
] Mark fix as unsafe when the right-hand side is a string (FURB171
)#15273 merged
Jan 5, 2025 -
Add a test for overshadowing redirects
#15259 merged
Jan 5, 2025 -
[
ruff
] RecodeRUF025
toRUF037
(RUF037
)#15258 merged
Jan 5, 2025 -
[red-knot] Minor cleanup to
Type::is_disjoint_from()
andType::is_subtype_of()
#15260 merged
Jan 4, 2025 -
Ruff 0.8.6
#15253 merged
Jan 4, 2025 -
Make unreachable a test rule for now
#15252 merged
Jan 4, 2025 -
Revert "Add all PEP-585 names to UP006 rule"
#15250 merged
Jan 4, 2025 -
Update salsa
#15243 merged
Jan 3, 2025 -
[red-knot] Remove unneeded branch in
Type::is_equivalent_to()
#15242 merged
Jan 3, 2025 -
[
ruff
] Avoid reporting whenndigits
is possibly negative (RUF057
)#15234 merged
Jan 3, 2025 -
Attribute panics to the mdtests that cause them
#15241 merged
Jan 3, 2025 -
Show errors for attempted fixes only when passed
--verbose
#15237 merged
Jan 3, 2025 -
Remove formatter incompatibility warning for ISC001
#15123 merged
Jan 3, 2025 -
Ruff 2025 style guide
#13906 merged
Jan 3, 2025 -
[
RUF
] Add rule to detect empty literal in deque call (RUF025
)#15104 merged
Jan 3, 2025 -
TD003: remove issue code length restriction
#15175 merged
Jan 3, 2025 -
Preserve multiline implicit concatenated strings in docstring positions
#15126 merged
Jan 3, 2025 -
[
pyflakes
] Ignore errors in@no_type_check
string annotations (F722
,F821
)#15215 merged
Jan 3, 2025 -
style(AIR302): rename removed_airflow_plugin_extension as check_airflow_plugin_extension
#15233 merged
Jan 3, 2025 -
[
pylint
] Re-implementunreachable
(PLW0101
)#10891 merged
Jan 3, 2025 -
refactor(AIR303): move duplicate qualified_name.to_string() to Diagnostic argument
#15220 merged
Jan 3, 2025 -
Misc. clean up to rounding rules
#15231 merged
Jan 2, 2025 -
Avoid syntax error when removing int over multiple lines
#15230 merged
Jan 2, 2025 -
Migrate renovate config
#15228 merged
Jan 2, 2025 -
Remove
Type::tuple
in favor ofTupleType::from_elements
#15218 merged
Jan 2, 2025 -
Bump version to 0.8.5
#15219 merged
Jan 2, 2025 -
[
ruff
] Unnecessary rounding (RUF057
)#14828 merged
Jan 2, 2025 -
[
airflow
] Extend names moved from core to provider (AIR303
)#15216 merged
Jan 2, 2025 -
[
pycodestyle
] Avoid false positives and negatives related to type parameter default syntax (E225
,E251
)#15214 merged
Jan 1, 2025 -
Sync vendored typeshed stubs
#15213 merged
Jan 1, 2025 -
[
flake8-type-checking
] Improve flexibility ofruntime-evaluated-decorators
#15204 merged
Dec 31, 2024 -
uses: astral-sh/ruff-action@v3, not v2
#15212 merged
Dec 31, 2024 -
[
airflow
] Extend names moved from core to provider (AIR303
)#15196 merged
Dec 31, 2024 -
[
pydocstyle
] Add setting to ignore missing documentation for*args
and**kwargs
parameters (D417
)#15210 merged
Dec 31, 2024 -
[ruff] Implement falsy-dict-get-fallback (RUF056)
#15160 merged
Dec 31, 2024 -
[
airflow
] Remove additional spaces (AIR302
)#15211 merged
Dec 31, 2024 -
Fix incorrect doc in
shebang-not-executable (EXE001)
and add git+windows solution to executable bit#15208 merged
Dec 31, 2024 -
Refactor Airflow removal in 3 code
#15209 merged
Dec 31, 2024 -
[
airflow
] Extend rule to check class attributes, methods, arguments (AIR302
)#15083 merged
Dec 31, 2024 -
[
pylint
] Detect nested methods correctly (PLW1641
)#15032 merged
Dec 30, 2024 -
[docs] improve and fix entry for
analyze.include-dependencies
#15197 merged
Dec 30, 2024 -
[
flake8-pie
] Allowcast(SomeType, ...)
(PIE796
)#15141 merged
Dec 30, 2024 -
Add all PEP-585 names to UP006 rule
#5454 merged
Dec 30, 2024 -
[
flake8-simplify
] More precise inference for dictionaries (SIM300
)#15164 merged
Dec 30, 2024 -
@no_type_check
support#15122 merged
Dec 30, 2024 -
Visit PEP 764 inline
TypedDict
s' keys as non-type-expressions#15073 merged
Dec 30, 2024 -
[red-knot] Add diagnostic for invalid unpacking
#15086 merged
Dec 30, 2024 -
[
flake8-use-pathlib
] Catch redundant joins inPTH201
and avoid syntax errors#15177 merged
Dec 30, 2024
20 Pull requests opened by 15 people
-
[red-knot] Support `assert_type`
#15194 opened
Dec 30, 2024 -
[red-knot] add call checking
#15200 opened
Dec 30, 2024 -
[`flake8-type-checking`] Avoid false positives for `|` in `TC008`
#15201 opened
Dec 30, 2024 -
[`flake8-type-checking`] Add a fix for `runtime-string-union` (`TC010`)
#15222 opened
Jan 2, 2025 -
Narrowing for class patterns in match statements
#15223 opened
Jan 2, 2025 -
Use stderr for server log messages
#15232 opened
Jan 3, 2025 -
[`ruff`] Fix false positive on global keyword (`RUF052`)
#15235 opened
Jan 3, 2025 -
Ruff 0.9
#15238 opened
Jan 3, 2025 -
feat(AIR302): check whether removed context key "conf" is access through context.get(...)
#15240 opened
Jan 3, 2025 -
[`ruff`] Recognize more expressions (`RUF027`)
#15247 opened
Jan 4, 2025 -
[flake8-bugbear] Catch yield in subexpressions (B901) (#14453)
#15254 opened
Jan 4, 2025 -
Better error message when `--config` is given a table key and a non-inline-table value
#15266 opened
Jan 5, 2025 -
Don't fix in ecosystem check
#15267 opened
Jan 5, 2025 -
[red-knot] Eagerly normalize `type[]` types
#15272 opened
Jan 5, 2025 -
[`internal`] Return statements in finally block point to end block for `unreachable` (`PLW0101`)
#15276 opened
Jan 5, 2025 -
[`pylint`] Fix `unreachable` infinite loop (`PLW0101`)
#15278 opened
Jan 5, 2025 -
Update Rust crate itertools to 0.14.0
#15287 opened
Jan 6, 2025 -
Update pre-commit dependencies
#15289 opened
Jan 6, 2025 -
Remove accidental empty block at the bottom of `split-static-string (SIM905)` doc
#15290 opened
Jan 6, 2025
37 Issues closed by 11 people
-
[red-knot] `...` should be treated as a valid parameter default for any annotation in a stub file
#14840 closed
Jan 5, 2025 -
[red-knot] Incorrect control flow modelling in if-elif chains
#15033 closed
Jan 5, 2025 -
FURB171: Potentially unsafe fix
#15268 closed
Jan 5, 2025 -
[red-knot] Strange error emitted on variable annotated with `type[EllipsisType]`
#15271 closed
Jan 5, 2025 -
Windows archive detected as a trojan with ruff 0.8.5
#15239 closed
Jan 5, 2025 -
RUF025 is remapped to C420 but now it's also a new rule
#15255 closed
Jan 5, 2025 -
Add test or static assertion to prevent accidental overlap between recoded and regular rules
#15257 closed
Jan 5, 2025 -
Recode Ruf025 to Ruf037
#15256 closed
Jan 5, 2025 -
Unable to ignore UP006, UP035 after upgrade to 0.8.0 or later (python3.10)
#15244 closed
Jan 5, 2025 -
`RUF031` (`incorrectly-parenthesized-tuple-in-subscript`) - false positive on implicit type alias
#15264 closed
Jan 5, 2025 -
Long list formatted into each element occupies one row
#15249 closed
Jan 4, 2025 -
Add formatting option to control spacing between consecutive `if` statements
#8632 closed
Jan 4, 2025 -
Does Ruff fail to format parts of a file when syntax errors are present?
#15166 closed
Jan 4, 2025 -
False positive for `RUF057` with negative ndigits
#15221 closed
Jan 3, 2025 -
[red-knot] mdtest doesn't tell you the path of the Markdown file if there's a panic
#13899 closed
Jan 3, 2025 -
Question/Request: Should `S105`, `S106`, `S107` (Insecure hardcoded password) apply to stubs?
#15206 closed
Jan 3, 2025 -
Errors for attempted autofixes visible to users even without passing `--fix` and for noqa lines
#15229 closed
Jan 3, 2025 -
F821 (Undefined name) and F722 (bad forward annotation) can trigger on `@no_type_check`-ed annotations
#13824 closed
Jan 3, 2025 -
[check] Basic, non-CFG, after-return dead code detection
#14881 closed
Jan 3, 2025 -
Complete `try`-`except` handling in control-flow graph
#8959 closed
Jan 3, 2025 -
Control-flow graph fails to connect body-to-loop when loop is the last statement
#8958 closed
Jan 3, 2025 -
RUF046 fix introduces a syntax error when the cast expression contains a newline
#15226 closed
Jan 2, 2025 -
[Feature Idea] Add column headers to `ruff check --statistics`, to avoid ambiguity
#13717 closed
Jan 2, 2025 -
`RUF046` is doing two things instead of one
#14793 closed
Jan 2, 2025 -
Regression of false positive with e251 and type statement type variable defaults
#15202 closed
Jan 1, 2025 -
[D417] Missing argument descriptions for variadics *args and **kwargs should be optional
#10112 closed
Dec 31, 2024 -
Remove falsy dict.get() fallback in `if` statements
#4934 closed
Dec 31, 2024 -
Ruff import sorting jumbles letters in jupyter notebook
#15203 closed
Dec 30, 2024 -
(🐞) `PLW1641` not reported if method defined within `if`
#14882 closed
Dec 30, 2024 -
`PIE796` false-positives on enum member cast in pyi files
#15132 closed
Dec 30, 2024 -
Support flake8-pep585 for accesses from typing after import
#3936 closed
Dec 30, 2024 -
False negative for D403 when the first sentence only has one word but the whole docstring is longer
#13167 closed
Dec 30, 2024 -
SIM300 fix swaps operands with side effects
#14761 closed
Dec 30, 2024 -
Pyflakes rules do not detect unused shadowed import when using `from __future__ import annotations`
#15172 closed
Dec 30, 2024 -
`PTH201` fix does not consider trailing comma
#15165 closed
Dec 30, 2024 -
`PTH201` does not report redundant joins
#10453 closed
Dec 30, 2024
16 Issues opened by 13 people
-
Rule request: prefer async for FastAPI dependencies
#15279 opened
Jan 5, 2025 -
Rule request: Detect dataclass() usage with Enum and its subclasses
#15275 opened
Jan 5, 2025 -
RUF046 fix is wrong when a newline appears before a call expression’s opening parenthesis
#15263 opened
Jan 5, 2025 -
Revisit adding all PEP585 names to UP006
#15251 opened
Jan 4, 2025 -
Long freeze(>3 minutes - probably infinite) when checking file
#15248 opened
Jan 4, 2025 -
Duplication and inconsistency between pep585 annotation rules: UP006, UP035
#15246 opened
Jan 4, 2025 -
Strange fix behavior for UP006/NonPEP585Annotation fixer since ruff 0.8.5
#15245 opened
Jan 3, 2025 -
Inconsistent behavior in D405 with capitalization in Google docstrings
#15224 opened
Jan 2, 2025 -
Improve discoverability of the `pydocstyle` rules as per the selected convention
#15217 opened
Jan 2, 2025 -
`flake8-bandit`'s `S4` rules don't apply to stubs
#15207 opened
Dec 30, 2024 -
[red-knot] Avoid inferring types in error case during unpacking
#15199 opened
Dec 30, 2024 -
[PROPOSAL] live (graph) analysis
#15198 opened
Dec 30, 2024 -
allow publishing a more detailed graph
#15195 opened
Dec 30, 2024
49 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.
-
[red-knot] `knot_extensions` Python API
#15103 commented on
Jan 4, 2025 • 32 new comments -
[airflow] Add lint rule to show error for removed context variables in airflow
#15144 commented on
Jan 2, 2025 • 11 new comments -
[`flake8-type-checking`] Apply `TC008` more eagerly in `TYPE_CHECKING` blocks
#15180 commented on
Jan 3, 2025 • 5 new comments -
Don't special-case class instances in binary expression inference
#15161 commented on
Dec 30, 2024 • 5 new comments -
Autofix for `none-not-at-end-of-union (RUF036)`
#15139 commented on
Jan 5, 2025 • 4 new comments -
Update Black deviations to reflect 2025 style changes
#15127 commented on
Jan 3, 2025 • 1 new comment -
Display Union of Literals as a Literal
#14993 commented on
Jan 5, 2025 • 1 new comment -
Consider analyze-graph for packages and producing graph?
#13431 commented on
Dec 30, 2024 • 0 new comments -
`FBT001` and `PLR0917` - false positive on pytest functions
#7286 commented on
Jan 5, 2025 • 0 new comments -
D417 Argument descriptions only required if there is an "Args" section
#2310 commented on
Jan 5, 2025 • 0 new comments -
Dependency Dashboard
#10578 commented on
Jan 6, 2025 • 0 new comments -
Formatter: Keep right-hanging comments aligned
#7684 commented on
Jan 6, 2025 • 0 new comments -
[`flake8-bugbear`] Implement `class-as-data-structure` (`B903`)
#9601 commented on
Jan 3, 2025 • 0 new comments -
Split UP007 Union and Optional to two individual rules
#11379 commented on
Jan 2, 2025 • 0 new comments -
isort: Don't infer namespace packages as first-party (only subpackages of namespace packages)
#12987 commented on
Jan 3, 2025 • 0 new comments -
[`pydoclint`] Add `docstring-missing-parameter` and `docstring-extraneous-parameter` (`DOC101`, `DOC102`)
#13280 commented on
Jan 3, 2025 • 0 new comments -
[red-knot] Add internal documentation on kinds of types
#13878 commented on
Jan 3, 2025 • 0 new comments -
Initialize Rust cache before installing binaries and additional components
#14459 commented on
Dec 30, 2024 • 0 new comments -
[`ruff`] Abstract method defined in normal class (`RUF044`)
#14688 commented on
Dec 30, 2024 • 0 new comments -
[`flake8-type-checking`] Allows TC001-004 to quote more expressions
#14787 commented on
Jan 3, 2025 • 0 new comments -
[`ruff`] Needless `else` clause (`RUF047`)
#15051 commented on
Jan 5, 2025 • 0 new comments -
[red-knot] More precise inference for classes with non-class metaclasses
#15138 commented on
Dec 30, 2024 • 0 new comments -
Migrate issue template to new format
#15163 commented on
Dec 31, 2024 • 0 new comments -
[PROPOSAL+WIP] implement a `ruff analyze live`
#15178 commented on
Jan 5, 2025 • 0 new comments -
[red-knot] Introduce type parameters for InstanceType
#15183 commented on
Jan 5, 2025 • 0 new comments -
[red-knot] Follow-up from unpacked tuple assignment work
#13773 commented on
Dec 30, 2024 • 0 new comments -
Feature: Disable cache from pyproject.toml
#15151 commented on
Dec 30, 2024 • 0 new comments -
Feature Request: Warn when instance attribute shadows class attribute
#15169 commented on
Dec 30, 2024 • 0 new comments -
Request: Option to only apply `superfluous-else-*` on single-statements (`RET505`, `RET506`, `RET507`, `RET508`)
#15167 commented on
Dec 30, 2024 • 0 new comments -
[Infinite loop] Failed to Converge After 100 Iterations When Fixing Imports (e.g., I001, F401, F811)
#15182 commented on
Dec 30, 2024 • 0 new comments -
Pylint subcategories' codes are confusingly documented
#15168 commented on
Dec 30, 2024 • 0 new comments -
More rules out of stub author's control
#14535 commented on
Dec 30, 2024 • 0 new comments -
[red-knot] add narrowing support in match class patterns
#14740 commented on
Dec 31, 2024 • 0 new comments -
GitHub New Issue template appears empty / current template is deprecated
#15135 commented on
Dec 31, 2024 • 0 new comments -
Ruleset Suggestion: wemake-python-styleguide
#3845 commented on
Dec 31, 2024 • 0 new comments -
ruff formatter: one call per line for chained method calls
#8598 commented on
Dec 31, 2024 • 0 new comments -
Understanding default behavior of `ruff analyze graph` with different layouts
#14786 commented on
Dec 31, 2024 • 0 new comments -
SIM108 turns readable code into unreadable code
#5528 commented on
Jan 1, 2025 • 0 new comments -
Improve line-length vs. autofix interactions (force-allow? force-disallows?)
#8106 commented on
Jan 1, 2025 • 0 new comments -
Comprehension / generator, opt-in feature to preserve line breaks
#11753 commented on
Jan 1, 2025 • 0 new comments -
New Rule: Prefer list comprehension over generator comprehensions to create tuples
#11839 commented on
Jan 1, 2025 • 0 new comments -
Request: Merge `D203`+`D211` and `D212`+`D213` and make them configurable instead
#15171 commented on
Jan 2, 2025 • 0 new comments -
Respect pylint ignore directives
#1203 commented on
Jan 2, 2025 • 0 new comments -
Support baselines, i.e., ignore existing errors for incremental adoption
#1149 commented on
Jan 2, 2025 • 0 new comments -
Ecosystem check: Set `--no-fix`
#15146 commented on
Jan 3, 2025 • 0 new comments -
Ruff incorrectly matches .gitignore rules with sub-directories and has issues with `respect-gitignore = false`
#13692 commented on
Jan 3, 2025 • 0 new comments -
F841 "Undefined name" false positive in exception-nested-closure
#6878 commented on
Jan 3, 2025 • 0 new comments -
Provide log messages for the native server
#12523 commented on
Jan 4, 2025 • 0 new comments -
Suggested lint rule: disallow implicit-cast-to-bool
#10949 commented on
Jan 5, 2025 • 0 new comments