Bump the dev-dependencies group with 2 updates by dependabot[bot] · Pull Request #114 · bretterer/rivian-python-client
Bumps the dev-dependencies group with 2 updates: pytest and ruff.
Updates pytest from 8.3.3 to 8.3.4
Release notes
Sourced from pytest's releases.
8.3.4
pytest 8.3.4 (2024-12-01)
Bug fixes
#12592: Fixed
KeyError{.interpreted-text role="class"} crash when using--import-mode=importlibin a directory layout where a directory contains a child directory with the same name.#12818: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the
AST, like executing.#12849: ANSI escape codes for colored output now handled correctly in
pytest.fail{.interpreted-text role="func"} with [pytrace=False]{.title-ref}.#9353:
pytest.approx{.interpreted-text role="func"} now uses strict equality when given booleans.Improved documentation
#10558: Fix ambiguous docstring of
pytest.Config.getoption{.interpreted-text role="func"}.#10829: Improve documentation on the current handling of the
--basetempoption and its lack of retention functionality (temporary directory location and retention{.interpreted-text role="ref"}).#12866: Improved cross-references concerning the
recwarn{.interpreted-text role="fixture"} fixture.#12966: Clarify
filterwarnings{.interpreted-text role="ref"} docs on filter precedence/order when using multiple@pytest.mark.filterwarnings <pytest.mark.filterwarnings ref>{.interpreted-text role="ref"} marks.Contributor-facing changes
- #12497: Fixed two failing pdb-related tests on Python 3.13.
Commits
53f8b4eUpdate pypa/gh-action-pypi-publish to v1.12.298dff36Prepare release version 8.3.41b474e2approx: use exact comparison for bool (#13013)b541721docs: Fix wrong statement about sys.modules with importlib import mode (#1298...16cb87bpytest.fail: fix ANSI escape codes for colored output (#12959) (#12990)be6bc81Issue #12966 Clarify filterwarnings docs on precedence when using multiple ma...7aeb72bImprove docs on basetemp and retention (#12912) (#12928)c875841Merge pull request #12917 from pytest-dev/patchback/backports/8.3.x/ded1f44e5...6502816Merge pull request #12913 from jakkdl/dontfailonbadpath52135b0Merge pull request #12885 from The-Compiler/pdb-py311 (#12887)- Additional commits viewable in compare view
Updates ruff from 0.7.2 to 0.8.1
Release notes
Sourced from ruff's releases.
0.8.1
Release Notes
Preview features
- Formatter: Avoid invalid syntax for format-spec with quotes for all Python versions (#14625)
- Formatter: Consider quotes inside format-specs when choosing the quotes for an f-string (#14493)
- Formatter: Do not consider f-strings with escaped newlines as multiline (#14624)
- Formatter: Fix f-string formatting in assignment statement (#14454)
- Formatter: Fix unnecessary space around power operator (
**) in overlong f-string expressions (#14489)- [
airflow] Avoid implicitscheduleargument toDAGand@dag(AIR301) (#14581)- [
flake8-builtins] Exempt private built-in modules (A005) (#14505)- [
flake8-pytest-style] Fixpytest.mark.parametrizerules to check calls instead of decorators (#14515)- [
flake8-type-checking] Implementruntime-cast-value(TC006) (#14511)- [
flake8-type-checking] Implementunquoted-type-alias(TC007) andquoted-type-alias(TC008) (#12927)- [
flake8-use-pathlib] RecommendPath.iterdir()overos.listdir()(PTH208) (#14509)- [
pylint] Extendinvalid-envvar-defaultto detectos.environ.get(PLW1508) (#14512)- [
pylint] Implementlen-test(PLC1802) (#14309)- [
refurb] Fix bug where methods defined using lambdas were flagged byFURB118(#14639)- [
ruff] Auto-addrprefix when string has no backslashes forunraw-re-pattern(RUF039) (#14536)- [
ruff] Implementinvalid-assert-message-literal-argument(RUF040) (#14488)- [
ruff] Implementunnecessary-nested-literal(RUF041) (#14323)- [
ruff] Implementunnecessary-regular-expression(RUF055) (#14659)Rule changes
- Ignore more rules for stub files (#14541)
- [
pep8-naming] Eliminate false positives for single-letter names (N811,N814) (#14584)- [
pyflakes] Avoid false positives in@no_type_checkcontexts (F821,F722) (#14615)- [
ruff] Detect redirected-noqa in file-level comments (RUF101) (#14635)- [
ruff] Mark fixes forunsorted-dunder-allandunsorted-dunder-slotsas unsafe when there are complex comments in the sequence (RUF022,RUF023) (#14560)Bug fixes
- Avoid fixing code to
None | Noneforredundant-none-literal(PYI061) andnever-union(RUF020) (#14583, #14589)- [
flake8-bugbear] Fixmutable-contextvar-defaultto resolve annotated function calls properly (B039) (#14532)- [
flake8-pyi,ruff] Fix traversal of nested literals and unions (PYI016,PYI051,PYI055,PYI062,RUF041) (#14641)- [
flake8-pyi] Avoid rewriting invalid type expressions inunnecessary-type-union(PYI055) (#14660)- [
flake8-type-checking] Avoid syntax errors and type checking problem for quoted annotations autofix (TC003,TC006) (#14634)- [
pylint] Do not wrap function calls in parentheses in the fix for unnecessary-dunder-call (PLC2801) (#14601)- [
ruff] Handleattrs'sauto_attribscorrectly (RUF009) (#14520)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.8.1
Preview features
- Formatter: Avoid invalid syntax for format-spec with quotes for all Python versions (#14625)
- Formatter: Consider quotes inside format-specs when choosing the quotes for an f-string (#14493)
- Formatter: Do not consider f-strings with escaped newlines as multiline (#14624)
- Formatter: Fix f-string formatting in assignment statement (#14454)
- Formatter: Fix unnecessary space around power operator (
**) in overlong f-string expressions (#14489)- [
airflow] Avoid implicitscheduleargument toDAGand@dag(AIR301) (#14581)- [
flake8-builtins] Exempt private built-in modules (A005) (#14505)- [
flake8-pytest-style] Fixpytest.mark.parametrizerules to check calls instead of decorators (#14515)- [
flake8-type-checking] Implementruntime-cast-value(TC006) (#14511)- [
flake8-type-checking] Implementunquoted-type-alias(TC007) andquoted-type-alias(TC008) (#12927)- [
flake8-use-pathlib] RecommendPath.iterdir()overos.listdir()(PTH208) (#14509)- [
pylint] Extendinvalid-envvar-defaultto detectos.environ.get(PLW1508) (#14512)- [
pylint] Implementlen-test(PLC1802) (#14309)- [
refurb] Fix bug where methods defined using lambdas were flagged byFURB118(#14639)- [
ruff] Auto-addrprefix when string has no backslashes forunraw-re-pattern(RUF039) (#14536)- [
ruff] Implementinvalid-assert-message-literal-argument(RUF040) (#14488)- [
ruff] Implementunnecessary-nested-literal(RUF041) (#14323)- [
ruff] Implementunnecessary-regular-expression(RUF055) (#14659)Rule changes
- Ignore more rules for stub files (#14541)
- [
pep8-naming] Eliminate false positives for single-letter names (N811,N814) (#14584)- [
pyflakes] Avoid false positives in@no_type_checkcontexts (F821,F722) (#14615)- [
ruff] Detect redirected-noqa in file-level comments (RUF101) (#14635)- [
ruff] Mark fixes forunsorted-dunder-allandunsorted-dunder-slotsas unsafe when there are complex comments in the sequence (RUF022,RUF023) (#14560)Bug fixes
- Avoid fixing code to
None | Noneforredundant-none-literal(PYI061) andnever-union(RUF020) (#14583, #14589)- [
flake8-bugbear] Fixmutable-contextvar-defaultto resolve annotated function calls properly (B039) (#14532)- [
flake8-pyi,ruff] Fix traversal of nested literals and unions (PYI016,PYI051,PYI055,PYI062,RUF041) (#14641)- [
flake8-pyi] Avoid rewriting invalid type expressions inunnecessary-type-union(PYI055) (#14660)- [
flake8-type-checking] Avoid syntax errors and type checking problem for quoted annotations autofix (TC003,TC006) (#14634)- [
pylint] Do not wrap function calls in parentheses in the fix for unnecessary-dunder-call (PLC2801) (#14601)- [
ruff] Handleattrs'sauto_attribscorrectly (RUF009) (#14520)0.8.0
Check out the blog post for a migration guide and overview of the changes!
Breaking changes
See also, the "Remapped rules" section which may result in disabled rules.
- Default to Python 3.9
... (truncated)
Commits
b3b2c98Update CHANGELOG.md with the new commits for 0.8.1 (#14664)abb3c6e[flake8-pyi] Avoid rewriting invalid type expressions in `unnecessary-type-...224fe75[ruff] Implementunnecessary-regular-expression(RUF055) (#14659)dc29f52[flake8-pyi,ruff] Fix traversal of nested literals and unions (PYI016,...d9cbf2fAvoids unnecessary overhead forTC004, whenTC001-003are disabled (#14657)3f6c65e[red-knot] Fix merged type after if-else without explicit else branch (#14621)976c37aBump version to 0.8.1 (#14655)a378ff3[red-knot] Fix Boolean flags in mdtests (#14654)d8bca0dFix bug where methods defined using lambdas were flagged by FURB118 (#14639)6f1cf5b[red-knot] Minor fix in MRO tests (#14652)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions