-
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.7.0
published
Oct 17, 2024
58 Pull requests merged by 19 people
-
[red-knot] Cleanup generated names of mdtest tests
#13831 merged
Oct 20, 2024 -
Update Rust crate pep440_rs to 0.7.1
#13654 merged
Oct 20, 2024 -
Bump MSRV to Rust 1.80
#13826 merged
Oct 20, 2024 -
Update BREAKING_CHANGES.md for Ruff 0.7
#13828 merged
Oct 20, 2024 -
[red-knot] Implement more types in binary and unary expressions
#13803 merged
Oct 20, 2024 -
[python_ast] Make the iter_mut functions public
#13542 merged
Oct 19, 2024 -
[red-knot] Enhancing Diagnostics for Compare Expression Inference
#13819 merged
Oct 19, 2024 -
[red-knot] Fix edge case for binary-expression inference where the lhs and rhs are the exact same type
#13823 merged
Oct 19, 2024 -
[red-knot] binary arithmetic on instances
#13800 merged
Oct 19, 2024 -
[red-knot] Autoformat
mdtest
Python snippets usingblacken-docs
#13809 merged
Oct 19, 2024 -
Upgrade to Rust 1.82
#13816 merged
Oct 19, 2024 -
Short circuit
lex_identifier
if the name is longer or shorter than any known keyword#13815 merged
Oct 19, 2024 -
[red knot] add
Type::is_disjoint_from
and intersection simplifications#13775 merged
Oct 18, 2024 -
Set
fail_fast: false
in.pre-commit-config.yaml
#13811 merged
Oct 18, 2024 -
Revert "Upgrade to Rust 1.82 toolchain"
#13810 merged
Oct 18, 2024 -
Upgrade to Rust 1.82 toolchain
#13808 merged
Oct 18, 2024 -
Update to macOS14 runner image
#13728 merged
Oct 18, 2024 -
[red-knot] mdtest suite: formatting and cleanup
#13806 merged
Oct 18, 2024 -
Make
ARG002
compatible withEM101
when raisingNotImplementedError
#13714 merged
Oct 18, 2024 -
Avoid indexing the workspace for single-file mode
#13770 merged
Oct 18, 2024 -
[red-knot] Use the right scope when considering class bases
#13766 merged
Oct 17, 2024 -
[red-knot] revert change to emit fewer division by zero errors
#13801 merged
Oct 17, 2024 -
[red-knot] don't emit divide-by-zero error if we can't be sure
#13799 merged
Oct 17, 2024 -
Changelog for Ruff v0.7
#13794 merged
Oct 17, 2024 -
Ruff 0.7
#13679 merged
Oct 17, 2024 -
[red-knot] Inference for comparison of union types
#13781 merged
Oct 17, 2024 -
Add explanation of fixable in
--statistics
command#13774 merged
Oct 17, 2024 -
[
flake8-bandit
] Detect patterns from multi line SQL statements (S608
)#13574 merged
Oct 17, 2024 -
[red-knot] don't include Unknown in the type for a conditionally-defined import
#13563 merged
Oct 16, 2024 -
Add scope assertion to
TypeInference.extend
#13764 merged
Oct 16, 2024 -
[red-knot] Add control flow for try/except blocks (v3)
#13729 merged
Oct 16, 2024 -
[red-knot] Do not panic if named expressions show up in assignment position
#13711 merged
Oct 16, 2024 -
Enable preview mode for 'unstable' black tests
#13776 merged
Oct 16, 2024 -
[red-knot] Implement
Type::Tuple
Comparisons#13712 merged
Oct 16, 2024 -
Refactor: Remove
StringPart
andAnyStringPart
in favor ofStringLikePart
#13772 merged
Oct 16, 2024 -
[red knot] Minor follow-up tasks regarding singleton types
#13769 merged
Oct 16, 2024 -
[red-knot] Simplify some branches in
infer_subscript_expression
#13762 merged
Oct 16, 2024 -
Update setup image for PyCharm External Tool
#13767 merged
Oct 16, 2024 -
[red-knot] Infer target types for unpacked tuple assignment
#13316 merged
Oct 15, 2024 -
[red-knot] Port type inference tests to new test framework
#13719 merged
Oct 15, 2024 -
Sync vendored typeshed stubs
#13753 merged
Oct 15, 2024 -
[red knot] Fix narrowing for '… is not …' type guards, add '… is …' type guards
#13758 merged
Oct 15, 2024 -
Upgrade salsa
#13757 merged
Oct 15, 2024 -
Fix TODO directive out of bounds acccess
#13756 merged
Oct 15, 2024 -
[red knot] Use memmem::find instead of custom version
#13750 merged
Oct 14, 2024 -
[red-knot] feat: Inference for
BytesLiteral
comparisons#13746 merged
Oct 14, 2024 -
[
flake8-todos
] Allow words starting with todo#13640 merged
Oct 14, 2024 -
Allow
ipytest
cell magic#13745 merged
Oct 14, 2024 -
Update dependency @miniflare/storage-memory to v2.14.4
#13737 merged
Oct 14, 2024 -
Update Rust crate libcst to v1.5.0
#13739 merged
Oct 14, 2024 -
Update Rust crate clap to v4.5.20
#13733 merged
Oct 14, 2024 -
Update Rust crate pathdiff to v0.2.2
#13734 merged
Oct 14, 2024 -
Update dependency @miniflare/kv to v2.14.4
#13736 merged
Oct 14, 2024 -
Update Rust crate proc-macro2 to v1.0.87
#13735 merged
Oct 14, 2024 -
Update rust-wasm-bindgen monorepo
#13738 merged
Oct 14, 2024 -
Fix
mkdocs
CI job#13744 merged
Oct 14, 2024 -
Downgrade benchmarks CI job to ubuntu 22
#13743 merged
Oct 14, 2024
7 Pull requests opened by 7 people
-
[`pylint`] - restrict `iteration-over-set` to only work on sets of literals (`PLC0208`)
#13731 opened
Oct 13, 2024 -
[red-knot] Support for not equal narrowing
#13749 opened
Oct 14, 2024 -
[red-knot] Report line numbers in mdtest relative to the markdown file, not the test snippet
#13804 opened
Oct 18, 2024 -
Fixing FURB156 false positive for multi-character string error
#13820 opened
Oct 19, 2024 -
[red-knot] Improve chained comparisons handling
#13825 opened
Oct 19, 2024 -
[red-knot] Handle class and instance cases for bool value
#13827 opened
Oct 19, 2024 -
Speed up mdtests
#13832 opened
Oct 20, 2024
28 Issues closed by 14 people
-
`RUF027` - missing f-string - gotcha example
#13817 closed
Oct 19, 2024 -
Add support for `# fmt: nowrap` and `# fmt: wrap` comments
#13812 closed
Oct 18, 2024 -
Remove use of `macos-12` image
#13231 closed
Oct 18, 2024 -
When raising `NotImplementedError `, ARG002 and EM101 are incompatible.
#12427 closed
Oct 18, 2024 -
Native server indexes the entire project when no local config found
#11366 closed
Oct 18, 2024 -
`allowed-unused-imports` has incorrect documentation
#13668 closed
Oct 17, 2024 -
select = ["E"] Not working.
#13793 closed
Oct 17, 2024 -
B007 fixer: don't mark loop variable as ignored when the dict iteration can be fixed
#13771 closed
Oct 17, 2024 -
[red-knot] Compare expression inference - Union
#13779 closed
Oct 17, 2024 -
Interpreter can't open server
#13788 closed
Oct 17, 2024 -
[FALSE NEGATIVE] "S608 Possible SQL injection"
#12044 closed
Oct 17, 2024 -
non-pep585-annotation rule throws incorrectly for Type on Python <3.9
#13783 closed
Oct 16, 2024 -
[red-knot] don't include Unknown in the type for a conditionally-defined import
#13514 closed
Oct 16, 2024 -
Feature Request: Prevent useless import aliases
#13777 closed
Oct 16, 2024 -
[red-knot] Compare expression inference - Tuple
#13688 closed
Oct 16, 2024 -
Update PyCharm Configuration
#13765 closed
Oct 16, 2024 -
`ruff-format` does not account for `tool.ruff.lint`?
#13760 closed
Oct 15, 2024 -
[red-knot] Type narrowing for `x is None`
#13715 closed
Oct 15, 2024 -
Checking file with rule FIX001 cause panic
#13755 closed
Oct 15, 2024 -
Skip first line of source ("`python -x`")
#13748 closed
Oct 14, 2024 -
Every list element is on one line
#13751 closed
Oct 14, 2024 -
Restrict use of walrus operator
#13741 closed
Oct 14, 2024 -
[red-knot] Compare expression inference - BytesLiteral
#13687 closed
Oct 14, 2024 -
[flake8-todos] TD rules trigger on words beginning with todo
#13638 closed
Oct 14, 2024 -
False positive F401 due to `%%ipytest` line in notebook
#13718 closed
Oct 14, 2024 -
[Question]:Updating to a newer/latest version as having VsCode extension already installed.
#13724 closed
Oct 14, 2024 -
new rule - enforce that loop variables are not used outside the loop
#13742 closed
Oct 14, 2024
27 Issues opened by 21 people
-
Feature request: update deprecated ruff settings automatically
#13830 opened
Oct 20, 2024 -
[preview] FURB118 can be unsafe for methods
#13829 opened
Oct 20, 2024 -
F821 (Undefined name) and F722 (bad forward annotation) can trigger on `@no_type_check`-ed annotations
#13824 opened
Oct 19, 2024 -
It says "All checks passed!" although there are errors
#13822 opened
Oct 19, 2024 -
dict-index-missing-items (PLC0206) should allow assignment by key
#13821 opened
Oct 19, 2024 -
F-String formatting in assignment positions
#13813 opened
Oct 18, 2024 -
[verbose-decimal-constructor (FURB157)] doesn't trigger on `Decimal("1_000")`
#13807 opened
Oct 18, 2024 -
Investigate mdtest performance
#13805 opened
Oct 18, 2024 -
FURB156 false positive for multi-character string before `in`
#13802 opened
Oct 17, 2024 -
[red-knot] Report line numbers in mdtest relative to the markdown file, not the test snippet
#13798 opened
Oct 17, 2024 -
Identifier's id field points to a Name
#13797 opened
Oct 17, 2024 -
[red-knot] support stringified annotations
#13796 opened
Oct 17, 2024 -
Linter request: pytest "usefixture" mark should be flagged
#13795 opened
Oct 17, 2024 -
[red-knot] circular references in class definitions panic
#13792 opened
Oct 17, 2024 -
PERF401: split or improve message?
#13791 opened
Oct 17, 2024 -
new rule - replace if all([value_1, value_2]) with if value_1 and value 2
#13790 opened
Oct 17, 2024 -
[red-knot] Test setup utilities
#13789 opened
Oct 17, 2024 -
[red-knot] Enhancing Diagnostics for Compare Expression Inference
#13787 opened
Oct 17, 2024 -
Default to Python 3.9
#13786 opened
Oct 17, 2024 -
[red-knot] support invalid syntax without panics
#13778 opened
Oct 16, 2024 -
Follow-up from unpacked tuple assignment work
#13773 opened
Oct 16, 2024 -
"Cleanup" markdown test names
#13768 opened
Oct 16, 2024 -
W391 reported but not fixed in Jupyter notebook
#13763 opened
Oct 15, 2024 -
Ruff splits subscript targets instead of parenthesizing the value.
#13761 opened
Oct 15, 2024 -
Ruff doesn't raise syntax error for single starred assignment target
#13759 opened
Oct 15, 2024 -
SIM300 (yoda-conditions) false positive: `assert X < datetime.timedelta(...)`
#13754 opened
Oct 15, 2024 -
[C416 unnecessary-comprehension] Suggests a fix leading to RecursionError
#13752 opened
Oct 14, 2024
48 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] Implement C3 linearisation for calculating a class's Method Resolution Order
#13722 commented on
Oct 18, 2024 • 39 new comments -
quote annotations that already contain quotes
#11811 commented on
Oct 14, 2024 • 4 new comments -
[pylint] Implement global-variable-undefined (W0601)
#10820 commented on
Oct 14, 2024 • 4 new comments -
new rule - ban nested comprehensions
#13703 commented on
Oct 17, 2024 • 0 new comments -
FBT003: False positive with positional-only parameters
#3247 commented on
Oct 18, 2024 • 0 new comments -
Ruff 2025 style guide
#13371 commented on
Oct 18, 2024 • 0 new comments -
Allow newlines after block open (or not)
#9745 commented on
Oct 18, 2024 • 0 new comments -
Formatter: Keep right-hanging comments aligned
#7684 commented on
Oct 18, 2024 • 0 new comments -
[red-knot] handle sealed types
#12694 commented on
Oct 18, 2024 • 0 new comments -
Make the mccabe checker ignore the case of a single top-level elif chain or match statement
#3597 commented on
Oct 19, 2024 • 0 new comments -
[red-knot] complete expression type inference
#12701 commented on
Oct 20, 2024 • 0 new comments -
Audit how we determine whether a file is a "Python source file"
#13691 commented on
Oct 20, 2024 • 0 new comments -
Improve backport friendliness of quotes in Python 3.12 f-string placeholders
#11056 commented on
Oct 20, 2024 • 0 new comments -
`SIM115 Use context handler` across a try/else block
#8221 commented on
Oct 20, 2024 • 0 new comments -
Dependency Dashboard
#10578 commented on
Oct 20, 2024 • 0 new comments -
Add support for Quarto notebooks
#6140 commented on
Oct 20, 2024 • 0 new comments -
Split UP007 Union and Optional to two individual rules
#11379 commented on
Oct 17, 2024 • 0 new comments -
Warn on invalid `# noqa` rule codes
#12811 commented on
Oct 17, 2024 • 0 new comments -
Distinguish between maybe and no side effects in contains_effects()
#13127 commented on
Oct 20, 2024 • 0 new comments -
[pylint] Implement `consider-using-assignment-expr` (`R6103`)
#13196 commented on
Oct 19, 2024 • 0 new comments -
Update Rust crate unicode-width to 0.2.0
#13473 commented on
Oct 20, 2024 • 0 new comments -
[red-knot] feat: implement all rich comparison operators
#13635 commented on
Oct 17, 2024 • 0 new comments -
Join implicit concatenated strings when they fit on a line
#13663 commented on
Oct 20, 2024 • 0 new comments -
[red-knot] Avoid panicking when hitting failures looking up AST information
#13701 commented on
Oct 16, 2024 • 0 new comments -
Surrogate code points are internally represented as U FFFD REPLACEMENT CHARACTER
#13666 commented on
Oct 14, 2024 • 0 new comments -
Implement flake8-walrus
#3464 commented on
Oct 14, 2024 • 0 new comments -
Avoid raising S310 if user explicitly checks for URL scheme
#7918 commented on
Oct 14, 2024 • 0 new comments -
[TCH001] Improvement with FastAPI dependencies
#13713 commented on
Oct 14, 2024 • 0 new comments -
Rule S320 should be removed
#13707 commented on
Oct 14, 2024 • 0 new comments -
Unified command for linting and formatting
#8232 commented on
Oct 14, 2024 • 0 new comments -
Ruff incorrectly matches .gitignore rules with sub-directories and has issues with `respect-gitignore = false`
#13692 commented on
Oct 15, 2024 • 0 new comments -
☂️ Syntax errors raised by the compiler
#11934 commented on
Oct 15, 2024 • 0 new comments -
Allow short docstrings in pydoclint
#13086 commented on
Oct 15, 2024 • 0 new comments -
[red-knot] add support for more type narrowing forms
#13694 commented on
Oct 15, 2024 • 0 new comments -
Meta issue: plugin system
#283 commented on
Oct 15, 2024 • 0 new comments -
[Feature Idea] Add column headers to `ruff check --statistics`, to avoid ambiguity
#13717 commented on
Oct 16, 2024 • 0 new comments -
Negation of per-file-ignores not working as expected
#13716 commented on
Oct 16, 2024 • 0 new comments -
[red-knot] red-knot panics by looking at certain Python files within ruff's repo
#13710 commented on
Oct 16, 2024 • 0 new comments -
[red-knot] remove Type::Unbound
#13671 commented on
Oct 16, 2024 • 0 new comments -
Formatter: Specify indentation for function parameters
#8360 commented on
Oct 16, 2024 • 0 new comments -
[red-knot] Compare expressions
#13618 commented on
Oct 17, 2024 • 0 new comments -
TRY400 flags log.error() raise/sys.exit()
#4136 commented on
Oct 17, 2024 • 0 new comments -
Make E741 not apply to stub files
#10569 commented on
Oct 17, 2024 • 0 new comments -
[D417] Missing argument descriptions for variadics *args and **kwargs should be optional
#10112 commented on
Oct 17, 2024 • 0 new comments -
Include `.pyw` files by default
#13246 commented on
Oct 17, 2024 • 0 new comments -
Rule idea: Prefer dict merge
#13706 commented on
Oct 17, 2024 • 0 new comments -
PyTorch-specific rules
#12349 commented on
Oct 17, 2024 • 0 new comments -
Add sphinx documentation style to pydocstyle config
#6606 commented on
Oct 17, 2024 • 0 new comments