-
Notifications
You must be signed in to change notification settings - Fork 979
Insights: astral-sh/ruff
Overview
Could not load contribution data
Please try again later
85 Pull requests merged by 17 people
-
[
ruff
] Reduce FastAPI false positives inunused-async
(RUF029
)#12938 merged
Aug 17, 2024 -
[
pep8-naming
] Don't flagfrom
imports following conventional import names (N817
)#12946 merged
Aug 17, 2024 -
Pull all types in corpus tests
#12919 merged
Aug 17, 2024 -
[flake8_bugbear] message based on expression location [B015]
#12944 merged
Aug 17, 2024 -
[
ruff
] Ignorefstring-missing-syntax
(RUF027
) forfastAPI
paths#12939 merged
Aug 17, 2024 -
[red-knot] type narrowing
#12706 merged
Aug 16, 2024 -
[red-knot] Use
Unknown
rather thanUnbound
for unresolved imports#12932 merged
Aug 16, 2024 -
Select stable import name when multiple possible bindings are in scope
#12888 merged
Aug 16, 2024 -
Bump version to 0.6.1
#12937 merged
Aug 16, 2024 -
N817
docs: refer to the correct setting#12935 merged
Aug 16, 2024 -
[
flake8-naming
]: Respect import conventions (N817
)#12922 merged
Aug 16, 2024 -
Ignore blank line rules for docs formatting
#12934 merged
Aug 16, 2024 -
Fix description of where the contributor list comes from in instructions for making a release
#12931 merged
Aug 16, 2024 -
Use cell source code instead of the concatenated one
#12929 merged
Aug 16, 2024 -
[red-knot] Add support for relative imports
#12910 merged
Aug 16, 2024 -
[
flake8-async
] Fix examples to useasync with
#12924 merged
Aug 16, 2024 -
Simplify logic for
RUF027
#12907 merged
Aug 16, 2024 -
[red-knot] Add symbol and definition for parameters
#12862 merged
Aug 16, 2024 -
[
fastapi
] Implementfast-api-unused-path-parameter
(FAST003
)#12638 merged
Aug 16, 2024 -
[red-knot] fix lookups of possibly-shadowed builtins
#12898 merged
Aug 15, 2024 -
Rename too-many-positional(-arguments)
#12905 merged
Aug 15, 2024 -
Fixup description of default values for
fixture-parentheses
andmark-parentheses
#12904 merged
Aug 15, 2024 -
Bump version to 0.6
#12894 merged
Aug 15, 2024 -
Sync vendored typeshed stubs
#12899 merged
Aug 15, 2024 -
[flake8-async] Do not lint yield in context manager
cancel-scope-no-checkpoint (ASYNC100)
#12896 merged
Aug 15, 2024 -
[flake8-comprehensions] Do not lint
async for
comprehensions inunnecessary-comprehension-in-call (C419)
#12895 merged
Aug 15, 2024 -
Ruff 0.6
#12834 merged
Aug 14, 2024 -
Stabilize support for Jupyter Notebooks
#12878 merged
Aug 14, 2024 -
Detect imports in
src
layouts by default#12848 merged
Aug 14, 2024 -
[
pyupgrade
] Show violations without auto-fix forUP031
#11229 merged
Aug 14, 2024 -
RUF027: Ignore template strings passed to logging calls and
builtins._()
calls#12889 merged
Aug 14, 2024 -
Improve docs for
non-augmented-assignment
(PLR6104
)#12887 merged
Aug 14, 2024 -
Improve docs for
missing-fstring-syntax
(RUF027
)#12886 merged
Aug 14, 2024 -
[red-knot] Use line/column for server diagnostics if available
#12881 merged
Aug 14, 2024 -
Revert "[Ruff 0.6] Stabilise
PLR6104
(#12858)"#12884 merged
Aug 14, 2024 -
Stabilise
redirected-noqa
(RUF101
)#12869 merged
Aug 14, 2024 -
[flake8-return] Only add return None at end of function (RET503)
#11074 merged
Aug 14, 2024 -
Fallback to kernelspec to check if it's a Python notebook
#12875 merged
Aug 14, 2024 -
Update OpenAI excluded notebooks from ecosystem checks
#12867 merged
Aug 14, 2024 -
Avoid treating
dataclasses.KW_ONLY
as typing-only#12863 merged
Aug 13, 2024 -
Limit
requirements.txt
files updated by renovate#12868 merged
Aug 13, 2024 -
Consider VS Code cell metadata to determine valid code cells
#12864 merged
Aug 13, 2024 -
[ruff 0.6] Improve the error message for PLW0642
#12866 merged
Aug 13, 2024 -
Change default for PT001 and PT023
#12838 merged
Aug 13, 2024 -
[Ruff 0.6] Stabilise
PLR6104
#12858 merged
Aug 13, 2024 -
Stabilize two
flake8-pyi
rules#12860 merged
Aug 13, 2024 -
Evaluate default parameter value in enclosing scope
#12852 merged
Aug 13, 2024 -
[Ruff 0.6] Stabilise 9 pylint rules
#12857 merged
Aug 13, 2024 -
[
flake8-pytest-style
] Add a space after comma in CSV output (PT006
)#12853 merged
Aug 13, 2024 -
Add scope and definitions for comprehensions
#12748 merged
Aug 13, 2024 -
[red-knot] cleanup doc comments and attributes
#12792 merged
Aug 12, 2024 -
[red-knot] add IntersectionBuilder
#12791 merged
Aug 12, 2024 -
[red-knot] Use Windows specific path separator in tests
#12847 merged
Aug 12, 2024 -
[red-knot] Add filename and source location for diagnostics
#12842 merged
Aug 12, 2024 -
Collect errors while building up the settings index
#12781 merged
Aug 12, 2024 -
Stabilize fixes for
RET50{5-8}
#12840 merged
Aug 12, 2024 -
Deprecate PT004 and PT005
#12837 merged
Aug 12, 2024 -
Stabilize
ASYNC100
,ASYNC109
,ASYNC110
,ASYNC115
andASYNC116
behavior changes#12844 merged
Aug 12, 2024 -
Deprecate
UP027
#12843 merged
Aug 12, 2024 -
Add link to relevant issue for unused variable preview behavior
#12841 merged
Aug 12, 2024 -
Implement
iter()
,len()
andis_empty()
for all display-literal AST nodes#12807 merged
Aug 12, 2024 -
Re-code
unnecessary-dict-comprehension-for-iterable
(RUF025
) asC420
#12533 merged
Aug 12, 2024 -
add conventional xml.etree.ElementTree import alias
#12455 merged
Aug 12, 2024 -
Eagerly validate search paths
#12783 merged
Aug 12, 2024 -
Skip checking a file if it failed to read
#12755 merged
Aug 12, 2024 -
Improvements to documentation
#12712 merged
Aug 12, 2024 -
Update NPM Development dependencies
#12825 merged
Aug 12, 2024 -
Update dependency mkdocs to v1.6.0
#12828 merged
Aug 12, 2024 -
Update dependency react-resizable-panels to v2.0.23
#12822 merged
Aug 12, 2024 -
Update dependency black to v24.8.0
#12827 merged
Aug 12, 2024 -
Update dependency mdformat-mkdocs to v3
#12830 merged
Aug 12, 2024 -
Update pre-commit hook astral-sh/ruff-pre-commit to v0.5.7
#12824 merged
Aug 12, 2024 -
Update Rust crate tempfile to v3.12.0
#12826 merged
Aug 12, 2024 -
Update dependency mdformat-admon to v2.0.6
#12821 merged
Aug 12, 2024 -
Update Rust crate ureq to v2.10.1
#12819 merged
Aug 12, 2024 -
Update Rust crate syn to v2.0.74
#12818 merged
Aug 12, 2024 -
Update Rust crate serde_test to v1.0.177
#12817 merged
Aug 12, 2024 -
Update Rust crate filetime to v0.2.24
#12813 merged
Aug 12, 2024 -
Update dependency PyYAML to v6.0.2
#12820 merged
Aug 12, 2024 -
Update Rust crate serde_json to v1.0.124
#12816 merged
Aug 12, 2024 -
Update Rust crate serde to v1.0.206
#12815 merged
Aug 12, 2024 -
Update Rust crate is-macro to v0.3.6
#12814 merged
Aug 12, 2024 -
Update Rust crate clap to v4.5.15
#12812 merged
Aug 12, 2024 -
[Minor typo] Fix article in "an fix"
#12797 merged
Aug 11, 2024 -
[flake8-simplify] Further simplify to binary in preview for
if-else-block-instead-of-if-exp (SIM108)
#12796 merged
Aug 10, 2024
22 Pull requests opened by 11 people
-
ci: persist a warm cache across jobs
#12798 opened
Aug 11, 2024 -
Instructions to use Ruff with other servers in Kate
#12806 opened
Aug 11, 2024 -
Avoid parsing joint rule codes as distinct codes in `# noqa`
#12809 opened
Aug 11, 2024 -
Warn on invalid `# noqa` rule codes
#12811 opened
Aug 11, 2024 -
Remove error messages for removed CLI aliases
#12833 opened
Aug 12, 2024 -
Remove tab-size setting
#12835 opened
Aug 12, 2024 -
Remove `output-format=text` setting
#12836 opened
Aug 12, 2024 -
[WIP] Refactor the `StmtImportFrom` node to better reflect invariants of Python syntax
#12846 opened
Aug 12, 2024 -
[red-knot] Add definition for augmented assignment
#12892 opened
Aug 14, 2024 -
[red-knot] [WIP] SSA-style use-def map (unoptimized)
#12900 opened
Aug 15, 2024 -
docs(contributing): remove TOC
#12903 opened
Aug 15, 2024 -
Reflect rule deprecation in JSON schema
#12906 opened
Aug 15, 2024 -
[ruff] Implement check for Decimal called with a float literal (RUF032)
#12909 opened
Aug 15, 2024 -
[`ruff`] - allow private variables for `RUF006`
#12914 opened
Aug 16, 2024 -
[red-knot] Add definition for with items
#12920 opened
Aug 16, 2024 -
[red-knot] Add symbols defined by `match` statements
#12926 opened
Aug 16, 2024 -
[flake8-type-checking] Adds implementation for TCH007 and TCH008
#12927 opened
Aug 16, 2024 -
Use `FoldHash` instead of `FxHash`
#12943 opened
Aug 16, 2024 -
[`perflint`] Improve docs for `try-except-in-loop` (`PERF203`)
#12947 opened
Aug 17, 2024 -
Fix re-entrance deadlock in Package::files
#12948 opened
Aug 17, 2024 -
[`flake8-pyi`] Teach various rules that annotations might be stringized
#12951 opened
Aug 17, 2024 -
Improve release instructions for when `ruff-lsp` and `ruff-vscode` updates are required
#12952 opened
Aug 17, 2024
35 Issues closed by 8 people
-
RUF029 gives false positives with FastApi routes
#12925 closed
Aug 17, 2024 -
N817 not correctly detecting `from xml.etree import ElementTree as ET`
#12940 closed
Aug 17, 2024 -
EXE002 on file systems that do not support executable bit
#12941 closed
Aug 16, 2024 -
0.5.7 tests fail on 32bit systems
#12885 closed
Aug 16, 2024 -
ICN001 and N817 don't play with each other
#12916 closed
Aug 16, 2024 -
Docs for rules D203 and D211 have been rendered inaccurate by Black formatting
#12933 closed
Aug 16, 2024 -
"Fix all" code action on notebook causes panic with multi-byte character
#12880 closed
Aug 16, 2024 -
Invalid python code in the documentation for ASYNC100 rule
#12921 closed
Aug 16, 2024 -
F601 `multi-value-repeated-key-literal` various issues
#12911 closed
Aug 16, 2024 -
`ruff server` hangs when performing "code actions" in Helix
#12915 closed
Aug 16, 2024 -
RUF017 Avoid quadratic list summation: consider itertools.chain.from_iterable
#9045 closed
Aug 15, 2024 -
False positive for `PT005` and function returning `Iterator[None]`
#12742 closed
Aug 15, 2024 -
Rename `too-many-positional{→-arguments}`
#12619 closed
Aug 15, 2024 -
ISC001: False positive for comma-separated strings
#12902 closed
Aug 15, 2024 -
`ASYNC100` does not match upstream `flake8-async`
#12873 closed
Aug 15, 2024 -
Bug: `C419` incorrectly tries to remove list comprehension in `async for`
#12891 closed
Aug 15, 2024 -
Import sorting does not (immediately) converge?
#12872 closed
Aug 14, 2024 -
Rule RET505 cause panic
#10099 closed
Aug 14, 2024 -
Add `"src"` to `src` default
#12454 closed
Aug 14, 2024 -
Add Jupyter Notebooks to Ruff's default inclusion
#12456 closed
Aug 14, 2024 -
DOC202 false positive with abstract methods
#12893 closed
Aug 14, 2024 -
Autofix for RET503 breaks RET505 (in one case)
#5765 closed
Aug 14, 2024 -
Only Python cells should be validated in Jupyter notebooks
#12281 closed
Aug 14, 2024 -
TCH003 false-positive when using dataclasses.KW_ONLY
#12859 closed
Aug 13, 2024 -
Consider deprecating UP027 or improve its docs
#12754 closed
Aug 13, 2024 -
Stabilize `flake8-async` behavior changes
#12268 closed
Aug 13, 2024 -
How to disable Ruff linter in AstroNvim LSP?
#12795 closed
Aug 13, 2024 -
LSP: include `version` on code action responses
#12855 closed
Aug 13, 2024 -
Indent multi-line expressions in function arguments
#12854 closed
Aug 13, 2024 -
[Lint Request] Lint against `assertTrue`/`assertFalse` instead of more specific asserts
#12851 closed
Aug 13, 2024 -
PLE4703 false positive for loop statements with break
#11695 closed
Aug 12, 2024 -
RUF025 duplicates unimplemented rule C420
#12110 closed
Aug 12, 2024 -
delete this, my mistake
#12801 closed
Aug 11, 2024 -
SIM108 suggested for code block that could have been simplified to an `or`
#12189 closed
Aug 10, 2024
35 Issues opened by 30 people
-
`contains_effect` should consider f-strings to have effects
#12953 opened
Aug 17, 2024 -
List variables that are set but never used
#12950 opened
Aug 17, 2024 -
A005 (builtin module shadowing) should ignore private modules
#12949 opened
Aug 17, 2024 -
PyUpgrade rule UP007 does not work on forward reference string types
#12945 opened
Aug 17, 2024 -
D102 not silent for `overrides.overrides` or `overrides.override`
#12942 opened
Aug 16, 2024 -
ISC001 fix can modify octal escape sequences
#12936 opened
Aug 16, 2024 -
PLW0211: `@staticmethod ; def __new__(cls, ...)` disagrees with the Python docs
#12930 opened
Aug 16, 2024 -
PYI034 false positive if Self is a quoted annotation
#12928 opened
Aug 16, 2024 -
Create a test corpus with invalid programs
#12923 opened
Aug 16, 2024 -
B019 discuss
#12917 opened
Aug 16, 2024 -
[feature request] FastAPI rule: prefer `Annotated` for `Query`, `Path`, `Body`, `Cookie`
#12913 opened
Aug 16, 2024 -
C409 now makes code slower
#12912 opened
Aug 15, 2024 -
(🎁) preserve node line of `noqa` comments when formatting
#12901 opened
Aug 15, 2024 -
`non-augmented-assignment` (`PLR6104`): Can we reduce the number of unsafe recommendations from this rule?
#12890 opened
Aug 14, 2024 -
PLW3201: Customize error message for dunder methods removed with Python 3
#12883 opened
Aug 14, 2024 -
Applying `UP015` to `aiofiles`
#12879 opened
Aug 14, 2024 -
Warn about un-annotated attributes in dataclass definition
#12877 opened
Aug 14, 2024 -
Server diagnostics linger when cell language is changed
#12874 opened
Aug 14, 2024 -
`PTH123` suggests `Path.open()` which does not support file descriptors
#12871 opened
Aug 13, 2024 -
Comprehensions do not split as far as they can go, which preserves long line lengths
#12870 opened
Aug 13, 2024 -
DJ012 is not raised when a parent class, that inherits from django.Model, is in a different file.
#12865 opened
Aug 13, 2024 -
Rule request: abstractmethod appears on normal class
#12861 opened
Aug 13, 2024 -
Nested expression formatting
#12856 opened
Aug 13, 2024 -
Rule request: enforce best practices when mocking
#12850 opened
Aug 12, 2024 -
warn on invocations of `globals()` / `locals()`
#12845 opened
Aug 12, 2024 -
Warning for invalid `noqa` code is only provided when related rules are selected
#12831 opened
Aug 12, 2024 -
Auto-format `# noqa` directives
#12810 opened
Aug 11, 2024 -
`noqa` comments parsing logic
#12808 opened
Aug 11, 2024 -
`try-except-in-loop (PERF203)` possibly false-positives with `continue`/`pass` in `except` block
#12805 opened
Aug 11, 2024 -
`import-outside-top-level (PLC0415)` is incompatible with `flake8-tidy-imports.banned-module-level-imports`
#12803 opened
Aug 11, 2024 -
Check `CPY` rules in the first cell (markdown, code, or raw cell type)
#12802 opened
Aug 11, 2024 -
[feature] Add ability to specify `--range` option multiple times
#12800 opened
Aug 11, 2024 -
Ruff treats `pass` and `...` differently for
#12799 opened
Aug 11, 2024
41 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.
-
Add b040: exception with note added not re-raised or used (#12097)
#12764 commented on
Aug 17, 2024 • 5 new comments -
Eagerly validate typeshed versions
#12786 commented on
Aug 16, 2024 • 2 new comments -
quote annotations that already contain quotes
#11811 commented on
Aug 16, 2024 • 2 new comments -
Red Knot Playground
#12681 commented on
Aug 14, 2024 • 1 new comment -
Exempting certain classes/methods from various things
#12076 commented on
Aug 10, 2024 • 0 new comments -
[FALSE NEGATIVE] "S608 Possible SQL injection"
#12044 commented on
Aug 13, 2024 • 0 new comments -
Odd ecosystem results on typeshed
#11305 commented on
Aug 13, 2024 • 0 new comments -
ruff formatter: one call per line for chained method calls
#8598 commented on
Aug 14, 2024 • 0 new comments -
[D417] Missing argument descriptions for variadics *args and **kwargs should be optional
#10112 commented on
Aug 14, 2024 • 0 new comments -
Complain about redundant ternaries?
#12516 commented on
Aug 15, 2024 • 0 new comments -
Implement flake8-async rules
#8451 commented on
Aug 15, 2024 • 0 new comments -
Feature request: Make F401 unused-imports configurable for modules with side effects
#9962 commented on
Aug 15, 2024 • 0 new comments -
Feature request: isort.float-to-top
#1251 commented on
Aug 15, 2024 • 0 new comments -
Formatter: Keep right-hanging comments aligned
#7684 commented on
Aug 15, 2024 • 0 new comments -
Consider removing `ISC001` from the conflict list with ruff format
#8272 commented on
Aug 15, 2024 • 0 new comments -
Dependency Dashboard
#10578 commented on
Aug 16, 2024 • 0 new comments -
Implement flake8-spellcheck
#5014 commented on
Aug 16, 2024 • 0 new comments -
New rule: fast-api-unused-path-parameter
#12632 commented on
Aug 17, 2024 • 0 new comments -
Implement `pydoclint`
#12434 commented on
Aug 17, 2024 • 0 new comments -
[`ruff`] Re-implement `unreachable`
#10891 commented on
Aug 17, 2024 • 0 new comments -
Implement `ForVariableUsedAfterBlock` (based on `wemake_python_styleguide` `ControlVarUsedAfterBlockViolation` `WPS441`)
#11769 commented on
Aug 15, 2024 • 0 new comments -
Support globbing in `banned-api`
#2660 commented on
Aug 11, 2024 • 0 new comments -
Internal feature request: extend fuzzer `ruff_fix_validity` to non-default linter settings
#12785 commented on
Aug 12, 2024 • 0 new comments -
PT006: Could csv mode have a space between names?
#12703 commented on
Aug 12, 2024 • 0 new comments -
Consider splitting C419 for sum/min/max into its own rule
#10838 commented on
Aug 12, 2024 • 0 new comments -
Add sphinx documentation style to pydocstyle config
#6606 commented on
Aug 12, 2024 • 0 new comments -
Make E741 not apply to stub files
#10569 commented on
Aug 12, 2024 • 0 new comments -
Rule Request: useless function
#12789 commented on
Aug 12, 2024 • 0 new comments -
F841 preview changes to tuple unpacking
#8884 commented on
Aug 12, 2024 • 0 new comments -
Expose Ruff's public API as a Python library
#659 commented on
Aug 12, 2024 • 0 new comments -
F601: Repeated int keys not detected with booleans
#12772 commented on
Aug 12, 2024 • 0 new comments -
Remove the `ruff` to `ruff check` alias
#10171 commented on
Aug 12, 2024 • 0 new comments -
Remove `tab-size` setting
#12041 commented on
Aug 12, 2024 • 0 new comments -
Remove `output-format=text`
#12040 commented on
Aug 12, 2024 • 0 new comments -
Raise PT011 only if exception info is unused
#5157 commented on
Aug 12, 2024 • 0 new comments -
Idea for new Rule: Check pytest.raises Exception Info for broad Exceptions
#6840 commented on
Aug 12, 2024 • 0 new comments -
Rule to enforce import module only
#3045 commented on
Aug 12, 2024 • 0 new comments -
Implement Pylint
#970 commented on
Aug 13, 2024 • 0 new comments -
Cython support
#10250 commented on
Aug 13, 2024 • 0 new comments -
Rules/Request: Airflow DAGs checks
#4421 commented on
Aug 13, 2024 • 0 new comments -
Seeking improved pytest rules, as `flake8-pytest-style` doesn't align with best practices
#8796 commented on
Aug 13, 2024 • 0 new comments