build(deps): bump the test-and-lint-dependencies group with 2 updates
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(10 months ago)
(10 months ago)
dependencies python
Bumps the test-and-lint-dependencies group with 2 updates: ruff and zizmor.
Updates ruff from 0.12.8 to 0.12.9
Release notes
Sourced from ruff's releases.
0.12.9
Release Notes
Preview features
- [
airflow] Add check forairflow.secrets.cache.SecretCache(AIR301) (#17707)- [
ruff] Offer a safe fix for multi-digit zeros (RUF064) (#19847)Bug fixes
- [
flake8-blind-except] FixBLE001false-positive onraise ... from None(#19755)- [
flake8-comprehensions] Fix false positive forC420with attribute, subscript, or slice assignment targets (#19513)- [
flake8-simplify] Fix handling of U+001C..U+001F whitespace (SIM905) (#19849)Rule changes
- [
pylint] Use lowercase hex characters to match the formatter (PLE2513) (#19808)Documentation
- Fix
lint.future-annotationslink (#19876)Other changes
Build
riscv64binaries for release (#19819)Add rule code to error description in GitLab output (#19896)
Improve rendering of the
fulloutput format (#19415)Below is an example diff for
F401:-unused.py:8:19: F401 [*] `pathlib` imported but unused +F401 [*] `pathlib` imported but unused + --> unused.py:8:19 | 7 | # Unused, _not_ marked as required (due to the alias). 8 | import pathlib as non_alias - | ^^^^^^^^^ F401 + | ^^^^^^^^^ 9 | 10 | # Unused, marked as required. | - = help: Remove unused import: `pathlib` +help: Remove unused import: `pathlib`For now, the primary difference is the movement of the filename, line number, and column information to a second line in the header. This new representation will allow us to make further additions to Ruff's diagnostics, such as adding sub-diagnostics and multiple annotations to the same snippet.
... (truncated)
Changelog
Sourced from ruff's changelog.
0.12.9
Preview features
- [
airflow] Add check forairflow.secrets.cache.SecretCache(AIR301) (#17707)- [
ruff] Offer a safe fix for multi-digit zeros (RUF064) (#19847)Bug fixes
- [
flake8-blind-except] FixBLE001false-positive onraise ... from None(#19755)- [
flake8-comprehensions] Fix false positive forC420with attribute, subscript, or slice assignment targets (#19513)- [
flake8-simplify] Fix handling of U+001C..U+001F whitespace (SIM905) (#19849)Rule changes
- [
pylint] Use lowercase hex characters to match the formatter (PLE2513) (#19808)Documentation
- Fix
lint.future-annotationslink (#19876)Other changes
Build
riscv64binaries for release (#19819)Add rule code to error description in GitLab output (#19896)
Improve rendering of the
fulloutput format (#19415)Below is an example diff for
F401:-unused.py:8:19: F401 [*] `pathlib` imported but unused +F401 [*] `pathlib` imported but unused + --> unused.py:8:19 | 7 | # Unused, _not_ marked as required (due to the alias). 8 | import pathlib as non_alias - | ^^^^^^^^^ F401 + | ^^^^^^^^^ 9 | 10 | # Unused, marked as required. | - = help: Remove unused import: `pathlib` +help: Remove unused import: `pathlib`For now, the primary difference is the movement of the filename, line number, and column information to a second line in the header. This new representation will allow us to make further additions to Ruff's diagnostics, such as adding sub-diagnostics and multiple annotations to the same snippet.
Commits
ef42246Bump 0.12.9 (#19917)dc2e8ab[ty] supportkw_only=Truefordataclass()andfield()(#19677)9aaa82dFeature/build riscv64 bin (#19819)3288ac2[ty] Add caching toCodeGeneratorKind::matches()(#19912)1167ed6[ty] RenamefunctionArgumentNamestocallArgumentNamesinlay hint setting...2ee47d8[ty] Defaultty.inlayHints.*server settings to true (#19910)d324ced[ty] Remove py-fuzzer skips for seeds that are no longer slow (#19906)5a570c8[ty] fix deferred name loading in PEP695 generic classes/functions (#19888)baadb5a[ty] Add some additional type safety toCycleDetector(#19903)df0648a[flake8-blind-except] FixBLE001false-positive onraise ... from None...- Additional commits viewable in compare view
Updates zizmor from 1.11.0 to 1.12.1
Release notes
Sourced from zizmor's releases.
v1.12.1
Bug Fixes 🐛🔗
- Fixed a bug where the cache-poisoning would incorrectly detect the opposite cases for cache enablement (#1081)
v1.12.0
New Features 🌈🔗
- New audit: unsound-condition detects
if:conditions that inadvertently always evaluate to true (#1053)Enhancements 🌱🔗
- The cache-poisoning audit now supports auto-fixes for many findings (#923)
- The known-vulnerable-actions audit now supports auto-fixes for many findings (#1019)
- zizmor is now stricter about parsing
uses:clauses. In particular, zizmor will no longer acceptuses: org/repowithout a trailing@ref, as GitHub Actions itself does not accept this syntax (#1019)- The use-trusted-publishing audit now detects many more patterns, including
cargo publishand otherrun:blocks that make use of publishing commands directly (#1042)- The insecure-commands audit now supports auto-fixes for many findings (#1045)
- The template-injection audit now detects more action injection sinks (#1059)
Bug Fixes 🐛🔗
- Fixed a bug where
--fixwould fail to preserve comments when modifying block-style YAML mappings (#995)- Fixed a bug where zizmor would crash when given a GitHub API token with leading or trailing whitespace (#1027)
- Fixed a bug where template-injection findings in
--fixmode would be incorrectly patched when referencing anenv.*context (#1052)- Fixed a bug where template-injection findings in
--fixmode would be patched with shell syntax that didn't match the step's actual shell (#1064)v1.11.1-rc1
No release notes provided.
Changelog
Sourced from zizmor's changelog.
1.12.1
Bug Fixes 🐛
- Fixed a bug where the [cache-poisoning] would incorrectly detect the opposite cases for cache enablement (#1081)
1.12.0
New Features 🌈
- New audit: [unsound-condition] detects
if:conditions that inadvertently always evaluate totrue(#1053)Enhancements 🌱
- The [cache-poisoning] audit now supports auto-fixes for many findings (#923)
- The [known-vulnerable-actions] audit now supports auto-fixes for many findings (#1019)
zizmoris now stricter about parsinguses:clauses. In particular,zizmorwill no longer acceptuses: org/repowithout a trailing@ref, as GitHub Actions itself does not accept this syntax (#1019)- The [use-trusted-publishing] audit now detects many more patterns, including
cargo publishand other#!yaml run:blocks that make use of publishing commands directly (#1042)- The [insecure-commands] audit now supports auto-fixes for many findings (#1045)
- The [template-injection] audit now detects more action injection sinks (#1059)
Bug Fixes 🐛
- Fixed a bug where
--fixwould fail to preserve comments when modifying block-style YAML mappings (#995)- Fixed a bug where
zizmorwould crash when given a GitHub API token with leading or trailing whitespace (#1027)- Fixed a bug where [template-injection] findings in
--fixmode would be incorrectly patched when referencing anenv.*context (#1052)- Fixed a bug where [template-injection] findings in
--fixmode would be patched with shell syntax that didn't match the step's actual shell (#1064)
Commits
dbc12d4chore: prep release v1.12.1 (#1083)3113922fix: flip setup-uv coordinate toggle (#1082)703e9d9fix(ci): fix release-binaries workflow (#1079)ad779b7chore: bump MSRV (#1076)6c13403chore: fix warnings in latest Rust (#1075)982be23chore: prep for release v1.12.0 (#1073)d306c4achore: bump github-actions-expressions to 0.0.9 (#1074)42b0346chore(deps): bump the github-actions group with 6 updates (#1071)9f7bcaechore(deps): bump the cargo group with 7 updates (#1072)2b036dachore(docs): fix indentation in workflow samples (#1068)- 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
Pull Request Statistics
1
1
+2
-2
Technical Details
| ID: | 5363514 |
| UUID: | 2755986484 |
| Node ID: | PR_kwDOAHkylc6kRQQ0 |
| Host: | GitHub |
| Repository: | theupdateframework/python-tuf |
| Merge State: | Unknown |