File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 - " 3.10"
2222 - 3.9
2323 - 3.8
24- - 3.7
2524 steps :
2625 - name : setup python for tox
2726 uses : actions/setup-python@v4
Original file line number Diff line number Diff line change 2020 rev : v3.3.1
2121 hooks :
2222 - id : pyupgrade
23- args : ["--py37 -plus"]
23+ args : ["--py38 -plus"]
2424 - repo : https://github.com/PyCQA/isort
2525 rev : 5.12.0
2626 hooks :
4040 hooks :
4141 - id : rst-backticks
4242 - repo : https://github.com/tox-dev/tox-ini-fmt
43- rev : " 1.0 .0"
43+ rev : " 1.3 .0"
4444 hooks :
4545 - id : tox-ini-fmt
4646 args : ["-p", "fix"]
5050 - id : flake8
5151 additional_dependencies :
5252 - flake8-bugbear==23.3.23
53- - flake8-comprehensions==3.11.1
53+ - flake8-comprehensions==3.12
5454 - flake8-pytest-style==1.7.2
5555 - flake8-spellcheck==0.28
5656 - flake8-unused-arguments==0.0.13
Original file line number Diff line number Diff line change 22build-backend = " hatchling.build"
33requires = [
44 " hatch-vcs>=0.3" ,
5- " hatchling>=1.13 " ,
5+ " hatchling>=1.14 " ,
66]
77
88[project ]
@@ -15,7 +15,7 @@ keywords = [
1515]
1616license = " MIT"
1717maintainers = [{ name = " Bernat Gabor" , email = " gaborjbernat@gmail.com" }]
18- requires-python = " >=3.7 "
18+ requires-python = " >=3.8 "
1919classifiers = [
2020 " Development Status :: 5 - Production/Stable" ,
2121 " Environment :: Console" ,
@@ -34,11 +34,11 @@ dynamic = [
3434 " version" ,
3535]
3636dependencies = [
37- " sphinx! =6.1,>=5 .3" ,
37+ " sphinx> =6.1.3" ,
3838]
3939optional-dependencies.test = [
4040 " covdefaults>=2.3" ,
41- " pytest>=7.2.2 " ,
41+ " pytest>=7.3.1 " ,
4242 " pytest-cov>=4" ,
4343]
4444urls.Documentation = " https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
Original file line number Diff line number Diff line change 11[tox]
2- minversion = 3.14.0
3- envlist =
2+ requires =
3+ tox>=4.2
4+ env_list =
45 fix
56 py310
67 py39
78 py38
89 py37
910 type
1011 pkg_check
11- isolated_build = true
1212skip_missing_interpreters = true
1313
1414[testenv]
@@ -17,7 +17,7 @@ package = wheel
1717wheel_build_env = .pkg
1818extras =
1919 test
20- setenv =
20+ set_env =
2121 COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
2222 COVERAGE_PROCESS_START = {toxinidir}/setup.cfg
2323 _COVERAGE_SRC = {envsitepackagesdir}/sphinx_argparse_cli
@@ -31,11 +31,11 @@ commands =
3131
3232[testenv:fix]
3333description = run static analysis and style check using flake8
34- basepython = python3.10
34+ base_python = python3.10
3535skip_install = true
3636deps =
37- pre-commit>=3.2.1
38- passenv =
37+ pre-commit>=3.2.2
38+ pass_env =
3939 HOMEPATH
4040 PROGRAMDATA
4141commands =
@@ -45,30 +45,30 @@ commands =
4545[testenv:type]
4646description = run type check on code base
4747deps =
48- mypy ==1.1.1
48+ mypy ==1.2
4949 types-docutils>=0.19.1.7
50- setenv =
50+ set_env =
5151 {tty:MYPY_FORCE_COLOR = 1}
5252commands =
5353 mypy src
5454 mypy tests
5555
5656[testenv:pkg_check]
5757description = check that the long description is valid
58- basepython = python3.10
58+ base_python = python3.10
5959skip_install = true
6060deps =
6161 build[virtualenv]>=0.10
6262 twine>=4.0.2
63- changedir = {toxinidir}
63+ change_dir = {toxinidir}
6464commands =
6565 python -m build --sdist --wheel -o {envtmpdir} .
6666 twine check {envtmpdir}/*
6767
6868[testenv:dev]
6969description = generate a DEV environment
70- basepython = python3.10
71- usedevelop = true
70+ base_python = python3.10
71+ package = editable
7272extras =
7373 docs
7474 test
You can’t perform that action at this time.
0 commit comments