File tree Expand file tree Collapse file tree 4 files changed +20
-21
lines changed Expand file tree Collapse file tree 4 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 21
21
- " 3.10"
22
22
- 3.9
23
23
- 3.8
24
- - 3.7
25
24
steps :
26
25
- name : setup python for tox
27
26
uses : actions/setup-python@v4
Original file line number Diff line number Diff line change 20
20
rev : v3.3.1
21
21
hooks :
22
22
- id : pyupgrade
23
- args : ["--py37 -plus"]
23
+ args : ["--py38 -plus"]
24
24
- repo : https://github.com/PyCQA/isort
25
25
rev : 5.12.0
26
26
hooks :
40
40
hooks :
41
41
- id : rst-backticks
42
42
- repo : https://github.com/tox-dev/tox-ini-fmt
43
- rev : " 1.0 .0"
43
+ rev : " 1.3 .0"
44
44
hooks :
45
45
- id : tox-ini-fmt
46
46
args : ["-p", "fix"]
50
50
- id : flake8
51
51
additional_dependencies :
52
52
- flake8-bugbear==23.3.23
53
- - flake8-comprehensions==3.11.1
53
+ - flake8-comprehensions==3.12
54
54
- flake8-pytest-style==1.7.2
55
55
- flake8-spellcheck==0.28
56
56
- flake8-unused-arguments==0.0.13
Original file line number Diff line number Diff line change 2
2
build-backend = " hatchling.build"
3
3
requires = [
4
4
" hatch-vcs>=0.3" ,
5
- " hatchling>=1.13 " ,
5
+ " hatchling>=1.14 " ,
6
6
]
7
7
8
8
[project ]
@@ -15,7 +15,7 @@ keywords = [
15
15
]
16
16
license = " MIT"
17
17
maintainers = [{
name =
" Bernat Gabor" ,
email =
" [email protected] " }]
18
- requires-python = " >=3.7 "
18
+ requires-python = " >=3.8 "
19
19
classifiers = [
20
20
" Development Status :: 5 - Production/Stable" ,
21
21
" Environment :: Console" ,
@@ -34,11 +34,11 @@ dynamic = [
34
34
" version" ,
35
35
]
36
36
dependencies = [
37
- " sphinx! =6.1,>=5 .3" ,
37
+ " sphinx> =6.1.3" ,
38
38
]
39
39
optional-dependencies.test = [
40
40
" covdefaults>=2.3" ,
41
- " pytest>=7.2.2 " ,
41
+ " pytest>=7.3.1 " ,
42
42
" pytest-cov>=4" ,
43
43
]
44
44
urls.Documentation = " https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
Original file line number Diff line number Diff line change 1
1
[tox]
2
- minversion = 3.14.0
3
- envlist =
2
+ requires =
3
+ tox>=4.2
4
+ env_list =
4
5
fix
5
6
py310
6
7
py39
7
8
py38
8
9
py37
9
10
type
10
11
pkg_check
11
- isolated_build = true
12
12
skip_missing_interpreters = true
13
13
14
14
[testenv]
@@ -17,7 +17,7 @@ package = wheel
17
17
wheel_build_env = .pkg
18
18
extras =
19
19
test
20
- setenv =
20
+ set_env =
21
21
COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
22
22
COVERAGE_PROCESS_START = {toxinidir}/setup.cfg
23
23
_COVERAGE_SRC = {envsitepackagesdir}/sphinx_argparse_cli
@@ -31,11 +31,11 @@ commands =
31
31
32
32
[testenv:fix]
33
33
description = run static analysis and style check using flake8
34
- basepython = python3.10
34
+ base_python = python3.10
35
35
skip_install = true
36
36
deps =
37
- pre-commit>=3.2.1
38
- passenv =
37
+ pre-commit>=3.2.2
38
+ pass_env =
39
39
HOMEPATH
40
40
PROGRAMDATA
41
41
commands =
@@ -45,30 +45,30 @@ commands =
45
45
[testenv:type]
46
46
description = run type check on code base
47
47
deps =
48
- mypy ==1.1.1
48
+ mypy ==1.2
49
49
types-docutils>=0.19.1.7
50
- setenv =
50
+ set_env =
51
51
{tty:MYPY_FORCE_COLOR = 1}
52
52
commands =
53
53
mypy src
54
54
mypy tests
55
55
56
56
[testenv:pkg_check]
57
57
description = check that the long description is valid
58
- basepython = python3.10
58
+ base_python = python3.10
59
59
skip_install = true
60
60
deps =
61
61
build[virtualenv]>=0.10
62
62
twine>=4.0.2
63
- changedir = {toxinidir}
63
+ change_dir = {toxinidir}
64
64
commands =
65
65
python -m build --sdist --wheel -o {envtmpdir} .
66
66
twine check {envtmpdir}/*
67
67
68
68
[testenv:dev]
69
69
description = generate a DEV environment
70
- basepython = python3.10
71
- usedevelop = true
70
+ base_python = python3.10
71
+ package = editable
72
72
extras =
73
73
docs
74
74
test
You can’t perform that action at this time.
0 commit comments