Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pre-commit-and-mypy #394

Open
wants to merge 1 commit into
base: 3.1
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 28, 2024

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
ambv/black repository minor 24.4.0 -> 24.8.0 age adoption passing confidence
asottile/pyupgrade repository minor v3.15.2 -> v3.17.0 age adoption passing confidence
gitguardian/gg-shield repository minor v1.26.0 -> v1.31.0 age adoption passing confidence
mypy (source, changelog) minor ==1.9.0 -> ==1.11.2 age adoption passing confidence
pre-commit/mirrors-mypy repository minor v1.9.0 -> v1.11.2 age adoption passing confidence
pycqa/flake8 repository minor 7.0.0 -> 7.1.1 age adoption passing confidence

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

ambv/black (ambv/black)

v24.8.0

Compare Source

Stable style
  • Fix crash when # fmt: off is used before a closing parenthesis or bracket. (#​4363)
Packaging
  • Packaging metadata updated: docs are explictly linked, the issue tracker is now also
    linked. This improves the PyPI listing for Black. (#​4345)
Parser
  • Fix regression where Black failed to parse a multiline f-string containing another
    multiline string (#​4339)
  • Fix regression where Black failed to parse an escaped single quote inside an f-string
    (#​4401)
  • Fix bug with Black incorrectly parsing empty lines with a backslash (#​4343)
  • Fix bugs with Black's tokenizer not handling \{ inside f-strings very well (#​4422)
  • Fix incorrect line numbers in the tokenizer for certain tokens within f-strings
    (#​4423)
Performance
  • Improve performance when a large directory is listed in .gitignore (#​4415)
Blackd
  • Fix blackd (and all extras installs) for docker container (#​4357)

v24.4.2

Compare Source

This is a bugfix release to fix two regressions in the new f-string parser introduced in
24.4.1.

Parser
  • Fix regression where certain complex f-strings failed to parse (#​4332)
Performance
  • Fix bad performance on certain complex string literals (#​4331)

v24.4.1

Compare Source

Highlights
  • Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (#​3822)
Stable style
  • Fix crash involving indented dummy functions containing newlines (#​4318)
Parser
  • Add support for type parameter defaults, a new syntactic feature added to Python 3.13
    by PEP 696 (#​4327)
Integrations
  • Github Action now works even when git archive is skipped (#​4313)
asottile/pyupgrade (asottile/pyupgrade)

v3.17.0

Compare Source

v3.16.0

Compare Source

gitguardian/gg-shield (gitguardian/gg-shield)

v1.31.0: 1.31.0

Compare Source

Added

  • We now provide tar.gz archives for macOS, in addition to pkg files.

Fixed

  • JSON output: fixed incorrect values for line and index when scanning a file and not a patch.

v1.30.2: 1.30.2

Compare Source

Security

  • Fixed a bug where ggshield secret scan archive could be passed a maliciously crafted tar archive to overwrite user files.

v1.30.1: 1.30.1

Compare Source

Added

  • ggshield secret scan commands can now output results in SARIF format, using the new --format sarif option (#​869).

  • ggshield sca scan ci and ggshield sca scan all now support the MALICIOUS value for --minimum-severity

Changed

  • ggshield now has the ability to display custom remediation messages on pre-commit, pre-push and pre-receive. These messages are defined in the platform and fetched from the /metadata endpoint of the API. If no messages are set up on the platform, default remediation messages will be displayed as before.

v1.30.0

Compare Source

v1.29.0: 1.29.0

Compare Source

Removed

  • The --all option of the ggshield sca scan ci and ggshield iac scan ci commands has been removed.

Added

  • ggshield secret scan path now provides a --use-gitignore option to honor .gitignore and related files (#​801).

  • A new secret scan command, ggshield secret scan changes, has been added to scan changes between the current state of a repository checkout and its default branch.

  • GGShield is now available as a standalone executable on Windows.

Changed

  • The behavior of the ggshield sca scan ci and ggshield iac scan ci commands have changed. These commands are now expected to run in merge-request CI pipelines only, and will compute the diff exactly associated with the merge request.

Deprecated

  • Running ggshield sca scan ci or ggshield iac scan ci outside of a merge request CI pipeline is now deprecated.

Fixed

  • GGShield now consumes less memory when scanning large repositories.

  • Errors thrown during ggshield auth login flow with an invalid instance URL are handled and the stack trace is no longer displayed on the console.

  • Patch symbols at the start of lines are now always displayed, even for single line secrets.

  • The ggshield auth login command now respects the --allow-self-signed flag.

  • GGShield now exits with a proper error message instead of crashing when it receives an HTTP response without Content-Type header.

v1.28.0: 1.28.0

Compare Source

Added

  • The SCA config ignored_vulnerabilities option now supports taking a CVE id as identifier.

v1.27.0: 1.27.0

Compare Source

Removed

  • The This feature is still in beta, its behavior may change in future versions warning is no longer displayed for sca commands.

Added

  • It is now possible to customize the remediation message printed by GGShield pre-receive hook. This can be done by setting the message in the secret.prereceive_remediation_message configuration key. Thanks a lot to @​Renizmy for this feature.

  • We now provide signed .pkg files for macOS.

  • Add This feature is still in beta, its behavior may change in future versions warning to iac scan all

Changed

  • Linux .deb and .rpm packages now use the binaries produced by pyinstaller. They no longer depend on Python.

Deprecated

  • Dash-separated configuration keys are now deprecated, they should be replaced with underscore-separated keys. For example show-secrets should become show_secrets. GGShield still supports reading from dash-separate configuration keys, but it prints a warning when it finds one.

Fixed

  • GGShield commands working with commits no longer fail when parsing a commit without any author.

  • Configuration keys defined in the global configuration file are no longer ignored if a local configuration file exists.

  • The option --exclude PATTERN is no longer ignored by the command ggshield secret scan repo.

python/mypy (mypy)

v1.11.2

Compare Source

v1.11.1

Compare Source

v1.11.0

Compare Source

v1.10.1

Compare Source

v1.10.0

Compare Source

pre-commit/mirrors-mypy (pre-commit/mirrors-mypy)

v1.11.2

Compare Source

v1.11.1

Compare Source

v1.11.0

Compare Source

v1.10.1

Compare Source

v1.10.0

Compare Source

pycqa/flake8 (pycqa/flake8)

v7.1.1

Compare Source

v7.1.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/pre-commit-and-mypy branch 4 times, most recently from 5357dc9 to 7a7016c Compare April 30, 2024 14:36
@renovate renovate bot force-pushed the renovate/pre-commit-and-mypy branch from 7a7016c to 8858e42 Compare May 29, 2024 12:35
@renovate renovate bot force-pushed the renovate/pre-commit-and-mypy branch from 8858e42 to 6b3ec7d Compare June 8, 2024 21:08
@renovate renovate bot force-pushed the renovate/pre-commit-and-mypy branch from 6b3ec7d to c07adf6 Compare June 16, 2024 01:45
@renovate renovate bot force-pushed the renovate/pre-commit-and-mypy branch 2 times, most recently from 62f8be8 to 8f2cd54 Compare June 25, 2024 10:43
@renovate renovate bot force-pushed the renovate/pre-commit-and-mypy branch 2 times, most recently from d2ee2e8 to 58fa643 Compare July 20, 2024 10:56
@renovate renovate bot force-pushed the renovate/pre-commit-and-mypy branch 6 times, most recently from e2a98b6 to 0e80d6a Compare August 2, 2024 18:07
@renovate renovate bot force-pushed the renovate/pre-commit-and-mypy branch 2 times, most recently from c481285 to bca0b20 Compare August 5, 2024 11:31
@renovate renovate bot force-pushed the renovate/pre-commit-and-mypy branch 2 times, most recently from 3e9d39d to 75971d0 Compare August 25, 2024 10:10
@renovate renovate bot force-pushed the renovate/pre-commit-and-mypy branch from 75971d0 to 41cba88 Compare August 27, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants