Update dependency ruff to v0.0.254 #117
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.254
Release Notes
charliermarsh/ruff
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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, 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.