-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(pre-commit): update ruff to v0.0.272 #879
Merged
Merged
Conversation
This file contains 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
renovate
bot
force-pushed
the
renovate/ruff
branch
from
February 19, 2023 21:00
15f3590
to
6a116bb
Compare
renovate
bot
changed the title
chore(deps): update ruff to v0.0.248
chore(pre-commit): update ruff to v0.0.248
Feb 19, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
February 19, 2023 21:04
6a116bb
to
95c0f29
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.248
chore(pre-commit): update charliermarsh/ruff-pre-commit to v0.0.248
Feb 19, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
February 20, 2023 23:49
95c0f29
to
ad05f49
Compare
renovate
bot
changed the title
chore(pre-commit): update charliermarsh/ruff-pre-commit to v0.0.248
chore(pre-commit): update ruff to v0.0.249
Feb 20, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
February 21, 2023 21:22
ad05f49
to
5239a61
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.249
chore(pre-commit): update ruff to v0.0.250
Feb 21, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
February 22, 2023 02:30
5239a61
to
9695a8f
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.250
chore(pre-commit): update ruff to v0.0.251
Feb 22, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
February 22, 2023 20:52
9695a8f
to
90778fc
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.251
chore(pre-commit): update ruff to v0.0.252
Feb 22, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
February 27, 2023 21:36
90778fc
to
292845f
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.252
chore(pre-commit): update ruff to v0.0.253
Feb 27, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
March 4, 2023 07:54
292845f
to
aa3a1b7
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.253
chore(pre-commit): update ruff to v0.0.254
Mar 4, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
March 13, 2023 20:05
aa3a1b7
to
32b180b
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.254
chore(pre-commit): update ruff to v0.0.255
Mar 13, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
March 15, 2023 07:18
32b180b
to
0c39df7
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.255
chore(pre-commit): update ruff to v0.0.256
Mar 15, 2023
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.256
chore(pre-commit): update ruff to v0.0.257
Mar 18, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
March 18, 2023 23:55
0c39df7
to
08c99a5
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.257
chore(pre-commit): update ruff
Mar 22, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
2 times, most recently
from
March 22, 2023 23:10
16052a2
to
759261e
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff
chore(pre-commit): update ruff to v0.0.258
Mar 22, 2023
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.258
chore(pre-commit): update ruff to v0.0.259
Mar 23, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
2 times, most recently
from
March 30, 2023 00:32
fffcfe2
to
571fc44
Compare
renovate
bot
force-pushed
the
renovate/ruff
branch
from
April 5, 2023 03:26
571fc44
to
caa9b7d
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.260
chore(pre-commit): update ruff to v0.0.261
Apr 5, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
April 19, 2023 21:48
caa9b7d
to
953cd6a
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.261
chore(pre-commit): update ruff to v0.0.262
Apr 19, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
2 times, most recently
from
April 25, 2023 09:02
f54a82a
to
20a41d2
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.262
chore(pre-commit): update ruff to v0.0.263
Apr 25, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
May 2, 2023 11:04
20a41d2
to
cc34e9e
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.263
chore(pre-commit): update ruff to v0.0.264
May 2, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
May 5, 2023 18:37
cc34e9e
to
3ca0636
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.264
chore(pre-commit): update ruff to v0.0.265
May 5, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
May 12, 2023 18:21
3ca0636
to
1a78a81
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.265
chore(pre-commit): update ruff
May 12, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
May 12, 2023 22:20
1a78a81
to
5a83db2
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff
chore(pre-commit): update ruff to v0.0.267
May 12, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
May 18, 2023 21:53
5a83db2
to
273485c
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.267
chore(pre-commit): update ruff to v0.0.269
May 18, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
May 24, 2023 22:41
273485c
to
5841b34
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.269
chore(pre-commit): update ruff to v0.0.270
May 24, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
June 7, 2023 00:03
5841b34
to
5427976
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.270
chore(pre-commit): update ruff
Jun 7, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
June 7, 2023 04:02
5427976
to
1d17730
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff
chore(pre-commit): update ruff to v0.0.271
Jun 7, 2023
renovate
bot
force-pushed
the
renovate/ruff
branch
from
June 8, 2023 04:55
1d17730
to
8fad380
Compare
renovate
bot
changed the title
chore(pre-commit): update ruff to v0.0.271
chore(pre-commit): update ruff to v0.0.272
Jun 8, 2023
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
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:
v0.0.247
->v0.0.272
==0.0.247
->==0.0.272
Note: The
pre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
charliermarsh/ruff-pre-commit
v0.0.272
Compare Source
v0.0.271
Compare Source
v0.0.270
Compare Source
v0.0.269
Compare Source
v0.0.267
Compare Source
v0.0.266
Compare Source
v0.0.265
Compare Source
v0.0.264
Compare Source
v0.0.263
Compare Source
v0.0.262
Compare Source
v0.0.261
Compare Source
v0.0.260
Compare Source
v0.0.259
Compare Source
v0.0.258
Compare Source
v0.0.257
Compare Source
v0.0.256
Compare Source
v0.0.255
Compare Source
v0.0.254
Compare Source
v0.0.253
Compare Source
v0.0.252
Compare Source
v0.0.251
Compare Source
v0.0.250
Compare Source
v0.0.249
Compare Source
v0.0.248
Compare Source
charliermarsh/ruff
v0.0.272
Compare Source
What's Changed
Breaking Changes
Rules
flake8-pyi
] Implement PYI050 by @density in https://github.com/charliermarsh/ruff/pull/4884Bug Fixes
dict.get
fix before ternary rewrite by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4944C413
fix as suggested forreversed
call by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4891B905
by @kyoto7250 in https://github.com/charliermarsh/ruff/pull/4914Full Changelog: astral-sh/ruff@v0.0.271...v0.0.272
v0.0.271
Compare Source
What's Changed
Rules
airflow
] Add AIR001: task variable name should be same as task_id arg by @jlaneve in https://github.com/charliermarsh/ruff/pull/4687flake8-bandit
] Implement S609, linux_commands_wildcard_injection by @scop in https://github.com/charliermarsh/ruff/pull/4504flake8-bugbear
] Move duplicate-value rule to flake8-bugbear by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4882flake8-fixme
] Implementflake8_fixme
and refactorTodoDirective
by @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/4681flake8-future-annotations
] ImplementFA102
by @akx in https://github.com/charliermarsh/ruff/pull/4702flake8-pyi
] Add PYI024 forflake8-pyi
plugin by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4756flake8-pyi
] Add PYI034 forflake8-pyi
plugin by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4764flake8-pyi
] AddPYI032
rule with autofix by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4695flake8-pyi
] Add autofix for PYI010 by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4634flake8-pyi
] Implement PYI029 by @density in https://github.com/charliermarsh/ruff/pull/4851flake8-pyi
] Implement PYI035 by @density in https://github.com/charliermarsh/ruff/pull/4820flake8-pyi
] Implement PYI048 forflake8-pyi
plugin by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4645flake8-pyi
] Implement PYI053 by @density in https://github.com/charliermarsh/ruff/pull/4770flake8-pyi
] Implement PYI054 by @density in https://github.com/charliermarsh/ruff/pull/4775flake8-pyi
] ImplementPYI025
by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4791flake8-pyi
] ImplementPYI045
by @density in https://github.com/charliermarsh/ruff/pull/4700pylint
] Add Pylint ruleC0208
(use-sequence-for-iteration
) asPLC0208
(iteration-over-set
) by @tjkuson in https://github.com/charliermarsh/ruff/pull/4706pylint
] Add autofix forPLR1701
(repeated-isinstance-calls) by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4792pylint
] Implement Pylint'syield-inside-async-function
rule (PLE1700
) by @chanman3388 in https://github.com/charliermarsh/ruff/pull/4668pylint
] implement E307 for pylint invalid str return type by @Ryang20718 in https://github.com/charliermarsh/ruff/pull/4854ruff
] Lint pyproject.toml by @konstin in https://github.com/charliermarsh/ruff/pull/4496tryceratops
] Ignore error calls withexc_info
in TRY400 by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4797Settings
pyflakes.extend-generics
setting by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/4677Bug Fixes
B024
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4647async for
formatting by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4675join()
arguments are strings by @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/4834__all__
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4885New Contributors
Full Changelog: astral-sh/ruff@v0.0.270...v0.0.271
v0.0.270
Compare Source
What's Changed
Rules
flake8-bandit
] Implementparamiko-call
(S601
) by @scop in https://github.com/charliermarsh/ruff/pull/4500flake8-pyi
] Add autofix for PYI009 by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4583flake8-pyi
] ImplementPYI013
by @density in https://github.com/charliermarsh/ruff/pull/4517pylint
] Addduplicate-value
(W0130
) by @hoel-bagard in https://github.com/charliermarsh/ruff/pull/4515pylint
] Addnamed_expr_without_context
(W0131
) by @hoel-bagard in https://github.com/charliermarsh/ruff/pull/4531ruff
] ExtendRUF005
to recursive and literal-literal concatenations by @hoel-bagard in https://github.com/charliermarsh/ruff/pull/4557ruff
] Make ambiguous-unicode detection sensitive to 'word' context by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4552ruff
] Name ambiguous characters by @covracer in https://github.com/charliermarsh/ruff/pull/4448Settings
--extend-fixable
option by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4297extend-per-file-ignores
setting by @aacunningham in https://github.com/charliermarsh/ruff/pull/4265Bug Fixes
# isort: split
comment detection in nested blocks by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4584__qualname__
,__module__
, and__class__
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4512#region
code folding marks in eradicate rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4546tab-size
to correcly calculate the line length with tabulations by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/4167TypeVar
andNewType
name arguments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4627Message
sorting performance by @MichaReiser in https://github.com/charliermarsh/ruff/pull/4624New Contributors
Full Changelog: astral-sh/ruff@v0.0.269...v0.0.270
v0.0.269
Compare Source
What's Changed
(This is a rerelease of
v0.0.268
, which didn't make it to PyPI due to user error. As such, the release notes are copied below.)pycodestyle
This release includes optimized implementations of a large portion of
pycodestyle
, for those that use Ruff without an autoformatter.In this initial release, the rules are being introduced under a "nursery" flag, which requires that users explicitly select them (e.g.,
select = ["E111"]
); in other words, these rules are not yet enabled viaselect = ["E"]
.If you're interested in testing the
pycodestyle
rules, you can enable them via:These rules will be included as part of the
E
category in a future release.Breaking Changes
pyupgrade
] Removekeep-runtime-typing
setting by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4427Rules
pylint
] Addduplicate-bases
rule by @alonme in https://github.com/charliermarsh/ruff/pull/4411pylint
] FixPLW3301
auto-fix with generators by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/4412flake8-async
] Implement flake8-async plugin by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4432pyupgrade
] Enable automatic rewrites oftyping.Deque
andtyping.DefaultDict
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4420flake8-pyi
] Implementunannotated-assignment-in-stub
(PY052
) by @sladyn98 in https://github.com/charliermarsh/ruff/pull/4293tryceratops
] Implement TRY302 -raise
afterexcept
by @john-h-k in https://github.com/charliermarsh/ruff/pull/4461flake8-bandit
] Improve SQL injection detection logic (S608
) by @scop in https://github.com/charliermarsh/ruff/pull/4499flake8-todos
] Implementflake8_todos
by @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/3921flake8-future-annotations
] Implementflake8-future-annotations
FA100 by @TylerYep in https://github.com/charliermarsh/ruff/pull/3979pycodestyle
rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3689pycodestyle
rules under new "nursery" category by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4407Settings
Bug Fixes
RUF010
autofix within f-strings by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/4423pd#at
and friends on non-subscripts by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4474New Contributors
Full Changelog: astral-sh/ruff@v0.0.267...v0.0.269
v0.0.267
Compare Source
Summary
Follow-up release to v0.0.266 to fix an issue with
python -m ruff
- andimport ruff
-based workflows.(No new rules or functionality.)
What's Changed
Rules
RUF010
to detect explicit type conversions within f-strings by @LotemAm in https://github.com/charliermarsh/ruff/pull/4387Other Changes
New Contributors
Full Changelog: astral-sh/ruff@v0.0.266...v0.0.267
v0.0.266
Compare Source
What's Changed
Breaking Changes
update-check
setting by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4313Rules
pygrep-hooks
] Implement pygrep-hook's Mock-mistake diagnostic by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4366pylint
] Implementnested-min-max
(W3301
) by @mccullocht in https://github.com/charliermarsh/ruff/pull/4200flynt
] Implement Flynt static string join transform as FLY002 by @akx in https://github.com/charliermarsh/ruff/pull/4196pylint
] Include positional- and keyword-only arguments in too-many-arguments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4329ruff
] Update confusable character mapping by @akx in https://github.com/charliermarsh/ruff/pull/4274Settings
Bug Fixes
PD002
in a lambda expression by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4286D403
if first char cannot be uppercased by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4283not not a
asbool(a)
in boolean contexts by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4294TRY301
exceptions without except handlers by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4301ListComp
brackets inC419
by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4099__all__
imports when determining definition visibility by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4357flake8-boolean-trap
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4385.encode
calls on parenthesized expressions by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4338SyntaxError
s before newline character by @MichaReiser in https://github.com/charliermarsh/ruff/pull/4124New Contributors
Full Changelog: astral-sh/ruff@v0.0.265...v0.0.266
v0.0.265
Compare Source
What's Changed
Breaking Changes
--fix-only
exit semantics to mirror--fix
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4146Rules
flake8-pyi
] ImplementPYI042
andPYI043
by @arya-k in https://github.com/charliermarsh/ruff/pull/4214pylint
] Implement import-self (W0406
) by @chanman3388 in https://github.com/charliermarsh/ruff/pull/4154Bug Fixes
CLI
--show-settings
output by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4199Documentation
New Contributors
Full Changelog: astral-sh/ruff@v0.0.264...v0.0.265
v0.0.264
Compare Source
What's Changed
Rules
EM101
,EM102
,EM103
if possible by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4123Settings
argfile
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4087Bug Fixes
pyright
comment prefix from PYI033 checks by @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/4152E713
andE714
false positives for multiple comparisons by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/4083NamedExpr
assignments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4145pytest.param
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4176Internal
Location
with byte-offsets. by @MichaReiser in https://github.com/charliermarsh/ruff/pull/3931memchr
to speedup newline search on x86 by @MichaReiser in https://github.com/charliermarsh/ruff/pull/3985ScopeStack
in favor of child-parentScopeId
pointers by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4138Full Changelog: astral-sh/ruff@v0.0.263...v0.0.264
v0.0.263
Compare Source
What's Changed
Rules
flake8-bugbear
] Addpytest.raises(Exception)
support to B017 by @alanhdu in https://github.com/charliermarsh/ruff/pull/4052flake8-import-conventions
] Implement new ruleICN003
to banfrom ... import ...
for selected modules by @edgarrmondragon in https://github.com/charliermarsh/ruff/pull/4040pylint
] Implement PLE0302unexpected-special-method-signature
by @mccullocht in https://github.com/charliermarsh/ruff/pull/4075pep8-naming
] IgnoreN815
forTypedDict
fields by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/4066Bug Fixes
PYI015
for valid default value without annotation by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4043RUF008
if field annotation is immutable by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4039Configuration
📅 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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.