File tree Expand file tree Collapse file tree 5 files changed +23
-27
lines changed Expand file tree Collapse file tree 5 files changed +23
-27
lines changed Original file line number Diff line number Diff line change 1
1
name : check
2
2
on :
3
+ workflow_dispatch :
3
4
push :
5
+ branches : " main"
4
6
tags-ignore : ["**"]
5
7
pull_request :
6
8
schedule :
18
20
fail-fast : false
19
21
matrix :
20
22
py :
21
- - " 3.12.0-beta.2 "
23
+ - " 3.12"
22
24
- " 3.11"
23
25
- " 3.10"
24
26
- " 3.9"
27
29
- name : Setup python for tox
28
30
uses : actions/setup-python@v5
29
31
with :
30
- python-version : " 3.11 "
32
+ python-version : " 3.12 "
31
33
- name : Install tox
32
34
run : python -m pip install tox
33
35
- uses : actions/checkout@v4
76
78
fetch-depth : 0
77
79
- uses : actions/setup-python@v5
78
80
with :
79
- python-version : " 3.11 "
81
+ python-version : " 3.12 "
80
82
- name : Install tox
81
83
run : python -m pip install tox
82
84
- name : Setup coverage tool
@@ -112,10 +114,10 @@ jobs:
112
114
- uses : actions/checkout@v4
113
115
with :
114
116
fetch-depth : 0
115
- - name : Setup Python "3.11 "
117
+ - name : Setup Python "3.12 "
116
118
uses : actions/setup-python@v5
117
119
with :
118
- python-version : " 3.11 "
120
+ python-version : " 3.12 "
119
121
- name : Install tox
120
122
run : python -m pip install tox
121
123
- name : Setup test suite
Original file line number Diff line number Diff line change 15
15
- name : Setup python to build package
16
16
uses : actions/setup-python@v5
17
17
with :
18
- python-version : " 3.11 "
18
+ python-version : " 3.12 "
19
19
- name : Install build
20
20
run : python -m pip install build
21
21
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 5
5
- id : end-of-file-fixer
6
6
- id : trailing-whitespace
7
7
- repo : https://github.com/astral-sh/ruff-pre-commit
8
- rev : " v0.1.6 "
8
+ rev : " v0.1.7 "
9
9
hooks :
10
10
- id : ruff
11
11
args : [--fix, --exit-non-zero-on-fix]
@@ -19,15 +19,10 @@ repos:
19
19
- id : tox-ini-fmt
20
20
args : ["-p", "fix"]
21
21
- repo : https://github.com/tox-dev/pyproject-fmt
22
- rev : " 1.5.1 "
22
+ rev : " 1.5.3 "
23
23
hooks :
24
24
- id : pyproject-fmt
25
- additional_dependencies : ["tox>=4.8"]
26
- - repo : https://github.com/pre-commit/mirrors-prettier
27
- rev : " v3.1.0"
28
- hooks :
29
- - id : prettier
30
- args : ["--print-width=120", "--prose-wrap=always"]
25
+ additional_dependencies : ["tox>=4.11.4"]
31
26
- repo : meta
32
27
hooks :
33
28
- id : check-hooks-apply
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
build-backend = " hatchling.build"
3
3
requires = [
4
- " hatch-vcs>=0.3 " ,
4
+ " hatch-vcs>=0.4 " ,
5
5
" hatchling>=1.18" ,
6
6
]
7
7
@@ -41,20 +41,19 @@ dependencies = [
41
41
" Sphinx>=7.1.2" ,
42
42
]
43
43
optional-dependencies.docs = [
44
- " furo>=2023.7.26" ,
45
- " sphinx>=7.1.2" ,
44
+ " furo>=2023.9.10" ,
46
45
]
47
46
optional-dependencies.numpy = [
48
47
" nptyping>=2.5" ,
49
48
]
50
49
optional-dependencies.testing = [
51
50
" covdefaults>=2.3" ,
52
- " coverage>=7.3" ,
53
- " diff-cover>=7.7 " ,
54
- " pytest>=7.4" ,
51
+ " coverage>=7.3.2 " ,
52
+ " diff-cover>=8.0.1 " ,
53
+ " pytest>=7.4.3 " ,
55
54
" pytest-cov>=4.1" ,
56
55
" sphobjinv>=2.3.1" ,
57
- " typing-extensions>=4.7.1 " ,
56
+ " typing-extensions>=4.8 " ,
58
57
]
59
58
urls.Changelog = " https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md"
60
59
urls.Homepage = " https://github.com/tox-dev/sphinx-autodoc-typehints"
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ commands =
39
39
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
40
40
skip_install = true
41
41
deps =
42
- pre-commit>=3.3.3
42
+ pre-commit>=3.5
43
43
commands =
44
44
pre-commit run --all-files --show-diff-on-failure
45
45
@@ -51,8 +51,8 @@ extras =
51
51
[testenv:type]
52
52
description = run type check on code base
53
53
deps =
54
- mypy ==1.4 .1
55
- types-docutils>=0.20.0.2
54
+ mypy ==1.7 .1
55
+ types-docutils>=0.20.0.3
56
56
set_env =
57
57
{tty:MYPY_FORCE_COLOR = 1}
58
58
commands =
@@ -64,8 +64,8 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
64
64
skip_install = true
65
65
deps =
66
66
covdefaults>=2.3
67
- coverage>=7.3
68
- diff-cover>=7.7
67
+ coverage>=7.3.2
68
+ diff-cover>=8.0.1
69
69
extras =
70
70
parallel_show_output = true
71
71
pass_env =
@@ -90,7 +90,7 @@ depends =
90
90
description = check that the long description is valid (need for PyPI)
91
91
skip_install = true
92
92
deps =
93
- build[virtualenv]>=0.10
93
+ build[virtualenv]>=1.0.3
94
94
twine>=4.0.2
95
95
extras =
96
96
commands =
You can’t perform that action at this time.
0 commit comments