⬆️ Update dependency ruff to v0.0.257 #85
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.0.253
->0.0.257
Release Notes
charliermarsh/ruff
v0.0.257
Compare Source
What's Changed
Rules
ruff
] Preferitertools.pairwise()
overzip()
for successive pairs (RUF007
) by @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/3501flake8-bugbear
] Addno-explicit-stacklevel
(B028
) by @johnor in https://github.com/charliermarsh/ruff/pull/3550pylint
] invalid-characters-* by @r3m0t in https://github.com/charliermarsh/ruff/pull/3552pylint
] Implementuseless-return
(R1711
) by @tomecki in https://github.com/charliermarsh/ruff/pull/3116pylint
]: Implementcontinue-in-finally
(E0116
) by @latonis in https://github.com/charliermarsh/ruff/pull/3541Bug Fixes
type
overrides in E721 by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3582value > max
style in pylint and mccabe messages by @edgarrmondragon in https://github.com/charliermarsh/ruff/pull/3553D209
andD400
by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3564New Contributors
Full Changelog: astral-sh/ruff@v0.0.256...v0.0.257
v0.0.256
Compare Source
What's Changed
Bug Fixes
math
constants in defaults by @XuehaiPan in https://github.com/charliermarsh/ruff/pull/3484not
in error message by @Czaki in https://github.com/charliermarsh/ruff/pull/3497Other Changes
# ruff:
prefix for isort action comments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3493Full Changelog: astral-sh/ruff@v0.0.255...v0.0.256
v0.0.255
Compare Source
What's Changed
Rules
flake8-pie
] Fix PIE802 broken auto-fix with trailing comma by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3402flake8-pie
] Implement autofix for PIE810 by @kyoto7250 in https://github.com/charliermarsh/ruff/pull/3411flake8-bugbear
] Addflake8-bugbear
's B030 rule by @aacunningham in https://github.com/charliermarsh/ruff/pull/3400pycodestyle
] Add E231 by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3344pyupgrade
] Flag deprecated (but renamed) imports in UP035 by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3448pyupgrade
] Remap ChainMap, Counter, and OrderedDict imports to collections by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3392pylint
] C1901: compare-to-empty-string by @AreamanM in https://github.com/charliermarsh/ruff/pull/3405pylint
] Implement W1508 invalid-envvar-default by @latonis in https://github.com/charliermarsh/ruff/pull/3449pylint
] Implement E1507 invalid-envvar-value by @latonis in https://github.com/charliermarsh/ruff/pull/3467Settings
target-version
from project metadata by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3470runtime-evaluated-decorators
andruntime-evaluated-base-classes
forflake8-type-checking
by @sasanjac in https://github.com/charliermarsh/ruff/pull/3292--format
option. by @StefanBRas in https://github.com/charliermarsh/ruff/pull/3335Bug Fixes
Bool
/Float
/Complex
numbers as simple defaults by @XuehaiPan in https://github.com/charliermarsh/ruff/pull/3459extend
points at a non-existent ruff.toml file. by @DanCardin in https://github.com/charliermarsh/ruff/pull/3417--show-fixes
with--fix-only
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3426OSError
-aliased handlers by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3451CI_PROJECT_DIR
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3475New Contributors
Full Changelog: astral-sh/ruff@v0.0.254...v0.0.255
v0.0.254
Compare Source
What's Changed
Rules
pyupgrade
] Replace tuples with type union in isinstance or issubclass calls by @martinlehoux in https://github.com/charliermarsh/ruff/pull/3280flake8-pyi
] Add flake-pyi PYI033 "Do not use type comments in stubs" by @konstin in https://github.com/charliermarsh/ruff/pull/3302flake8-pyi
] PYI006 bad version info comparison by @konstin in https://github.com/charliermarsh/ruff/pull/3291pycodestyle
] feat(E251,E252): add rules by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3274pycodestyle
] feat(E211): add rule + autofix by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3313pycodestyle
] feat(e225,226,227,228): add rules by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3300pycodestyle
] feat(W191): add indentation_contains_tabs by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3249RUF004
toB026
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3293CLI
--ignore-noqa
CLI flag to force-ignore noqa directives by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3296Settings
property-decorators
configuration option for pydocstyle by @staticssleever668 in https://github.com/charliermarsh/ruff/pull/3311@classmethod
and@staticmethod
in decorator lists by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3314Bug Fixes
RET503
autofixes to "end of statement", including comments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3324identifier_range
for a few more rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3254Path(...)
in Pathlib violations by @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/3333New Contributors
Full Changelog: astral-sh/ruff@v0.0.253...v0.0.254
Configuration
📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.