Skip to content

Commit 9b5036d

Browse files
authored
Bump deps and tools (#99)
1 parent 644bc0b commit 9b5036d

File tree

4 files changed

+20
-21
lines changed

4 files changed

+20
-21
lines changed

.github/workflows/check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
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

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
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:
@@ -40,7 +40,7 @@ repos:
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"]
@@ -50,7 +50,7 @@ repos:
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

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = "hatchling.build"
33
requires = [
44
"hatch-vcs>=0.3",
5-
"hatchling>=1.13",
5+
"hatchling>=1.14",
66
]
77

88
[project]
@@ -15,7 +15,7 @@ keywords = [
1515
]
1616
license = "MIT"
1717
maintainers = [{ name = "Bernat Gabor", email = "[email protected]" }]
18-
requires-python = ">=3.7"
18+
requires-python = ">=3.8"
1919
classifiers = [
2020
"Development Status :: 5 - Production/Stable",
2121
"Environment :: Console",
@@ -34,11 +34,11 @@ dynamic = [
3434
"version",
3535
]
3636
dependencies = [
37-
"sphinx!=6.1,>=5.3",
37+
"sphinx>=6.1.3",
3838
]
3939
optional-dependencies.test = [
4040
"covdefaults>=2.3",
41-
"pytest>=7.2.2",
41+
"pytest>=7.3.1",
4242
"pytest-cov>=4",
4343
]
4444
urls.Documentation = "https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"

tox.ini

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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
1212
skip_missing_interpreters = true
1313

1414
[testenv]
@@ -17,7 +17,7 @@ package = wheel
1717
wheel_build_env = .pkg
1818
extras =
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]
3333
description = run static analysis and style check using flake8
34-
basepython = python3.10
34+
base_python = python3.10
3535
skip_install = true
3636
deps =
37-
pre-commit>=3.2.1
38-
passenv =
37+
pre-commit>=3.2.2
38+
pass_env =
3939
HOMEPATH
4040
PROGRAMDATA
4141
commands =
@@ -45,30 +45,30 @@ commands =
4545
[testenv:type]
4646
description = run type check on code base
4747
deps =
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}
5252
commands =
5353
mypy src
5454
mypy tests
5555

5656
[testenv:pkg_check]
5757
description = check that the long description is valid
58-
basepython = python3.10
58+
base_python = python3.10
5959
skip_install = true
6060
deps =
6161
build[virtualenv]>=0.10
6262
twine>=4.0.2
63-
changedir = {toxinidir}
63+
change_dir = {toxinidir}
6464
commands =
6565
python -m build --sdist --wheel -o {envtmpdir} .
6666
twine check {envtmpdir}/*
6767

6868
[testenv:dev]
6969
description = generate a DEV environment
70-
basepython = python3.10
71-
usedevelop = true
70+
base_python = python3.10
71+
package = editable
7272
extras =
7373
docs
7474
test

0 commit comments

Comments
 (0)