- Assume Python 3.8 instead of 3.10 for target version by @zanieb in astral-sh/ruff#6397
- [
flake8-pyi]PYI019: detects if a type variable is used instead ofSelfin return annotations by @qdegraaf in astral-sh/ruff#6204 - [
flake8-pyi]PYI051: detects unions ofLiteraltypes by @LaBatata101 in astral-sh/ruff#6215 - [
flake8-pyi]PYI055: detects unions oftypetypes by @LaBatata101 in astral-sh/ruff#6316 - [
pylint]E1300: detects invalid string format characters by @silvanocerza in astral-sh/ruff#6171 - [
pyupgrade]UP040: upgrades type alias annotations to use PEP-695 syntax by @zanieb in astral-sh/ruff#6289
- [
flake8-boolean-trap]FBT003: Addis_andis_notto excluded functions by @zanieb in astral-sh/ruff#6307 - [
flake8-logging-format] Allow capitalized names for logger candidate heuristic match by @charliermarsh in astral-sh/ruff#6356 - [
flake8-pyi] Applicable rules are now checked non-stub code by @andersk in astral-sh/ruff#6297PYI013:ellipsis-in-non-empty-class-bodyPYI016:duplicate-union-memberPYI018:unused-private-type-varPYI019:custom-type-var-return-typePYI024:collections-named-tuplePYI025:unaliased-collections-abc-set-importPYI030:unnecessary-literal-unionPYI032:any-eq-ne-annotationPYI034:non-self-return-typePYI036:bad-exit-annotationPYI041:redundant-numeric-unionPYI042:snake-case-type-aliasPYI043:t-suffixed-type-aliasPYI045:iter-method-return-iterablePYI046:unused-private-protocolPYI047:unused-private-type-aliasPYI049:unused-private-typed-dictPYI050:no-return-argument-annotation-in-stub (Python ≥ 3.11)PYI051:redundant-literal-unionPYI056:unsupported-method-call-on-all
- [
flake8-pyi]PYI027is being replaced byPYI022/UP035by @LaBatata101 in astral-sh/ruff#6354 - [
pydocstyle]D103: Don't require docstrings in.pyifiles by @charliermarsh in astral-sh/ruff#6239 - [
pydocstyle]D203: Ignore same-line docstrings for lines-before and lines-after rules by @charliermarsh in astral-sh/ruff#6344 - [
pylint]PLE0605: Allow generic tuple and list calls in__all__by @charliermarsh in astral-sh/ruff#6247 - [
pylint]PLR0124: Add detection of comparisons with built-in calls by @charliermarsh in astral-sh/ruff#6324 - [
pyupgrade]UP032: Add support forawaitexpressions in f-strings by @harupy in astral-sh/ruff#6304 - [
pyupgrade]UP032: Add support for implicitly concatenated strings by @harupy in astral-sh/ruff#6263 - [
pyupgrade]UP032: Add support for repeated format fields by @harupy in astral-sh/ruff#6266 - [
ruff]RUF012: PermitClassVarandFinalwithout subscript by @bluetech in astral-sh/ruff#6273
- [
flake8-bugbear]B006: Respecttyping_extensionsimports ofAnnotatedby @PIG208 in astral-sh/ruff#6361 - [
flake8-pyi]PYI019: Fix panic with positional-only arguments by @charliermarsh in astral-sh/ruff#6350 - [
flake8-use-pathlib] Avoid raisingPTH206withmaxsplitby @charliermarsh in astral-sh/ruff#6283 - [
flake8]F841: Update autofix to not remove Jupyer magic expressions by @dhruvmanila in astral-sh/ruff#6141 - [
pycodestyle]E721: Include comparisons to builtin types by @charliermarsh in astral-sh/ruff#6325 - [
pycodestyle]E721: Match left-hand sidetypes()call intypes-comparisonby @charliermarsh in astral-sh/ruff#6326 - [
pyupgrade]UP031: Avoid auto-fixing if there are comments within the right-hand side by @harupy in astral-sh/ruff#6364 - [
pyupgrade]UP032: Avoid auto-fixing if comments are present around format call arguments by @harupy in astral-sh/ruff#6342 - [
pyupgrade]UP032: Improve invalid expression check by @harupy in astral-sh/ruff#6308 - Avoid attempting to fix
.format(...)calls with too-few-arguments by @charliermarsh in astral-sh/ruff#6401 - Fix bug where
.gitignorefiles in parent directories were incorrectly used by @charliermarsh in astral-sh/ruff#6368 - Fix duplicate violations raised on nested bitwise or
Unionexpressions by @charliermarsh in astral-sh/ruff#6399
- Add a simple tooltip to the sidebar by @charliermarsh in astral-sh/ruff#6295
- Add an icon for FIR by @charliermarsh in astral-sh/ruff#6292
- Increase icon opacity on-hover by @charliermarsh in astral-sh/ruff#6291
- Tweak background on theme button by @charliermarsh in astral-sh/ruff#6290
- Add
pre-commit installinCONTRIBUTING.mdby @harupy in astral-sh/ruff#6153 - Fix links in docs by @harupy in astral-sh/ruff#6265
- Improve handling of violations around Jupyter magic expressions by @dhruvmanila in astral-sh/ruff#5552
- Reduce memory usage by boxing type params and arguments fields on the class definition node by @charliermarsh in astral-sh/ruff#6275
- Upgrade Rust to 1.71 by @zanieb in astral-sh/ruff#6323
- @silvanocerza made their first contribution in astral-sh/ruff#6171
- @PIG208 made their first contribution in astral-sh/ruff#6361
Full Changelog: https://github.com/astral-sh/ruff/compare/v0.0.282...v0.0.283