Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.237->^0.0.247Release Notes
charliermarsh/ruff
v0.0.247Compare Source
What's Changed
Rules
NPY001] deprecated type aliases by @sbrugman in https://github.com/charliermarsh/ruff/pull/2810RUF006] Implementasyncio-dangling-taskto trackasyncio.create_taskcalls by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2935CLI
Bug Fixes
flake8-tidy-imports] autofix relative imports by @sbrugman in https://github.com/charliermarsh/ruff/pull/2891elifbranches by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2881New Contributors
Full Changelog: astral-sh/ruff@v0.0.246...v0.0.247
v0.0.246Compare Source
What's Changed
Breaking Changes
Rules
flake8-pyi]: add rules for unrecognized platform check (PYI007, PYI008) by @SigureMo in https://github.com/charliermarsh/ruff/pull/2805flake8-simplify]: combine-if-conditions by @colin99d in https://github.com/charliermarsh/ruff/pull/2823flake8-django] Implemented flake8-django plugin rules by @konysko in https://github.com/charliermarsh/ruff/pull/2586CLI
configsubcommand by @not-my-profile in https://github.com/charliermarsh/ruff/pull/2775--show-fixesflag to show applied fixes by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2707Settings
Autofix
pyflakes] Support unused variable removal in multi-assignment statements by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2786flake8-comprehensions] autofix C414 and C417 + bugfix by @sbrugman in https://github.com/charliermarsh/ruff/pull/2693flake8-comprehensions] bugfix for C413 autofix by @sbrugman in https://github.com/charliermarsh/ruff/pull/2804flake8-simplify] Use smarter inversion for comparison checks by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2831flake8-comprehensions] improve autofix for C401, C402 and C417 by @sbrugman in https://github.com/charliermarsh/ruff/pull/2806Bug Fixes
noqaenforcement by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2783New Contributors
Full Changelog: astral-sh/ruff@v0.0.245...v0.0.246
v0.0.245Compare Source
What's Changed
Breaking Changes
Rules
flake8-pyi]Add flake8-pyi with one rule by @sbdchd in https://github.com/charliermarsh/ruff/pull/2682pylint]: bad-string-format-type by @colin99d in https://github.com/charliermarsh/ruff/pull/2572pylint]: yield-in-init by @tomecki in https://github.com/charliermarsh/ruff/pull/2716flake8-tidy-imports] Implement autofix for relative imports (TID252) by @sbrugman in https://github.com/charliermarsh/ruff/pull/2739flake8-bandit]: try-except-continue by @colin99d in https://github.com/charliermarsh/ruff/pull/2674flake8-bandit] Implement bandit's 'hardcoded-sql-expressions' S608 by @mattoberle in https://github.com/charliermarsh/ruff/pull/2698pycodestyle] Implement compound-statements (E701, E702, E703, E704) by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2680Settings
# noqa: E999directives by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2697Bug Fixes
Path.readlink()behind Python 3.9+ guard by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2708__all__members as used at end-of-scope by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2733__all__bindings for global scope by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2738function_type::classifyforyield-in-initby @charliermarsh in https://github.com/charliermarsh/ruff/pull/2742New Contributors
Full Changelog: astral-sh/ruff@v0.0.244...v0.0.245
v0.0.244Compare Source
What's Changed
Rules
pylint]: bidirectional-unicode by @colin99d in https://github.com/charliermarsh/ruff/pull/2589Settings
--exit-non-zero-on-fixby @charliermarsh in https://github.com/charliermarsh/ruff/pull/2668Documentation
explanationmethod on Rule struct via rustdoc by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2642Bug Fixes
__setitem__by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2636.pywrt. implicit namespace package by @scop in https://github.com/charliermarsh/ruff/pull/2640@pytest.mark.parametrizedecorators by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2662New Contributors
Full Changelog: astral-sh/ruff@v0.0.243...v0.0.244
v0.0.243Compare Source
What's Changed
Rules
Bug Fixes
typing.NamedTupleandtyping.TypedDicttreatment by @scop in https://github.com/charliermarsh/ruff/pull/2611ignore-namesfor all relevant pep8-naming rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2617Full Changelog: astral-sh/ruff@v0.0.242...v0.0.243
v0.0.242Compare Source
What's Changed
Rules
too-many-branchesrule (PLR0912) by @chanman3388 in https://github.com/charliermarsh/ruff/pull/2550too-many-return-statementsrule (PLR0911) by @chanman3388 in https://github.com/charliermarsh/ruff/pull/2564pyupgrade]: Removes quotes from annotations by @colin99d in https://github.com/charliermarsh/ruff/pull/2431pylint]: bad-str-strip-call by @colin99d in https://github.com/charliermarsh/ruff/pull/2570Bug Fixes
mypyandSPDX-License-Identifierfalse positives by @scop in https://github.com/charliermarsh/ruff/pull/2587New Contributors
Full Changelog: astral-sh/ruff@v0.0.241...v0.0.242
v0.0.241Compare Source
What's Changed
Deprecates
update-checkby @akx in https://github.com/charliermarsh/ruff/pull/2530Rules
Features
known-standard-libraryfor each Python version by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/2491Bug Fixes
flake8-self] Fix False Negative Issue on RuleSLF001by @saadmk11 in https://github.com/charliermarsh/ruff/pull/2527--show-filesby @charliermarsh in https://github.com/charliermarsh/ruff/pull/2543implicit-namespace-packageby @charliermarsh in https://github.com/charliermarsh/ruff/pull/2560list()andtuple()calls in__all__assignments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2499New Contributors
Full Changelog: astral-sh/ruff@v0.0.240...v0.0.241
v0.0.240Compare Source
What's Changed
Rules
pyupgrade]: Remove outdatedsys.version_infoblocks by @colin99d in https://github.com/charliermarsh/ruff/pull/2099flake8-self] Add Plugin and RuleSLF001by @saadmk11 in https://github.com/charliermarsh/ruff/pull/2470pylint] Implement pylint'stoo-many-statementsrule (PLR0915) by @chanman3388 in https://github.com/charliermarsh/ruff/pull/2445Settings
isort] Support forced_separate by @akx in https://github.com/charliermarsh/ruff/pull/2268isort] Add isort option lines-after-imports by @reidswan in https://github.com/charliermarsh/ruff/pull/2440Bug Fixes
if 0:andif False:as type-checking blocks by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2485--add-noqaedits by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2465ignoreto next config layer ifselect = []by @not-my-profile in https://github.com/charliermarsh/ruff/pull/2467New Contributors
Full Changelog: astral-sh/ruff@v0.0.239...v0.0.240
v0.0.239Compare Source
What's Changed
Rules
pyupgrade] Implement import-replacement rule (UP035) by @colin99d in https://github.com/charliermarsh/ruff/pull/2049flake8-raise] Add Plugin andRSE102Rule by @saadmk11 in https://github.com/charliermarsh/ruff/pull/2354flake8-quotes] Allow implicit multiline strings with internal quotes to use non-preferred quote by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2416Documentation
Bug Fixes
I001] fix isort check for files with tabs and no indented blocks by @sciyoshi in https://github.com/charliermarsh/ruff/pull/2374New Contributors
Full Changelog: astral-sh/ruff@v0.0.238...v0.0.239
v0.0.238Compare Source
What's Changed
select,extend-select,ignore, andextend-ignorehave new semantics (#2312)Previously, the interplay between
selectand its related options could lead to unexpected behavior. For example,ruff --select E501 --ignore ALLandruff --select E501 --extend-ignore ALLbehaved differently. (See #2312 for more examples.)The new semantics are such that Ruff uses the "highest-priority"
selectas the basis for the rule set, and then applies anyextend-select,ignore, andextend-ignoreadjustments. CLI options are given higher priority thanpyproject.tomloptions, and the currentpyproject.tomlfile is given higher priority than any inheritedpyproject.tomlfiles.As an example:
ruff --select F401will select ruleF401, and ignore any of the modifiers from thepyproject.toml, as the "highest-priorty" select kicks off the resolution chain.This change is largely backwards compatible -- most users should experience no change in behavior. For more, see BREAKING_CHANGES.md.
remove-six-compat(UP016) has been removed (#2332)The
remove-six-compatrule has been removed. This rule was only useful for one-time Python 2-to-3 upgrades.Rules
too-many-argumentsrule (PLR0913) by @akhildevelops in https://github.com/charliermarsh/ruff/pull/2308Settings
ruff lintersubcommand by @not-my-profile in https://github.com/charliermarsh/ruff/pull/2294Bug Fixes
exc_infologger rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2364TRY201] don't check raise statements in nested exception handlers by @sciyoshi in https://github.com/charliermarsh/ruff/pull/2337I001] fix isort for files with tab-based indentation by @sciyoshi in https://github.com/charliermarsh/ruff/pull/2361New Contributors
Full Changelog: astral-sh/ruff@v0.0.237...v0.0.238
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.