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:
23.9.1
->23.11.0
41.0.4
->41.0.5
==41.0.4
->==41.0.5
==0.25.0
->==0.25.1
==6.1.0
->==6.1.1
4.19.1
->4.20.0
==4.19.1
->==4.20.0
==2023.7.1
->==2023.11.1
0.14.0
->0.15.0
==0.14.0
->==0.15.0
2.7.0
->2.8.0
==2.7.0
->==2.8.0
1.7.0
->1.8.1
==1.7.0
->==1.8.1
7.4.2
->7.4.3
0.29.0
->0.31.0
==0.30.2
->==0.31.0
==0.10.6
->==0.13.0
0.0.292
->0.1.5
Release Notes
psf/black (black)
v23.11.0
Compare Source
Highlights
--line-ranges
command-line option(#4020)
Stable style
await (a ** b)
(#3994)fixes a crash (#4019)
Preview style
less (#3964)
indented less (#3992)
now preserved (#4005)
case
blocks were not split into multiple lines. Also enablegeneral trailing comma rules on
case
blocks (#4024)class definition (#4028)
Configuration
--include
(#3976)Performance
Integrations
formatter (#3940)
v23.10.1
Compare Source
Highlights
Preview style
Packaging
Integrations
summary
parameter. (#3958)
Documentation
https://github.com/psf/black/issues/39683968
v23.10.0
Compare Source
Stable style
Preview style
multiple lines (#3899)
Configuration
BLACK_CACHE_DIR
is set (#3937)Parser
type
were not acccepted insidematch
statements(#3950)
(#3949)
Output
code (#3933)
(#3938)
Integrations
pyca/cryptography (cryptography)
v41.0.5
Compare Source
encode/httpx (httpx)
v0.25.1
Compare Source
Fixed
ValueError
onResponse.encoding
being set afterResponse.text
has been accessed. (#2852)python/importlib_resources (importlib-resources)
v6.1.1
Compare Source
python-jsonschema/jsonschema (jsonschema)
v4.20.0
Compare Source
=======
unevaluatedItems
(resp.unevaluatedProperties
) when behind a$dynamicRef
as specified by the 2020 and 2019 specifications.jsonschema.exceptions.ErrorTree.__setitem__
is now deprecated.More broadly, in general users of
jsonschema
should never be mutating objects owned by the library.v4.19.2
Compare Source
=======
additionalItems
keyword into JSON Schema draft 2020-12, where it was replaced byitems
.python-jsonschema/jsonschema-specifications (jsonschema-specifications)
v2023.11.1
Compare Source
Full Changelog: python-jsonschema/jsonschema-specifications@v2023.07.1...v2023.11.1
gtsystem/lightkube (lightkube)
v0.15.0
Compare Source
What's Changed
resource_registry.register(…)
by @gtsystem in https://github.com/gtsystem/lightkube/pull/55Full Changelog: gtsystem/lightkube@v0.14.0...v0.15.0
canonical/operator (ops)
v2.8.0
Compare Source
Unit.reboot()
and `Harness.reboot_count``RelationMeta.optional
Handle
'skey
was expanded fromstr
tostr|None
app
andunit
in relation events to excludeNone
where applicablepython-poetry/poetry-core (poetry-core)
v1.8.1
Compare Source
Fixed
git+
could not be parsed anymore (#657).v1.8.0
Compare Source
Added
3.12
to the list of available Python versions (#631).Changed
extra
markers (#636).#646).
Dependency.transitive_python_versions
(#648).Dependency.transitive_python_constraint
(#649).Fixed
lib
folder was added to the wheel (#634).Vendoring
jsonschema
withfastjsonschema
.lark==1.1.8
packaging==23.2
pytest-dev/pytest (pytest)
v7.4.3
: pytest 7.4.3 (2023-10-24)Compare Source
Bug Fixes
#10447: Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression.
#11239: Fixed
:=
in asserts impacting unrelated test cases.#11439: Handled an edge case where :data:
sys.stderr
might already be closed when :ref:faulthandler
is tearing down.python-jsonschema/referencing (referencing)
v0.31.0
Compare Source
Full Changelog: python-jsonschema/referencing@v0.30.2...v0.31.0
crate-py/rpds (rpds-py)
v0.13.0
Compare Source
What's Changed
New Contributors
Full Changelog: crate-py/rpds@v0.12.0...v0.13.0
v0.12.0
Compare Source
Full Changelog: crate-py/rpds@v0.11.0...v0.12.0
v0.11.0
Compare Source
New Contributors
Full Changelog: crate-py/rpds@v0.10.6...v0.11.0
astral-sh/ruff (ruff)
v0.1.5
Compare Source
Preview features
flake8-bandit
] Implementmako-templates
(S702
) (#8533)flake8-trio
] ImplementTRIO105
(#8490)flake8-trio
] ImplementTRIO109
(#8534)flake8-trio
] ImplementTRIO110
(#8537)flake8-trio
] ImplementTRIO115
(#8486)refurb
] Implementtype-none-comparison
(FURB169
) (#8487)E721
(#8491)SIM118
fix as safe when the expression is a known dictionary (#8525)Formatter
CLI
--extension
to override inference of source type from file extension (#8373)Configuration
extend_unsafe_fixes
andoverride extend_safe_fixes
(#8444)RUFF_NO_CACHE
environment variable (#8538)Bug fixes
E721
] Flag comparisons tomemoryview
(#8485)D301
autofix foru
prefixed strings (#8495)flake8-trio
rules whentrio
import is present (#8550)TRIO115
violations fortrio.sleep(...)
calls with non-number values (#8532)F841
false negative on assignment to multiple variables (#8489)Documentation
known-first-party
(#8562)project.requires-python
overtarget-version
(#8513)B008
documentation (#8501)v0.1.4
Compare Source
Preview features
flake8-trio
] Implementtimeout-without-await
(TRIO001
) (#8439)numpy
] Implement NumPy 2.0 migration rule (NPY200
) (#7702)pylint
] Implementbad-open-mode
(W1501
) (#8294)pylint
] Implementimport-outside-toplevel
(C0415
) rule (#5180)pylint
] Implementuseless-with-lock
(W2101
) (#8321)pyupgrade
] Implementtimeout-error-alias
(UP041
) (#8476)refurb
] Implementisinstance-type-none
(FURB168
) (#8308)RUF001
,RUF002
, andRUF003
(#4430)Formatter
fmt: skip
(#8273)fmt: off
(#8275)--line-length
option toformat
command (#8363)CLI
--output-format
toruff rule
andruff linter
(#8203)Bug fixes
--force-exclude
inlint.exclude
andformat.exclude
(#8393)--extend-per-file-ignores
on the CLI (#8329)bad-dunder-method-name
to permit__index__
(#8300)D300
when both triple quote styles are present (#8462)FStringRanges
(#8154)shell=True
for truthy, non-True
diagnostics (#8359)NamedTuple
rewrite with starred annotation (#8434)PLE1307
was raised when formatting%c
with characters (#8407)fixedOverflowWidgets
for playground popover (#8458)byte_bounds
as a non-backwards-compatible NumPy 2.0 change (#8474)Internals
--fix
and--diff
(#8316)v0.1.3
Compare Source
This release includes a variety of improvements to the Ruff formatter, removing several known and
unintentional deviations from Black.
Formatter
None
,True
andFalse
(#8189)isort
settings (#8192)isort.force-single-line
is true (#8244)SourceKind::diff
for formatter (#8240)fmt:off
with trailing child comment (#8234)IpyEscapeCommand
(#8207)Linter
pylint
] Add buffer methods tobad-dunder-method-name
(PLW3201
) exclusions (#8190)external
codes setting inunused-noqa
(#8177)line-length
setting for isort in lieu ofpycodestyle.max-line-length
(#8235)unnecessary-paren-on-raise-exception
to unsafe for unknown types (#8231)W605
(#8255)Documentation
unused-noqa
(#8172)external
option tounused-noqa
documentation (#8171)magic-trailing-comma
option in README (#8200)v0.1.2
Compare Source
This release includes the Beta version of the Ruff formatter — an extremely fast, Black-compatible Python formatter.
Try it today with
ruff format
! Check out the blog post and read the docs.Preview features
pylint
] Implementnon-ascii-module-import
(C2403
) (#8056)pylint
] implementnon-ascii-name
(C2401
) (#8038)pylint
] Implement unnecessary-lambda (W0108) (#7953)refurb
] Implementread-whole-file
(FURB101
) (#7682)E223
,E224
, andE242
(#8143)E225
,E226
,E227
, andE228
(#8136)E252
(#8142)E261
(#8114)E273
andE274
(#8144)E275
(#8133)SIM401
to catch ternary operations (#7415)E721
to allowis
andis
not for direct type comparisons (#7905)Rule changes
backports.strenum
todeprecated-imports
(#8113)SIM112
to ignorehttps_proxy
,http_proxy
, andno_proxy
(#8140)literal-membership
(PLR6201
) to be unsafe (#8097)mutable-argument-defaults
(B006
) to be unsafe (#8108)Formatter
line-ending
default toauto
(#8057)has_own_parentheses
(#8100)--line-length
option fromformat
command (#8131)line-length
documentation (#8150)CLI
ruff format
command in help menus (#8167)ruff version
command with long version display (#8034)Configuration
pycodestyle.max-line-length
option (#8039)Bug fixes
sys.version_info
slices inoutdated-version-block
(#8112)TYPE_CHECKING
blocks (#8072)Documentation
too-many-arguments
lint (#8092)extend-unsafe-fixes
andextend-safe-fixes
example (#8139)flake8-import-conventions
options (#8115)Options
JSON schema description (#8081)pytext
->pytest
) (#8117)magic-value-comparison
example in docs (#8111)v0.1.1
Compare Source
Rule changes
escape-sequence-in-docstring
(D301
) (#7970)Configuration
#(deprecated)
attribute in configuration options (#8035)[format|lint].exclude
options (#8000)tab-size
setting in formatter (#8006)lint.preview
(#8002)Preview features
pylint
] Implementliteral-membership
(PLR6201
) (#7973)pylint
] Implementtoo-many-boolean-expressions
(PLR0916
) (#7975)pylint
] Implementmisplaced-bare-raise
(E0704
) (#7961)pylint
] Implementglobal-at-module-level
(W0604
) (#8058)pylint
] Implementunspecified-encoding
(PLW1514
) (#7939)triple-single-quotes
(D300
) (#7967)Formatter
ruff format
(#7878)--target-version
toruff format
(#8055)in
keyword (#8054)--diff
option toruff format
(#7937)pass
over ellipsis in non-function/class contexts (#8049)Bug fixes
bad-dunder-method-name
for_
(#8015)URLOpen
audit (#8047)iteration-over-set
to preserve whitespace and comments (#8001)Documentation
B005
docs (#8028)--output-format
(#8014)lint.preview
andformat.preview
(#8032)RuleGroup::Preview
. (#7989)v0.1.0
Compare Source
This is the first release which uses the
CHANGELOG
file. See GitHub Releases for prior changelog entries.Read Ruff's new versioning policy.
Breaking changes
format
setting has been removed (#7984)format
setting cannot be used to configure the output format, useoutput-format
insteadRUFF_FORMAT
environment variable is ignored, useRUFF_OUTPUT_FORMAT
instead--format
option has been removed fromruff check
, use--output-format
insteadRule changes
reimplemented-starmap
(FURB140
) to catch calls with a single and starred argument (#7768)RUF015
(#7848)SIM15
to allowopen
followed byclose
(#7916)msgspec.Struct
default-copy semantics inRUF012
(#7786)sqlalchemy
methods to `flake8-boolean-trap`` exclusion list (#7874)PLR1714
(#7910)PIE804
(#7884)PLC0208
(#7887)PYI055
(#7886)non-pep695-type-alias
to require--unsafe-fixes
outside of stub files (#7836)UP018
(#7913)PLW3201
to supportEnum
sunder names (#7987)Preview features
unnecessary-key-check
to simplifykey in dct and dct[key]
todct.get(key)
(#7895)assignment-in-assert
to prevent walrus expressions in assert statements (#7856)refurb
] Addsingle-item-membership-test
(FURB171
) (#7815)pylint
] Addand-or-ternary
(R1706
) (#7811)New rules are added in preview.
Configuration
unsafe-fixes
setting (#7769)extend-safe-fixes
andextend-unsafe-fixes
for promoting and demoting fixes (#7841)CLI
--unsafe-fixes
option for opt-in to display and apply unsafe fixes (#7769)--format
option in warning (#7837)--check
(#7788)check --diff
to include unsafe fix hints (#7790)cell
field to JSON output format (#7664)Safe
,Unsafe
, andDisplay
(#7843)Bug fixes
SIM110
with a yield in the condition (#7801)C414
fixes (#7775)unnecessary-enumerate
len
suggestion (#7781)SIM101
(#7798)E251
false positive inside f-strings (#7894)stdin
(#7789)ruff rule
(#7812)--unfixable
inISC
rules (#7917)PIE804
(#7922)PTH118
forPath.joinpath
with starred arguments (#7852)outdated-version-block
when using greater than comparisons (#7920)gettext
calls (#7898)PLR6301
(#7933)TCH004
(#7968)cache-dir
relative to project root (#7962)TCH003
(#7954)line-length
(#7883)coalesce
keyword (#7876)Documentation
reimplemented-starmap
performance effects (#7846)Configuration
📅 Schedule: Branch creation - "after 1am and before 2am every weekday" in timezone Etc/UTC, 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.