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

chore: update pre-commit #32

Merged
merged 1 commit into from
Dec 1, 2023
Merged

chore: update pre-commit #32

merged 1 commit into from
Dec 1, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 30, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Type Update Change
astral-sh/ruff-pre-commit repository patch v0.1.3 -> v0.1.6
psf/black repository minor 23.10.1 -> 23.11.0
python-poetry/poetry repository minor 1.6.1 -> 1.7.1

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

astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)

v0.1.6

Compare Source

See: https://github.com/astral-sh/ruff/releases/tag/v0.1.6

v0.1.5

Compare Source

See: https://github.com/astral-sh/ruff/releases/tag/v0.1.5

v0.1.4

Compare Source

See: https://github.com/astral-sh/ruff/releases/tag/v0.1.4

psf/black (psf/black)

v23.11.0

Compare Source

Highlights
  • Support formatting ranges of lines with the new --line-ranges command-line option
    (#​4020)
Stable style
  • Fix crash on formatting bytes strings that look like docstrings (#​4003)
  • Fix crash when whitespace followed a backslash before newline in a docstring (#​4008)
  • Fix standalone comments inside complex blocks crashing Black (#​4016)
  • Fix crash on formatting code like await (a ** b) (#​3994)
  • No longer treat leading f-strings as docstrings. This matches Python's behaviour and
    fixes a crash (#​4019)
Preview style
  • Multiline dicts and lists that are the sole argument to a function are now indented
    less (#​3964)
  • Multiline unpacked dicts and lists as the sole argument to a function are now also
    indented less (#​3992)
  • In f-string debug expressions, quote types that are visible in the final string are
    now preserved (#​4005)
  • Fix a bug where long case blocks were not split into multiple lines. Also enable
    general trailing comma rules on case blocks (#​4024)
  • Keep requiring two empty lines between module-level docstring and first function or
    class definition (#​4028)
  • Add support for single-line format skip with other comments on the same line (#​3959)
Configuration
  • Consistently apply force exclusion logic before resolving symlinks (#​4015)
  • Fix a bug in the matching of absolute path names in --include (#​3976)
Performance
  • Fix mypyc builds on arm64 on macOS (#​4017)
Integrations
  • Black's pre-commit integration will now run only on git hooks appropriate for a code
    formatter (#​3940)
python-poetry/poetry (python-poetry/poetry)

v1.7.1

Compare Source

Fixed
  • Fix an issue where sdists that call CLI tools of their build requirements could not be installed (#​8630).
  • Fix an issue where sdists with symlinks could not be installed due to a broken tarfile datafilter (#​8649).
  • Fix an issue where poetry init failed when trying to add dependencies (#​8655).
  • Fix an issue where poetry install failed if virtualenvs.create was set to false (#​8672).

v1.7.0

Compare Source

Added
  • Add official support for Python 3.12 (#​7803, #​8544).
  • Print a future warning that poetry-plugin-export will not be installed by default anymore (#​8562).
  • Add poetry-install pre-commit hook (#​8327).
  • Add --next-phase option to poetry version (#​8089).
  • Print a warning when overwriting files from another package at installation (#​8386).
  • Print a warning if the current project cannot be installed (#​8369).
  • Report more details on build backend exceptions (#​8464).
Changed
  • Set Poetry as user-agent for all HTTP requests (#​8394).
  • Do not install setuptools per default in Python 3.12 (#​7803).
  • Do not install wheel per default (#​7803).
  • Remove setuptools and wheel when running poetry install --sync if they are not required by the project (#​8600).
  • Improve error message about PEP-517 support (#​8463).
  • Improve keyring handling (#​8227).
  • Read the description field when extracting metadata from setup.py files (#​8545).
Fixed
  • Fix an issue where dependencies of inactive extras were locked and installed (#​8399).
  • Fix an issue where build requirements were not installed due to a race condition in the artifact cache (#​8517).
  • Fix an issue where packages included in the system site packages were installed even though virtualenvs.options.system-site-packages was set (#​8359).
  • Fix an issue where git dependencies' submodules with relative URLs were handled incorrectly (#​8020).
  • Fix an issue where a failed installation of build dependencies was not noticed directly (#​8479).
  • Fix an issue where poetry shell did not work completely with nushell (#​8478).
  • Fix an issue where a confusing error messages was displayed when running poetry config pypi-token.pypi without a value (#​8502).
  • Fix an issue where a cryptic error message is printed if there is no metadata entry in the lockfile (#​8523).
  • Fix an issue with the encoding with special characters in the virtualenv's path (#​8565).
  • Fix an issue where the connection pool size was not adjusted to the number of workers (#​8559).
Docs
  • Improve the wording regarding a project's supported Python range (#​8423).
  • Make pipx the preferred (first mentioned) installation method (#​8090).
  • Add a warning about poetry self on Windows (#​8090).
  • Fix example for poetry add with a git dependency (#​8438).
  • Add information about auto-included files in wheels and sdist (#​8555).
  • Fix documentation of the POETRY_REPOSITORIES_ variables docs (#​8492).
  • Add CITATION.cff file (#​8510).
poetry-core (1.8.1)
  • Add support for creating packages dynamically in the build script (#​629).
  • Improve marker logic for extra markers (#​636).
  • Update list of supported licenses (#​635, #​646).
  • Fix an issue where projects with extension modules were not installed in editable mode (#​633).
  • Fix an issue where the wrong or no lib folder was added to the wheel (#​634).
poetry-plugin-export (^1.6.0)
  • Add an --all-extras option (#​241).
  • Fix an issue where git dependencies are exported with the branch name instead of the resolved commit hash (#​213).

Configuration

📅 Schedule: Branch creation - "on the 1st day of the month" in timezone Asia/Shanghai, 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 has been generated by Mend Renovate. View repository job log here.

@trim21 trim21 merged commit ad0b130 into master Dec 1, 2023
1 check passed
@trim21 trim21 deleted the renovate/pre-commit branch December 1, 2023 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant