Skip to content

Commit 383845a

Browse files
[pre-commit.ci] pre-commit autoupdate (#3166)
updates: - [github.com/tox-dev/pyproject-fmt: 1.5.1 → 1.5.3](tox-dev/pyproject-fmt@1.5.1...1.5.3) - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.3](pre-commit/mirrors-prettier@v3.1.0...v4.0.0-alpha.3) Signed-off-by: Bernát Gábor <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d38c0e4 commit 383845a

File tree

5 files changed

+39
-44
lines changed

5 files changed

+39
-44
lines changed

.github/workflows/check.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: check
22
on:
3+
workflow_dispatch:
34
push:
4-
tags-ignore: ["**"]
5+
branches: "main"
6+
tags-ignore: [ "**" ]
57
pull_request:
68
schedule:
79
- cron: "0 8 * * *"
@@ -18,7 +20,7 @@ jobs:
1820
fail-fast: false
1921
matrix:
2022
py:
21-
- "3.12.0-rc.1"
23+
- "3.12"
2224
- "3.11"
2325
- "3.10"
2426
- "3.9"
@@ -31,7 +33,7 @@ jobs:
3133
- name: Setup python for tox
3234
uses: actions/setup-python@v5
3335
with:
34-
python-version: "3.11"
36+
python-version: "3.12"
3537
- uses: actions/checkout@v4
3638
with:
3739
fetch-depth: 0
@@ -70,10 +72,10 @@ jobs:
7072
- uses: actions/checkout@v4
7173
with:
7274
fetch-depth: 0
73-
- name: Setup Python 3.11
75+
- name: Setup Python 3.12
7476
uses: actions/setup-python@v5
7577
with:
76-
python-version: "3.11"
78+
python-version: "3.12"
7779
- name: Install self-tox
7880
run: python -m pip install .
7981
- name: Run check for ${{ matrix.tox_env }}

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup python to build package
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: "3.11"
18+
python-version: "3.12"
1919
- name: Install build
2020
run: python -m pip install build
2121
- uses: actions/checkout@v4

.pre-commit-config.yaml

+5-10
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: end-of-file-fixer
66
- id: trailing-whitespace
77
- repo: https://github.com/astral-sh/ruff-pre-commit
8-
rev: v0.1.6
8+
rev: v0.1.7
99
hooks:
1010
- id: ruff-format
1111
- repo: https://github.com/codespell-project/codespell
@@ -21,22 +21,17 @@ repos:
2121
- id: tox-ini-fmt
2222
args: ["-p", "fix"]
2323
- repo: https://github.com/tox-dev/pyproject-fmt
24-
rev: 1.5.1
24+
rev: 1.5.3
2525
hooks:
2626
- id: pyproject-fmt
27-
additional_dependencies: ["tox>=4.11.3"]
28-
- repo: https://github.com/pre-commit/mirrors-prettier
29-
rev: v3.1.0
30-
hooks:
31-
- id: prettier
32-
args: ["--print-width=120", "--prose-wrap=always"]
27+
additional_dependencies: ["tox>=4.11.4"]
3328
- repo: https://github.com/asottile/blacken-docs
3429
rev: 1.16.0
3530
hooks:
3631
- id: blacken-docs
37-
additional_dependencies: [black==23.10.1]
32+
additional_dependencies: [black==23.11]
3833
- repo: https://github.com/astral-sh/ruff-pre-commit
39-
rev: v0.1.6
34+
rev: v0.1.7
4035
hooks:
4136
- id: ruff
4237
args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes]

pyproject.toml

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"hatch-vcs>=0.3",
4+
"hatch-vcs>=0.4",
55
"hatchling>=1.18",
66
]
77

@@ -47,47 +47,47 @@ dynamic = [
4747
"version",
4848
]
4949
dependencies = [
50-
"cachetools>=5.3.1",
50+
"cachetools>=5.3.2",
5151
"chardet>=5.2",
5252
"colorama>=0.4.6",
53-
"filelock>=3.12.3",
54-
'importlib-metadata>=6.8; python_version < "3.8"',
55-
"packaging>=23.1",
56-
"platformdirs>=3.10",
53+
"filelock>=3.13.1",
54+
'importlib-metadata>=7; python_version < "3.8"',
55+
"packaging>=23.2",
56+
"platformdirs>=4.1",
5757
"pluggy>=1.3",
5858
"pyproject-api>=1.6.1",
5959
'tomli>=2.0.1; python_version < "3.11"',
60-
'typing-extensions>=4.7.1; python_version < "3.8"',
61-
"virtualenv>=20.24.3",
60+
'typing-extensions>=4.8; python_version < "3.8"',
61+
"virtualenv>=20.25",
6262
]
6363
optional-dependencies.docs = [
64-
"furo>=2023.8.19",
65-
"sphinx>=7.2.4",
64+
"furo>=2023.9.10",
65+
"sphinx>=7.2.6",
6666
"sphinx-argparse-cli>=1.11.1",
67-
"sphinx-autodoc-typehints!=1.23.4,>=1.24",
67+
"sphinx-autodoc-typehints!=1.23.4,>=1.25.2",
6868
"sphinx-copybutton>=0.5.2",
6969
"sphinx-inline-tabs>=2023.4.21",
7070
"sphinxcontrib-towncrier>=0.2.1a0",
71-
"towncrier>=23.6",
71+
"towncrier>=23.11",
7272
]
7373
optional-dependencies.testing = [
74-
"build[virtualenv]>=0.10",
74+
"build[virtualenv]>=1.0.3",
7575
"covdefaults>=2.3",
76-
"detect-test-pollution>=1.1.1",
76+
"detect-test-pollution>=1.2",
7777
"devpi-process>=1",
78-
"diff-cover>=7.7",
78+
"diff-cover>=8.0.1",
7979
"distlib>=0.3.7",
8080
"flaky>=3.7",
81-
"hatch-vcs>=0.3",
81+
"hatch-vcs>=0.4",
8282
"hatchling>=1.18",
83-
"psutil>=5.9.5",
84-
"pytest>=7.4",
83+
"psutil>=5.9.6",
84+
"pytest>=7.4.3",
8585
"pytest-cov>=4.1",
86-
"pytest-mock>=3.11.1",
87-
"pytest-xdist>=3.3.1",
86+
"pytest-mock>=3.12",
87+
"pytest-xdist>=3.5",
8888
"re-assert>=1.1",
89-
'time-machine>=2.12; implementation_name != "pypy"',
90-
"wheel>=0.41.2",
89+
'time-machine>=2.13; implementation_name != "pypy"',
90+
"wheel>=0.42",
9191
]
9292
urls.Documentation = "https://tox.wiki"
9393
urls.Homepage = "http://tox.readthedocs.org"

tox.ini

+4-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ env_list =
88
py310
99
py39
1010
py38
11-
py37
1211
cov
1312
type
1413
docs
@@ -52,16 +51,15 @@ commands =
5251
[testenv:type]
5352
description = run type check on code base
5453
deps =
55-
mypy==1.6.1
56-
types-cachetools>=5.3.0.6
54+
mypy==1.7.1
55+
types-cachetools>=5.3.0.7
5756
types-chardet>=5.0.4.6
5857
commands =
5958
mypy src/tox
6059
mypy tests
6160

6261
[testenv:docs]
6362
description = build documentation
64-
base_python = python3.11
6563
extras =
6664
docs
6765
commands =
@@ -74,7 +72,7 @@ description = check that the long description is valid
7472
skip_install = true
7573
deps =
7674
build[virtualenv]>=1.0.3
77-
check-wheel-contents>=0.5
75+
check-wheel-contents>=0.6
7876
twine>=4.0.2
7977
commands =
8078
python -m build -o {envtmpdir} -s -w .
@@ -87,7 +85,7 @@ skip_install = true
8785
deps =
8886
gitpython>=3.1.40
8987
packaging>=23.2
90-
towncrier>=23.10
88+
towncrier>=23.11
9189
commands =
9290
python {toxinidir}/tasks/release.py --version {posargs}
9391

0 commit comments

Comments
 (0)