File tree 4 files changed +18
-18
lines changed
4 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 59
59
- name : Upload package to Test PyPI
60
60
uses : pypa/gh-action-pypi-publish@release/v1
61
61
with :
62
+ attestations : true
62
63
repository-url : https://test.pypi.org/legacy/
63
64
64
65
# Upload to real PyPI on GitHub Releases.
88
89
89
90
- name : Upload package to PyPI
90
91
uses : pypa/gh-action-pypi-publish@release/v1
92
+ with :
93
+ attestations : true
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ permissions:
7
7
8
8
env :
9
9
FORCE_COLOR : 1
10
- PIP_DISABLE_PIP_VERSION_CHECK : 1
11
10
12
11
jobs :
13
12
test :
@@ -26,16 +25,13 @@ jobs:
26
25
with :
27
26
python-version : ${{ matrix.python-version }}
28
27
allow-prereleases : true
29
- cache : pip
30
28
31
- - name : Install dependencies
32
- run : |
33
- python -m pip install -U pip
34
- python -m pip install -U tox
29
+ - name : Install uv
30
+ uses : hynek/setup-cached-uv@v2
35
31
36
32
- name : Tox tests
37
33
run : |
38
- tox -e py
34
+ uvx --with tox-uv tox -e py
39
35
40
36
- name : Upload coverage
41
37
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/astral-sh/ruff-pre-commit
3
- rev : v0.6.5
3
+ rev : v0.6.9
4
4
hooks :
5
5
- id : ruff
6
6
args : [--exit-non-zero-on-fix]
12
12
exclude : ^html/
13
13
14
14
- repo : https://github.com/pre-commit/pre-commit-hooks
15
- rev : v4.6 .0
15
+ rev : v5.0 .0
16
16
hooks :
17
17
- id : check-added-large-files
18
18
- id : check-case-conflict
@@ -26,28 +26,28 @@ repos:
26
26
- id : trailing-whitespace
27
27
28
28
- repo : https://github.com/python-jsonschema/check-jsonschema
29
- rev : 0.29.2
29
+ rev : 0.29.3
30
30
hooks :
31
31
- id : check-github-workflows
32
32
- id : check-renovate
33
33
34
34
- repo : https://github.com/rhysd/actionlint
35
- rev : v1.7.1
35
+ rev : v1.7.3
36
36
hooks :
37
37
- id : actionlint
38
38
39
39
- repo : https://github.com/tox-dev/pyproject-fmt
40
- rev : 2.2.3
40
+ rev : 2.2.4
41
41
hooks :
42
42
- id : pyproject-fmt
43
43
44
44
- repo : https://github.com/abravalheri/validate-pyproject
45
- rev : v0.19
45
+ rev : v0.20.2
46
46
hooks :
47
47
- id : validate-pyproject
48
48
49
49
- repo : https://github.com/tox-dev/tox-ini-fmt
50
- rev : 1.4.0
50
+ rev : 1.4.1
51
51
hooks :
52
52
- id : tox-ini-fmt
53
53
Original file line number Diff line number Diff line change @@ -68,10 +68,11 @@ lint.select = [
68
68
" YTT" , # flake8-2020
69
69
]
70
70
lint.ignore = [
71
- " E203" , # Whitespace before ':'
72
- " E221" , # Multiple spaces before operator
73
- " E226" , # Missing whitespace around arithmetic operator
74
- " E241" , # Multiple spaces after ','
71
+ " E203" , # Whitespace before ':'
72
+ " E221" , # Multiple spaces before operator
73
+ " E226" , # Missing whitespace around arithmetic operator
74
+ " E241" , # Multiple spaces after ','
75
+ " UP038" , # Makes code slower and more verbose
75
76
]
76
77
lint.flake8-import-conventions.aliases.datetime = " dt"
77
78
lint.flake8-import-conventions.banned-from = [ " datetime" ]
You can’t perform that action at this time.
0 commit comments