chore(deps): update development dependencies (non-major) #14
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:
==7.3.2
->==7.3.3
==23.11.0
->==23.12.0
==0.1.6
->==0.1.8
==1.1.338
->==1.1.341
Release Notes
nedbat/coveragepy (dev/coverage)
v7.3.3
Compare Source
Fix: function definitions with multi-line signatures can now be excluded by
matching any of the lines, closing
issue 684
. Thanks,Jan Rusak, Maciej Kowalczyk and Joanna Ejzel <pull 1705_>
.Fix: XML reports could fail with a TypeError if files had numeric components
that were duplicates except for leading zeroes, like
file1.py
andfile001.py
. Fixesissue 1709
_.The
coverage annotate
command used to announce that it would be removedin a future version. Enough people got in touch to say that they use it, so
it will stay. Don't expect it to keep up with other new features though.
Added new :ref:
debug options <cmd_run_debug>
:pytest
writes the pytest test name into the debug output.dataop2
writes the full data being added to CoverageData objects... _issue 684:https://github.com/nedbat/coveragepy/issues/6844
.. _pull 1705https://github.com/nedbat/coveragepy/pull/170505
.. _issue 170https://github.com/nedbat/coveragepy/issues/1709709
.. _changes_7-3-2:
psf/black (lint/black)
v23.12.0
Compare Source
Highlights
It's almost 2024, which means it's time for a new edition of Black's stable style!
Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft
2024 stable style, which we'll finalize in the January release. Please try it out and
share your feedback.
This release (23.12.0) will still produce the 2023 style. Most but not all of the
changes in
--preview
mode will be in the 2024 stable style.Stable style
# fmt: off
automatically dedents when used with the--line-ranges
option, even when it is not within the specified line range. (#4084)
Preview style
indented less (#4012)
docstring (#4060)
--line-length
(#4086)functions or class definitions (#4066) (#4103)
Configuration
--line-ranges
now skips Black's internal stability check in--safe
mode. Thisavoids a crash on rare inputs that have many unformatted same-content lines. (#4034)
Packaging
Integrations
astral-sh/ruff (lint/ruff)
v0.1.8
Compare Source
This release includes opt-in support for formatting Python snippets within
docstrings via the
docstring-code-format
setting.Check out the blog post for more details!
Preview features
"preserve"
quote-style to mimic Black's skip-string-normalization (#8822)prefer_splitting_right_hand_side_of_assignments
preview style (#8943)pycodestyle
] Add fix forunexpected-spaces-around-keyword-parameter-equals
(#9072)pycodestyle
] Add fix for comment-related whitespace rules (#9075)pycodestyle
] Allowsys.path
modifications between imports (#9047)refurb
] Implementhashlib-digest-hex
(FURB181
) (#9077)Rule changes
flake8-type-checking
rules to automatically quote runtime-evaluated references (#6001)flake8-annotations
] AvoidANN2xx
fixes for abstract methods with empty bodies (#9034)flake8-self
] Ignore underscore references in type annotations (#9036)pep8-naming
] Allow class names whenapps.get_model
is a non-string (#9065)pycodestyle
] Allowmatplotlib.use
calls to intersperse imports (#9094)pyflakes
] Support fixing unused assignments in tuples by renaming variables (F841
) (#9107)pylint
] Add fix forsubprocess-run-without-check
(PLW1510
) (#6708)Formatter
docstring-code-format
knob to enable docstring snippet formatting (#8854)CLI
--output-format
(#9078)Bug fixes
flake8-err-msg
] AllowEM
fixes even ifmsg
variable is defined (#9059)flake8-pie
] Prevent keyword arguments duplication (#8450)flake8-pie
] Respect trailing comma inunnecessary-dict-kwargs
(PIE804
) (#9015)flake8-raise
] Avoid removing parentheses on ctypes.WinError (#9027)isort
] Avoid invalid combination offorce-sort-within-types
andlines-between-types
(#9041)isort
] Ensure that from-style imports are always ordered first in__future__
(#9039)pycodestyle
] Allow tab indentation before keyword (#9099)pylint
] Ignore@overrides
and@overloads
fortoo-many-positional
(#9000)pyupgrade
] Enableprintf-string-formatting
fix with comments on right-hand side (#9037)refurb
] Makemath-constant
(FURB152
) rule more targeted (#9054)refurb
] Support floating-point base inredundant-log-base
(FURB163
) (#9100)ruff
] Detectunused-asyncio-dangling-task
(RUF006
) on unused assignments (#9060)v0.1.7
Compare Source
Preview features
fix_power_op_line_length
preview style (#8947)flake8-annotations
] Enable auto-return-type involvingOptional
andUnion
annotations (#8885)flake8-bandit
] Implementdjango-raw-sql
(S611
) (#8651)flake8-bandit
] Implementtarfile-unsafe-members
(S202
) (#8829)flake8-pyi
] Implement fix forunnecessary-literal-union
(PYI030
) (#7934)flake8-simplify
] Extenddict-get-with-none-default
(SIM910
) to non-literals (#8762)pylint
] - addunnecessary-list-index-lookup
(PLR1736
) + autofix (#7999)pylint
] - implement R0202 and R0203 with autofixes (#8335)pylint
] Implementrepeated-keyword
(PLe1132
) (#8706)pylint
] Implementtoo-many-positional
(PLR0917
) (#8995)pylint
] Implementunnecessary-dict-index-lookup
(PLR1733
) (#8036)refurb
] Implementredundant-log-base
(FURB163
) (#8842)Rule changes
flake8-boolean-trap
] Allow booleans in@override
methods (#8882)flake8-bugbear
] AvoidB015
,B018
for last expression in a cell (#8815)flake8-pie
] Allow ellipses for enum values in stub files (#8825)flake8-pyi
] Check PEP 695 type aliases forsnake-case-type-alias
andt-suffixed-type-alias
(#8966)flake8-pyi
] Check for kwarg and varargNoReturn
type annotations (#8948)flake8-simplify
] Omit select context managers fromSIM117
(#8801)pep8-naming
] Allow Django model loads innon-lowercase-variable-in-function
(N806
) (#8917)pycodestyle
] AvoidE703
for last expression in a cell (#8821)pycodestyle
] UpdateE402
to work at cell level for notebooks (#8872)pydocstyle
] AvoidD100
for Jupyter Notebooks (#8816)pylint
] Implement fix forunspecified-encoding
(PLW1514
) (#8928)Formatter
CLI
ruff check
andruff format
to default to the current directory (#8791)Configuration
pylint
] Defaultmax-positional-args
tomax-args
(#8998)pylint
] Addallow-dunder-method-names
setting forbad-dunder-method-name
(PLW3201
) (#8812)isort
] Add support forfrom-first
setting (#8663)isort
] Add support forlength-sort
settings (#8841)Bug fixes
@functools.singledispatch
(#8934)get_model
matching (#8965)@overload
and@override
methods for too-many-arguments checks (#8954)Mode::Expression
(#8880)pydantic_settings.BaseSettings
as having default copy semantics (#8793)NamedTuple
assignments (#8810)flake8-type-checking
(#8768)flake8-annotations
] Avoid filtering out un-representable types in return annotation (#8881)flake8-pie
] Retain extra ellipses in protocols and abstract methods (#8769)flake8-pyi
] Respect local enum subclasses insimple-defaults
(PYI052
) (#8767)flake8-trio
] Use correct range forTRIO115
fix (#8933)flake8-trio
] Use full arguments range for zero-sleep-call (#8936)isort
] fix: mark__main__
as first-party import (#8805)pep8-naming
] AvoidN806
errors for type alias statements (#8785)perflint
] AvoidPERF101
if there's an append in loop body (#8809)pycodestyle
] Allow space-before-colon after end-of-slice (#8838)pydocstyle
] Avoid non-character breaks inover-indentation
(D208
) (#8866)pydocstyle
] Ignore underlines when determining docstring logical lines (#8929)pylint
] Extendself-assigning-variable
to multi-target assignments (#8839)tryceratops
] Avoid repeated triggers in nestedtryceratops
diagnostics (#8772)Documentation
flake8-pyi
] Fix error int-suffixed-type-alias
(PYI043
) example (#8963)flake8-pyi
] Improve motivation forcustom-type-var-return-type
(PYI019
) (#8766)RobertCraigie/pyright-python (types/pyright)
v1.1.341
Compare Source
v1.1.340
Compare Source
v1.1.339
Compare Source
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.