quay icon indicating copy to clipboard operation
quay copied to clipboard

chore(deps): update pre-commit hook psf/black to v22.12.0

Open red-hat-konflux[bot] opened this issue 6 months ago • 1 comments

This PR contains the following updates:

Package Type Update Change
psf/black repository minor 22.10.0 -> 22.12.0

[!WARNING] Some dependencies could not be looked up. Check the warning logs for more information.

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

psf/black (psf/black)

v22.12.0

Compare Source

Preview style
  • Enforce empty lines before classes and functions with sticky leading comments (#​3302)
  • Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (#​3348)
  • Implicitly concatenated strings used as function args are now wrapped inside parentheses (#​3307)
  • For assignment statements, prefer splitting the right hand side if the left hand side fits on a single line (#​3368)
  • Correctly handle trailing commas that are inside a line's leading non-nested parens (#​3370)
Configuration
  • Fix incorrectly applied .gitignore rules by considering the .gitignore location and the relative path to the target file (#​3338)
  • Fix incorrectly ignoring .gitignore presence when more than one source directory is specified (#​3336)
Parser
  • Parsing support has been added for walruses inside generator expression that are passed as function args (for example, any(match := my_re.match(text) for text in texts)) (#​3327).
Integrations
  • Vim plugin: Optionally allow using the system installation of Black via let g:black_use_virtualenv = 0(#​3309)

Configuration

📅 Schedule: Branch creation - "after 5am on thursday" (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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.

This PR has been generated by MintMaker (powered by Renovate Bot).

red-hat-konflux[bot] avatar Jun 05 '25 08:06 red-hat-konflux[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.58%. Comparing base (d542f8f) to head (61eccef). Report is 7 commits behind head on redhat-3.14.

Additional details and impacted files
@@               Coverage Diff               @@
##           redhat-3.14    #4003      +/-   ##
===============================================
- Coverage        70.58%   70.58%   -0.01%     
===============================================
  Files              443      443              
  Lines            42092    42093       +1     
  Branches          4786     4786              
===============================================
  Hits             29711    29711              
  Misses           10690    10690              
- Partials          1691     1692       +1     
Flag Coverage Δ
unit 70.58% <ø> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Jun 05 '25 08:06 codecov[bot]