Skip to content

Commit 3f583c5

Browse files
committed
fix: migrate tox.ini and adopt uv.lock
1 parent 7288de0 commit 3f583c5

File tree

14 files changed

+2878
-367
lines changed

14 files changed

+2878
-367
lines changed

.config/constraints.txt

Lines changed: 0 additions & 127 deletions
This file was deleted.

.config/requirements-docs.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

.config/requirements-test.in

Lines changed: 0 additions & 12 deletions
This file was deleted.

.config/requirements.in

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
env:
1717
FORCE_COLOR: 1
1818
PY_COLORS: 1
19-
TOXENV: packaging
19+
TOXENV: pkg
2020
TOX_PARALLEL_NO_SPINNER: 1
2121

2222
steps:

.github/workflows/tox.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
other_names: |
3838
lint
3939
docs
40+
pkg
4041
platforms: linux,macos
4142
tox:
4243
name: ${{ matrix.name }} / python ${{ matrix.python_version }}

.pre-commit-config.yaml

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exclude: >
1515
)$
1616
repos:
1717
- repo: https://github.com/renovatebot/pre-commit-hooks
18-
rev: 41.99.7
18+
rev: 41.109.0
1919
hooks:
2020
- id: renovate-config-validator
2121
alias: renovate
@@ -44,39 +44,11 @@ repos:
4444
additional_dependencies:
4545
- prettier
4646
- prettier-plugin-toml
47-
48-
- repo: https://github.com/pappasam/toml-sort
49-
rev: v0.24.3
50-
hooks:
51-
- id: toml-sort-fix
52-
53-
- repo: https://github.com/tox-dev/tox-ini-fmt
54-
rev: 1.6.0
55-
hooks:
56-
- id: tox-ini-fmt
57-
58-
- repo: https://github.com/astral-sh/ruff-pre-commit
59-
rev: "v0.12.12"
60-
hooks:
61-
- id: ruff
62-
entry: sh -c 'ruff check --fix --force-exclude && ruff format --force-exclude'
63-
types_or: [python, pyi]
64-
6547
- repo: https://github.com/streetsidesoftware/cspell-cli
6648
rev: v9.2.0
6749
hooks:
6850
- id: cspell
6951
name: Spell check with cspell
70-
71-
- repo: https://github.com/Lucas-C/pre-commit-hooks.git
72-
rev: v1.5.5
73-
hooks:
74-
- id: remove-tabs
75-
exclude: >
76-
(?x)^(
77-
.config/pylint-baseline.txt
78-
)$
79-
8052
- repo: https://github.com/pre-commit/pre-commit-hooks.git
8153
rev: v6.0.0
8254
hooks:
@@ -157,6 +129,11 @@ repos:
157129
additional_dependencies:
158130
- flake8-docstrings # uses pydocstyle
159131

132+
- repo: https://github.com/pappasam/toml-sort
133+
rev: v0.24.3
134+
hooks:
135+
- id: toml-sort-fix
136+
alias: toml
160137
- repo: https://github.com/jsh9/pydoclint
161138
rev: 0.7.3
162139
hooks:
@@ -168,8 +145,15 @@ repos:
168145
hooks:
169146
- id: pyupgrade
170147
args: ["--py310-plus"]
148+
- repo: https://github.com/astral-sh/ruff-pre-commit
149+
rev: v0.13.0
150+
hooks:
151+
- id: ruff-format
152+
alias: ruff
153+
- id: ruff-check
154+
alias: ruff
171155
- repo: https://github.com/pre-commit/mirrors-mypy.git
172-
rev: v1.17.1
156+
rev: v1.18.1
173157
hooks:
174158
- id: mypy
175159
additional_dependencies:

0 commit comments

Comments
 (0)