Skip to content

Commit

Permalink
Bump deps and tools (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbernat committed Feb 5, 2023
1 parent 6fb2091 commit 4a542ff
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
args: [--safe]
- repo: https://github.com/asottile/blacken-docs
rev: 1.13.0
hooks:
- id: blacken-docs
additional_dependencies: [black==22.12]
additional_dependencies: [black==23.1]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
Expand All @@ -49,16 +49,16 @@ repos:
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==22.12.6
- flake8-bugbear==23.1.20
- flake8-comprehensions==3.10.1
- flake8-pytest-style==1.6
- flake8-spellcheck==0.28
- flake8-unused-arguments==0.0.12
- flake8-unused-arguments==0.0.13
- flake8-noqa==1.3
- pep8-naming==0.13.3
- flake8-pyproject==1.2.2
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.4"
rev: "v2.7.1"
hooks:
- id: prettier
additional_dependencies:
Expand Down
34 changes: 24 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.12", "hatch-vcs>=0.3"]
requires = [
"hatch-vcs>=0.3",
"hatchling>=1.12.2",
]

[project]
name = "sphinx_argparse_cli"
description = "render CLI arguments (sub-commands friendly) defined by argparse module"
readme = "README.md"
keywords = [
"argparse",
"sphinx",
]
license = "MIT"
maintainers = [{ name = "Bernat Gabor", email = "gaborjbernat@gmail.com" }]
urls.Documentation = "https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
urls.Homepage = "https://github.com/tox-dev/sphinx-argparse-cli"
urls.Source = "https://github.com/tox-dev/sphinx-argparse-cli"
urls.Tracker = "https://github.com/tox-dev/sphinx-argparse-cli/issues"
requires-python = ">=3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand All @@ -26,11 +30,21 @@ classifiers = [
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
]
keywords = ["sphinx", "argparse"]
requires-python = ">=3.7"
dependencies = ["sphinx>=5.3,!=6.1"]
optional-dependencies.test = ["covdefaults>=2.2.2", "pytest>=7.2", "pytest-cov>=4"]
dynamic = ["version"]
dynamic = [
"version",
]
dependencies = [
"sphinx!=6.1,>=5.3",
]
optional-dependencies.test = [
"covdefaults>=2.2.2",
"pytest>=7.2.1",
"pytest-cov>=4",
]
urls.Documentation = "https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
urls.Homepage = "https://github.com/tox-dev/sphinx-argparse-cli"
urls.Source = "https://github.com/tox-dev/sphinx-argparse-cli"
urls.Tracker = "https://github.com/tox-dev/sphinx-argparse-cli/issues"

[tool.hatch]
build.hooks.vcs.version-file = "src/sphinx_argparse_cli/version.py"
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ passenv =
basepython = python3.10
skip_install = true
deps =
pre-commit>=2.21
pre-commit>=3.0.4
commands =
pre-commit run --all-files --show-diff-on-failure
python -c 'print("hint: run {envdir}/bin/pre-commit install to add checks as pre-commit hook")'
Expand All @@ -48,7 +48,7 @@ setenv =
{tty:MYPY_FORCE_COLOR = 1}
deps =
mypy==0.991
types-docutils>=0.19.1.1
types-docutils>=0.19.1.2
commands =
mypy src
mypy tests
Expand All @@ -58,7 +58,7 @@ description = check that the long description is valid
basepython = python3.10
skip_install = true
deps =
build[virtualenv]>=0.9
build[virtualenv]>=0.10
twine>=4.0.2
changedir = {toxinidir}
commands =
Expand Down

0 comments on commit 4a542ff

Please sign in to comment.