@astral-sh/ruff-wasm-bundler
Advanced tools
Changelog
0.5.6
Ruff 0.5.6 automatically enables linting and formatting of notebooks in preview mode.
You can opt-out of this behavior by adding *.ipynb
to the extend-exclude
setting.
[tool.ruff]
extend-exclude = ["*.ipynb"]
flake8-builtins
] Implement import, lambda, and module shadowing (#12546)pydoclint
] Add docstring-missing-returns
(DOC201
) and docstring-extraneous-returns
(DOC202
) (#12485)flake8-return
] Exempt cached properties and other property-like decorators from explicit return rule (RET501
) (#12563)$/logTrace
for server trace logs in Zed and VS Code (#12564)flake8-implicit-str-concat
] Always allow explicit multi-line concatenations when implicit concatenations are banned (#12532)flake8-async
] Avoid flagging asyncio.timeout
s as unused when the context manager includes asyncio.TaskGroup
(#12605)flake8-slots
] Avoid recommending __slots__
for classes that inherit from more than namedtuple
(#12531)isort
] Avoid marking required imports as unused (#12537)isort
] Preserve trailing inline comments on import-from statements (#12498)pycodestyle
] Add newlines before comments (E305
) (#12606)pycodestyle
] Don't attach comments with mismatched indents (#12604)pyflakes
] Fix preview-mode bugs in F401
when attempting to autofix unused first-party submodule imports in an __init__.py
file (#12569)pylint
] Respect start index in unnecessary-list-index-lookup
(#12603)pyupgrade
] Avoid recommending no-argument super in slots=True
dataclasses (#12530)pyupgrade
] Use colon rather than dot formatting for integer-only types (#12534)Changelog
0.5.5
fastapi
] Implement fastapi-redundant-response-model
(FAST001
) and fastapi-non-annotated-dependency
(FAST002
) (#11579)pydoclint
] Implement docstring-missing-exception
(DOC501
) and docstring-extraneous-exception
(DOC502
) (#11471)numpy
] Fix NumPy 2.0 rule for np.alltrue
and np.sometrue
(#12473)numpy
] Ignore NPY201
inside except
blocks for compatibility with older numpy versions (#12490)pep8-naming
] Avoid applying ignore-names
to self
and cls
function names (N804
, N805
) (#12497)Ord
implementation of cmp_fix
(#12471)pydoclint
] Fix panic in DOC501
reported in #12428 (#12435)flake8-bugbear
] Allow singleton tuples with starred expressions in B013
(#12484)Changelog
0.5.4
ruff
] Rename RUF007
to zip-instead-of-pairwise
(#12399)flake8-builtins
] Avoid shadowing diagnostics for @override
methods (#12415)flake8-comprehensions
] Insert parentheses for multi-argument generators (#12422)pydocstyle
] Handle escaped docstrings within docstring (D301
) (#12192)Changelog
0.5.3
Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped documentation, including setup guides for your editor of choice and the language server itself.
pyupgrade
] Implement unnecessary-default-type-args
(UP043
) (#12371)flake8-bugbear
] Detect enumerate iterations in loop-iterator-mutation
(B909
) (#12366)flake8-bugbear
] Remove discard
, remove
, and pop
allowance for loop-iterator-mutation
(B909
) (#12365)pylint
] Allow repeated-equality-comparison
for mixed operations (PLR1714
) (#12369)pylint
] Ignore self
and cls
when counting arguments (PLR0913
) (#12367)pylint
] Use UTF-8 as default encoding in unspecified-encoding
fix (PLW1514
) (#12370)--preview
flag for server
subcommand for the linter and formatter (#12208)flake8-comprehensions
] Allow additional arguments for sum
and max
comprehensions (C419
) (#12364)pylint
] Avoid dropping extra boolean operations in repeated-equality-comparison
(PLR1714
) (#12368)pylint
] Consider expression before statement when determining binding kind (PLR1704
) (#12346)