Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
py:
- "3.11.0-beta.4"
- "3.11.0-beta.5"
- "3.10"
- "3.9"
- "3.8"
Expand Down
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v2.37.2
rev: v2.37.3
hooks:
- id: pyupgrade
args: [ "--py37-plus" ]
Expand All @@ -33,7 +33,7 @@ repos:
rev: v1.12.1
hooks:
- id: blacken-docs
additional_dependencies: [ black==21.12b0 ]
additional_dependencies: [ black==22.6 ]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
hooks:
Expand All @@ -44,19 +44,19 @@ repos:
- id: tox-ini-fmt
args: [ "-p", "fix" ]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.2
rev: v2.0.0
hooks:
- id: setup-cfg-fmt
args: [ --min-py3-version, "3.7", "--max-py-version", "3.10" ]
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 5.0.2
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==22.1.11
- flake8-comprehensions==3.8
- flake8-bugbear==22.7.1
- flake8-comprehensions==3.10
- flake8-pytest-style==1.6
- flake8-spellcheck==0.24
- flake8-unused-arguments==0.0.9
- flake8-noqa==1.2.1
- pep8-naming==0.12.1
- flake8-spellcheck==0.28
- flake8-unused-arguments==0.0.11
- flake8-noqa==1.2.8
- pep8-naming==0.13.1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=50", "setuptools_scm>=6"]
requires = ["setuptools>=63.4", "setuptools_scm>=7.0.5"]
build-backend = 'setuptools.build_meta'

[tool.black]
Expand Down
20 changes: 8 additions & 12 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Documentation :: Sphinx
download_url = https://github.com/tox-dev/sphinx-autodoc-typehints/archive/main.zip
project_urls =
Expand All @@ -30,7 +26,7 @@ project_urls =
[options]
packages = find:
install_requires =
Sphinx>=4.5
Sphinx>=5.1.1
python_requires = >=3.7
package_dir =
=src
Expand All @@ -41,15 +37,15 @@ where = src
[options.extras_require]
testing =
covdefaults>=2.2
coverage>=6.3
diff-cover>=6.4
nptyping>=2.1.2
pytest>=7.1
coverage>=6.4.2
diff-cover>=6.5.1
nptyping>=2.2
pytest>=7.1.2
pytest-cov>=3
sphobjinv>=2
typing-extensions>=4.1
sphobjinv>=2.2.2
typing-extensions>=4.3
type_comments =
typed-ast>=1.5.2;python_version < "3.8"
typed-ast>=1.5.4;python_version < "3.8"

[options.package_data]
sphinx_autodoc_typehints = py.typed
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ wheel_build_env = .pkg
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
skip_install = true
deps =
pre-commit>=2
pre-commit>=2.20
commands =
pre-commit run --all-files --show-diff-on-failure

Expand All @@ -47,7 +47,7 @@ setenv =
{tty:MYPY_FORCE_COLOR = 1}
deps =
mypy==0.971
types-docutils
types-docutils>=0.19
commands =
mypy --python-version 3.10 src
mypy --python-version 3.10 tests
Expand All @@ -61,8 +61,8 @@ setenv =
skip_install = true
deps =
covdefaults>=2.2
coverage>=6.3
diff-cover>=6.4
coverage>=6.4.2
diff-cover>=6.5.1
extras =
parallel_show_output = true
commands =
Expand All @@ -82,8 +82,8 @@ depends =
description = check that the long description is valid (need for PyPI)
skip_install = true
deps =
build>=0.7
twine>=4
build[virtualenv]>=0.8
twine>=4.0.1
extras =
commands =
pyproject-build -o {envtmpdir} --wheel --sdist .
Expand Down