Skip to content

Commit 4a542ff

Browse files
authored
Bump deps and tools (#79)
1 parent 6fb2091 commit 4a542ff

File tree

3 files changed

+32
-18
lines changed

3 files changed

+32
-18
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ repos:
2626
hooks:
2727
- id: isort
2828
- repo: https://github.com/psf/black
29-
rev: 22.12.0
29+
rev: 23.1.0
3030
hooks:
3131
- id: black
3232
args: [--safe]
3333
- repo: https://github.com/asottile/blacken-docs
3434
rev: 1.13.0
3535
hooks:
3636
- id: blacken-docs
37-
additional_dependencies: [black==22.12]
37+
additional_dependencies: [black==23.1]
3838
- repo: https://github.com/pre-commit/pygrep-hooks
3939
rev: v1.10.0
4040
hooks:
@@ -49,16 +49,16 @@ repos:
4949
hooks:
5050
- id: flake8
5151
additional_dependencies:
52-
- flake8-bugbear==22.12.6
52+
- flake8-bugbear==23.1.20
5353
- flake8-comprehensions==3.10.1
5454
- flake8-pytest-style==1.6
5555
- flake8-spellcheck==0.28
56-
- flake8-unused-arguments==0.0.12
56+
- flake8-unused-arguments==0.0.13
5757
- flake8-noqa==1.3
5858
- pep8-naming==0.13.3
5959
- flake8-pyproject==1.2.2
6060
- repo: https://github.com/pre-commit/mirrors-prettier
61-
rev: "v3.0.0-alpha.4"
61+
rev: "v2.7.1"
6262
hooks:
6363
- id: prettier
6464
additional_dependencies:

pyproject.toml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
[build-system]
22
build-backend = "hatchling.build"
3-
requires = ["hatchling>=1.12", "hatch-vcs>=0.3"]
3+
requires = [
4+
"hatch-vcs>=0.3",
5+
"hatchling>=1.12.2",
6+
]
47

58
[project]
69
name = "sphinx_argparse_cli"
710
description = "render CLI arguments (sub-commands friendly) defined by argparse module"
811
readme = "README.md"
12+
keywords = [
13+
"argparse",
14+
"sphinx",
15+
]
916
license = "MIT"
1017
maintainers = [{ name = "Bernat Gabor", email = "[email protected]" }]
11-
urls.Documentation = "https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
12-
urls.Homepage = "https://github.com/tox-dev/sphinx-argparse-cli"
13-
urls.Source = "https://github.com/tox-dev/sphinx-argparse-cli"
14-
urls.Tracker = "https://github.com/tox-dev/sphinx-argparse-cli/issues"
18+
requires-python = ">=3.7"
1519
classifiers = [
1620
"Development Status :: 5 - Production/Stable",
1721
"Environment :: Console",
@@ -26,11 +30,21 @@ classifiers = [
2630
"Topic :: Documentation",
2731
"Topic :: Documentation :: Sphinx",
2832
]
29-
keywords = ["sphinx", "argparse"]
30-
requires-python = ">=3.7"
31-
dependencies = ["sphinx>=5.3,!=6.1"]
32-
optional-dependencies.test = ["covdefaults>=2.2.2", "pytest>=7.2", "pytest-cov>=4"]
33-
dynamic = ["version"]
33+
dynamic = [
34+
"version",
35+
]
36+
dependencies = [
37+
"sphinx!=6.1,>=5.3",
38+
]
39+
optional-dependencies.test = [
40+
"covdefaults>=2.2.2",
41+
"pytest>=7.2.1",
42+
"pytest-cov>=4",
43+
]
44+
urls.Documentation = "https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
45+
urls.Homepage = "https://github.com/tox-dev/sphinx-argparse-cli"
46+
urls.Source = "https://github.com/tox-dev/sphinx-argparse-cli"
47+
urls.Tracker = "https://github.com/tox-dev/sphinx-argparse-cli/issues"
3448

3549
[tool.hatch]
3650
build.hooks.vcs.version-file = "src/sphinx_argparse_cli/version.py"

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ passenv =
3737
basepython = python3.10
3838
skip_install = true
3939
deps =
40-
pre-commit>=2.21
40+
pre-commit>=3.0.4
4141
commands =
4242
pre-commit run --all-files --show-diff-on-failure
4343
python -c 'print("hint: run {envdir}/bin/pre-commit install to add checks as pre-commit hook")'
@@ -48,7 +48,7 @@ setenv =
4848
{tty:MYPY_FORCE_COLOR = 1}
4949
deps =
5050
mypy==0.991
51-
types-docutils>=0.19.1.1
51+
types-docutils>=0.19.1.2
5252
commands =
5353
mypy src
5454
mypy tests
@@ -58,7 +58,7 @@ description = check that the long description is valid
5858
basepython = python3.10
5959
skip_install = true
6060
deps =
61-
build[virtualenv]>=0.9
61+
build[virtualenv]>=0.10
6262
twine>=4.0.2
6363
changedir = {toxinidir}
6464
commands =

0 commit comments

Comments
 (0)