Skip to content

Commit

Permalink
Update CI dependencies (minor) (#1293)
Browse files Browse the repository at this point in the history
* Update CI dependencies

* Apply pre-commit fix

From the artifact of the previous workflow run

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: geo-ghci-int[bot] <146321879+geo-ghci-int[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] and geo-ghci-int[bot] authored Feb 3, 2025
1 parent f908682 commit 0f8a924
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
)$
verbose: true
additional_dependencies:
- pre-commit==4.0.1 # pypi
- pre-commit==4.1.0 # pypi
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
Expand All @@ -44,14 +44,14 @@ repos:
- id: trailing-whitespace
- id: mixed-line-ending
- repo: https://github.com/sbrunner/hooks
rev: 1.1.2
rev: 1.2.1
hooks:
- id: copyright
- id: poetry-lock
additional_dependencies:
- poetry==2.0.1 # pypi
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
exclude: |-
Expand All @@ -68,7 +68,7 @@ repos:
hooks:
- id: git-check
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.30.0
rev: 0.31.1
hooks:
- id: check-github-workflows
- id: check-jsonschema
Expand All @@ -84,13 +84,13 @@ repos:
hooks:
- id: ripsecrets
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.4
hooks:
- id: ruff-format
args:
- --line-length=110
- repo: https://github.com/PyCQA/prospector
rev: v1.13.3
rev: v1.14.1
hooks:
- id: prospector
args:
Expand All @@ -99,8 +99,8 @@ repos:
- --output-format=pylint
additional_dependencies:
- prospector-profile-duplicated==1.10.4 # pypi
- prospector-profile-utils==1.14.1 # pypi
- ruff==0.8.6 # pypi
- prospector-profile-utils==1.17.0 # pypi
- ruff==0.9.4 # pypi
- repo: https://github.com/sbrunner/jsonschema-validator
rev: 1.0.0
hooks:
Expand All @@ -116,7 +116,7 @@ repos:
- --fields=description,title
- --spelling=.github/spell-ignore-words.txt
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 39.86.3
rev: 39.156.2
hooks:
- id: renovate-config-validator
- repo: https://github.com/sbrunner/python-versions-hook
Expand Down
8 changes: 4 additions & 4 deletions ci/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
c2cciutils[checks,publish]==1.7.3
pre-commit==4.0.1
pre-commit==4.1.0
poetry-plugin-drop-python-upper-constraint==0.1.0
poetry-plugin-export==1.8.0
poetry-plugin-export==1.9.0
poetry-plugin-tweak-dependencies-version==1.5.2
poetry-dynamic-versioning==1.4.1
importlib-metadata<8.5.1
poetry-dynamic-versioning==1.7.1
importlib-metadata<8.6.2
tag-publish==0.13.3
2 changes: 1 addition & 1 deletion jsonschema_gentypes/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def process_config(config: configuration.Configuration, files: list[str]) -> Non

lines = []
for imp, names in imports.items():
lines.append(f'from {imp} import {", ".join(sorted(names))}')
lines.append(f"from {imp} import {', '.join(sorted(names))}")

for type_2 in sorted(types.values(), key=lambda type_3: type_3.name(python_version)):
lines += type_2.definition(python_version, config.get("lineLength"))
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
poetry==2.0.1
pip==25.0
poetry-dynamic-versioning==1.4.1
poetry-plugin-export==1.8.0
poetry-dynamic-versioning==1.7.1
poetry-plugin-export==1.9.0
poetry-plugin-tweak-dependencies-version==1.5.2
poetry-plugin-drop-python-upper-constraint==0.1.0
2 changes: 1 addition & 1 deletion tests/test_combining.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def assert_expected(type_: Type, expected: list[str], path: Optional[list[int]]
"anyOf",
"allOf",
[
'_Base = Union["_BaseAnyof0", Union["_BaseAnyofAnyof0", ' '"_BaseAnyofAnyof"]]',
'_Base = Union["_BaseAnyof0", Union["_BaseAnyofAnyof0", "_BaseAnyofAnyof"]]',
'""" Aggregation type: anyOf """',
"",
"class _BaseAnyof0(TypedDict, total=False):",
Expand Down

0 comments on commit 0f8a924

Please sign in to comment.