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 11name : check
22on :
3+ workflow_dispatch :
34 push :
5+ branches : " main"
46 tags-ignore : ["**"]
57 pull_request :
68 schedule :
1820 fail-fast : false
1921 matrix :
2022 py :
21- - " 3.12.0-beta.2 "
23+ - " 3.12"
2224 - " 3.11"
2325 - " 3.10"
2426 - " 3.9"
2729 - name : Setup python for tox
2830 uses : actions/setup-python@v5
2931 with :
30- python-version : " 3.11 "
32+ python-version : " 3.12 "
3133 - name : Install tox
3234 run : python -m pip install tox
3335 - uses : actions/checkout@v4
7678 fetch-depth : 0
7779 - uses : actions/setup-python@v5
7880 with :
79- python-version : " 3.11 "
81+ python-version : " 3.12 "
8082 - name : Install tox
8183 run : python -m pip install tox
8284 - name : Setup coverage tool
@@ -112,10 +114,10 @@ jobs:
112114 - uses : actions/checkout@v4
113115 with :
114116 fetch-depth : 0
115- - name : Setup Python "3.11 "
117+ - name : Setup Python "3.12 "
116118 uses : actions/setup-python@v5
117119 with :
118- python-version : " 3.11 "
120+ python-version : " 3.12 "
119121 - name : Install tox
120122 run : python -m pip install tox
121123 - name : Setup test suite
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
1111 args : [--fix, --exit-non-zero-on-fix]
@@ -19,15 +19,10 @@ repos:
1919 - id : tox-ini-fmt
2020 args : ["-p", "fix"]
2121 - repo : https://github.com/tox-dev/pyproject-fmt
22- rev : " 1.5.1 "
22+ rev : " 1.5.3 "
2323 hooks :
2424 - 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"]
3126 - repo : meta
3227 hooks :
3328 - id : check-hooks-apply
Original file line number Diff line number Diff line change 11[build-system ]
22build-backend = " hatchling.build"
33requires = [
4- " hatch-vcs>=0.3 " ,
4+ " hatch-vcs>=0.4 " ,
55 " hatchling>=1.18" ,
66]
77
@@ -41,20 +41,19 @@ dependencies = [
4141 " Sphinx>=7.1.2" ,
4242]
4343optional-dependencies.docs = [
44- " furo>=2023.7.26" ,
45- " sphinx>=7.1.2" ,
44+ " furo>=2023.9.10" ,
4645]
4746optional-dependencies.numpy = [
4847 " nptyping>=2.5" ,
4948]
5049optional-dependencies.testing = [
5150 " 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 " ,
5554 " pytest-cov>=4.1" ,
5655 " sphobjinv>=2.3.1" ,
57- " typing-extensions>=4.7.1 " ,
56+ " typing-extensions>=4.8 " ,
5857]
5958urls.Changelog = " https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md"
6059urls.Homepage = " https://github.com/tox-dev/sphinx-autodoc-typehints"
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ commands =
3939description = format the code base to adhere to our styles, and complain about what we cannot do automatically
4040skip_install = true
4141deps =
42- pre-commit>=3.3.3
42+ pre-commit>=3.5
4343commands =
4444 pre-commit run --all-files --show-diff-on-failure
4545
@@ -51,8 +51,8 @@ extras =
5151[testenv:type]
5252description = run type check on code base
5353deps =
54- mypy ==1.4 .1
55- types-docutils>=0.20.0.2
54+ mypy ==1.7 .1
55+ types-docutils>=0.20.0.3
5656set_env =
5757 {tty:MYPY_FORCE_COLOR = 1}
5858commands =
@@ -64,8 +64,8 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
6464skip_install = true
6565deps =
6666 covdefaults>=2.3
67- coverage>=7.3
68- diff-cover>=7.7
67+ coverage>=7.3.2
68+ diff-cover>=8.0.1
6969extras =
7070parallel_show_output = true
7171pass_env =
@@ -90,7 +90,7 @@ depends =
9090description = check that the long description is valid (need for PyPI)
9191skip_install = true
9292deps =
93- build[virtualenv]>=0.10
93+ build[virtualenv]>=1.0.3
9494 twine>=4.0.2
9595extras =
9696commands =
You can’t perform that action at this time.
0 commit comments