Update dev dependencies (non-major) #174
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:
1.3.0
->1.4.1
0.0.270
->0.0.277
Release Notes
python/mypy (mypy)
v1.4.1
Compare Source
v1.4.0
Compare Source
astral-sh/ruff (ruff)
v0.0.277
Compare Source
v0.0.276
Compare Source
See the release blog post for more, including detailed descriptions of any newly added rules.
What's Changed
Highlights include: experimental support for linting Jupyter Notebooks.
To opt-in to linting Jupyter Notebook files, add the
*.ipynb
pattern to yourinclude
setting, like so:
This will prompt Ruff to discover Jupyter Notebook files in any specified directories, and lint them
accordingly.
Jupyter Notebook support is currently opt-in and experimental. We'd love your help testing it out.
Have feedback? Run into issues? Let us know!
New Rules
flake8-pyi
] ImplementPYI002
,PYI003
,PYI004
,PYI005
by @density in https://github.com/astral-sh/ruff/pull/5457numpy
] Implementnumpy-deprecated-function
(NPY003
) by @charliermarsh in https://github.com/astral-sh/ruff/pull/5468perflint
] Implementunnecessary-list-cast
(PERF101
) by @qdegraaf in https://github.com/astral-sh/ruff/pull/5121perflint
] Implementtry-except-in-loop
(PERF203
) by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/5166perflint
] Implementmanual-list-comprehension
(PERF401
) andmanual-list-copy
(PERF402
) rules by @qdegraaf in https://github.com/astral-sh/ruff/pull/5298pylint
] Implement Pylintsingle-string-used-for-slots
(C0205
) assingle-string-slots
(PLC0205
) by @tjkuson in https://github.com/astral-sh/ruff/pull/5399Jupyter
--show-source
) by @dhruvmanila in https://github.com/astral-sh/ruff/pull/5402--show-source
) (#5402) by @dhruvmanila in https://github.com/astral-sh/ruff/pull/5414Settings
pyupgrade
] Restore thekeep-runtime-typing
setting by @charliermarsh in https://github.com/astral-sh/ruff/pull/5470PythonVersion::Py312
by @charliermarsh in https://github.com/astral-sh/ruff/pull/5316Bug Fixes
pydantic.BaseSettings
inmutable-class-default
by @charliermarsh in https://github.com/astral-sh/ruff/pull/5312__slots__
assignments inmutable-class-default
by @charliermarsh in https://github.com/astral-sh/ruff/pull/5314iteration-over-set
by @charliermarsh in https://github.com/astral-sh/ruff/pull/5392unnecessary-encode-utf8
to fixencode
on parenthesized strings correctly by @harupy in https://github.com/astral-sh/ruff/pull/5478Final
assignments in stubs by @charliermarsh in https://github.com/astral-sh/ruff/pull/5490abc
decorators when classifying function types by @charliermarsh in https://github.com/astral-sh/ruff/pull/5315@Author
format for "Missing Author" rule inflake8-todos
by @mayrholu in https://github.com/astral-sh/ruff/pull/4903invalid-escape-sequence
rule by @charliermarsh in https://github.com/astral-sh/ruff/pull/5359flake8-django
] Skip duplicate violations inDJ012
by @charliermarsh in https://github.com/astral-sh/ruff/pull/5469New Contributors
Full Changelog: astral-sh/ruff@v0.0.275...v0.0.276
v0.0.275
Compare Source
What's Changed
Highlights include a 7-10x decrease in Ruff's cache size.
Rules
compare-to-empty-string
(PLC1901
) to nursery by @charliermarsh in https://github.com/astral-sh/ruff/pull/5264mutable-class-default
(RUF012
) by @charliermarsh in https://github.com/astral-sh/ruff/pull/5273typing.Final
formutable-class-default annotations
(RUF012
) by @charliermarsh in https://github.com/astral-sh/ruff/pull/5274deprecated-import
(UP035
) to prefertyping_extensions
in some versions by @tjkuson in https://github.com/astral-sh/ruff/pull/5291Bug Fixes
New Contributors
Full Changelog: astral-sh/ruff@v0.0.274...v0.0.275
v0.0.274
Compare Source
What's Changed
Follow-up release to
v0.0.273
to fix a panic in cache accesses.Bug Fixes
.unwrap()
on cache access by @charliermarsh in https://github.com/astral-sh/ruff/pull/5229RUF010
to remove unnecessarystr
calls by @charliermarsh in https://github.com/astral-sh/ruff/pull/5232Full Changelog: astral-sh/ruff@v0.0.273...v0.0.274
v0.0.273
Compare Source
What's Changed
Highlights include:
flake8-import-conventions
, which require symbol renames across a file.Rules
copyright
] Implement copyright notice detection by @Ryang20718 in https://github.com/astral-sh/ruff/pull/4701flake8-datetimez
] Enable UTC-import fordatetime-utc-alias
fix by @charliermarsh in https://github.com/astral-sh/ruff/pull/5100flake8-implicit-str-concat
] Add autofix forISC001
by @tkukushkin in https://github.com/astral-sh/ruff/pull/4853flake8-import-conventions
] Enable autofix for unconventional imports rule by @charliermarsh in https://github.com/astral-sh/ruff/pull/5152flake8-pyi
] Add autofix forSet
-to-AbstractSet
rewrite using reference tracking by @charliermarsh in https://github.com/astral-sh/ruff/pull/5074flake8-pyi
] Implement PYI044 by @Thomasdezeeuw in https://github.com/astral-sh/ruff/pull/5021flake8-return
] Extend revisedRET504
implementation towith
statements by @charliermarsh in https://github.com/astral-sh/ruff/pull/4998flake8-return
] Implement autofix for revisedRET504
rule by @charliermarsh in https://github.com/astral-sh/ruff/pull/4999flake8-return
] RefactorRET504
to only enforce assignment-then-return pattern by @charliermarsh in https://github.com/astral-sh/ruff/pull/4997flake8-slots
] Add plugin, addSLOT000
,SLOT001
andSLOT002
by @qdegraaf in https://github.com/astral-sh/ruff/pull/4909perflint
] Addperflint
plugin, add first rulePERF102
by @qdegraaf in https://github.com/astral-sh/ruff/pull/4821pylint
] Add Pylint rulecomparison-with-itself
(R0124
) by @tjkuson in https://github.com/astral-sh/ruff/pull/4957pyupgrade
] Add a rule to remove unnecessary parentheses in class definitions by @charliermarsh in https://github.com/astral-sh/ruff/pull/5032ruff
] Add a rule for static keys in dict comprehensions by @rodjunger in https://github.com/astral-sh/ruff/pull/4929ruff
] Add rule to disallow implicit optional with autofix by @dhruvmanila in https://github.com/astral-sh/ruff/pull/4831ruff
] Expand RUF008 to all classes, but to a new code (RUF012) by @adampauls in https://github.com/astral-sh/ruff/pull/4390ruff
] Remove unannotated attributes from RUF008 by @charliermarsh in https://github.com/astral-sh/ruff/pull/5049ruff
] Upgrade explicit-type-conversion rule (RUF010
) to remove unnecessarystr
calls by @charliermarsh in https://github.com/astral-sh/ruff/pull/4971Settings
-o
/--output-file
) to write output to a file by @dhruvmanila in https://github.com/astral-sh/ruff/pull/4950Caching
Jupyter
Bug Fixes
__all__
by @charliermarsh in https://github.com/astral-sh/ruff/pull/4967pytest.fail
by @charliermarsh in https://github.com/astral-sh/ruff/pull/5040async with
inredefined-loop-name
by @charliermarsh in https://github.com/astral-sh/ruff/pull/5125DJ008
enforcement in stub files by @charliermarsh in https://github.com/astral-sh/ruff/pull/5139TypedDict
conversion logic for shadowed builtins and dunder methods by @charliermarsh in https://github.com/astral-sh/ruff/pull/5038__all__
definitions for docstring visibility by @charliermarsh in https://github.com/astral-sh/ruff/pull/5052reimplemented-builtin
if usingawait
by @tjkuson in https://github.com/astral-sh/ruff/pull/5101__future__
imports by @charliermarsh in https://github.com/astral-sh/ruff/pull/5128W293
by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/5172New Contributors
Full Changelog: astral-sh/ruff@v0.0.272...v0.0.273
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
Configuration
📅 Schedule: Branch creation - "before 4am" in timezone America/Chicago, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.