Skip to content

Commit f5d2c67

Browse files
pre-commit-ci[bot]gaborbernat
authored andcommitted
[pre-commit.ci] pre-commit autoupdate
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]>
1 parent d38c0e4 commit f5d2c67

File tree

5 files changed

+38
-43
lines changed

5 files changed

+38
-43
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: check
22
on:
33
push:
4-
tags-ignore: ["**"]
4+
branches: "main"
5+
tags-ignore: [ "**" ]
56
pull_request:
67
schedule:
78
- cron: "0 8 * * *"
@@ -18,7 +19,7 @@ jobs:
1819
fail-fast: false
1920
matrix:
2021
py:
21-
- "3.12.0-rc.1"
22+
- "3.12"
2223
- "3.11"
2324
- "3.10"
2425
- "3.9"
@@ -31,7 +32,7 @@ jobs:
3132
- name: Setup python for tox
3233
uses: actions/setup-python@v5
3334
with:
34-
python-version: "3.11"
35+
python-version: "3.12"
3536
- uses: actions/checkout@v4
3637
with:
3738
fetch-depth: 0
@@ -70,10 +71,10 @@ jobs:
7071
- uses: actions/checkout@v4
7172
with:
7273
fetch-depth: 0
73-
- name: Setup Python 3.11
74+
- name: Setup Python 3.12
7475
uses: actions/setup-python@v5
7576
with:
76-
python-version: "3.11"
77+
python-version: "3.12"
7778
- name: Install self-tox
7879
run: python -m pip install .
7980
- name: Run check for ${{ matrix.tox_env }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 5 additions & 10 deletions
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

Lines changed: 22 additions & 22 deletions
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

Lines changed: 4 additions & 5 deletions
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,8 +51,8 @@ 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
@@ -74,7 +73,7 @@ description = check that the long description is valid
7473
skip_install = true
7574
deps =
7675
build[virtualenv]>=1.0.3
77-
check-wheel-contents>=0.5
76+
check-wheel-contents>=0.6
7877
twine>=4.0.2
7978
commands =
8079
python -m build -o {envtmpdir} -s -w .
@@ -87,7 +86,7 @@ skip_install = true
8786
deps =
8887
gitpython>=3.1.40
8988
packaging>=23.2
90-
towncrier>=23.10
89+
towncrier>=23.11
9190
commands =
9291
python {toxinidir}/tasks/release.py --version {posargs}
9392

0 commit comments

Comments
 (0)