Skip to content

Commit 1ee5bd1

Browse files
[pre-commit.ci] pre-commit autoupdate (#53)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bernát Gábor <[email protected]>
1 parent ec8c760 commit 1ee5bd1

File tree

6 files changed

+21
-29
lines changed

6 files changed

+21
-29
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
jobs:
1313
test:
1414
name: test on CPython ${{ matrix.py }}
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
1616
strategy:
1717
fail-fast: false
1818
matrix:
@@ -51,7 +51,7 @@ jobs:
5151

5252
check:
5353
name: tox env ${{ matrix.tox_env }}
54-
runs-on: ubuntu-20.04
54+
runs-on: ubuntu-22.04
5555
strategy:
5656
fail-fast: false
5757
matrix:
@@ -75,7 +75,7 @@ jobs:
7575
publish:
7676
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
7777
needs: [check, test]
78-
runs-on: ubuntu-20.04
78+
runs-on: ubuntu-22.04
7979
steps:
8080
- name: setup python to build package
8181
uses: actions/setup-python@v4

.pre-commit-config.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: trailing-whitespace
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v2.37.2
15+
rev: v2.37.3
1616
hooks:
1717
- id: pyupgrade
1818
args: [ "--py36-plus" ]
@@ -29,7 +29,7 @@ repos:
2929
rev: v1.12.1
3030
hooks:
3131
- id: blacken-docs
32-
additional_dependencies: [ black==22.1 ]
32+
additional_dependencies: [ black==22.6 ]
3333
- repo: https://github.com/pre-commit/pygrep-hooks
3434
rev: v1.9.0
3535
hooks:
@@ -40,19 +40,19 @@ repos:
4040
- id: tox-ini-fmt
4141
args: [ "-p", "fix" ]
4242
- repo: https://github.com/asottile/setup-cfg-fmt
43-
rev: v1.20.2
43+
rev: v2.0.0
4444
hooks:
4545
- id: setup-cfg-fmt
4646
args: [ --min-py3-version, "3.7", "--max-py-version", "3.10" ]
4747
- repo: https://github.com/PyCQA/flake8
48-
rev: 4.0.1
48+
rev: 5.0.3
4949
hooks:
5050
- id: flake8
5151
additional_dependencies:
52-
- flake8-bugbear==22.1.11
53-
- flake8-comprehensions==3.8
52+
- flake8-bugbear==22.7.1
53+
- flake8-comprehensions==3.10
5454
- flake8-pytest-style==1.6
55-
- flake8-spellcheck==0.24
56-
- flake8-unused-arguments==0.0.9
57-
- flake8-noqa==1.2.1
58-
- pep8-naming==0.12.1
55+
- flake8-spellcheck==0.28
56+
- flake8-unused-arguments==0.0.11
57+
- flake8-noqa==1.2.8
58+
- pep8-naming==0.13.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools >= 44", "wheel >= 0.30", "setuptools_scm[toml]>=3.4"]
2+
requires = ["setuptools>=63.4", "wheel>=0.37.1", "setuptools_scm[toml]>=7.0.5"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.black]

setup.cfg

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ classifiers =
2121
Operating System :: OS Independent
2222
Programming Language :: Python :: 3
2323
Programming Language :: Python :: 3 :: Only
24-
Programming Language :: Python :: 3.7
25-
Programming Language :: Python :: 3.8
26-
Programming Language :: Python :: 3.9
27-
Programming Language :: Python :: 3.10
2824
Programming Language :: Python :: Implementation :: CPython
2925
Topic :: Documentation
3026
Topic :: Documentation :: Sphinx
@@ -37,7 +33,7 @@ project_urls =
3733
[options]
3834
packages = find:
3935
install_requires =
40-
sphinx>=3
36+
sphinx>=5.1.1
4137
python_requires = >=3.7
4238
include_package_data = True
4339
package_dir =
@@ -49,7 +45,7 @@ where = src
4945

5046
[options.extras_require]
5147
test =
52-
pytest>=6
48+
pytest>=7.1.2
5349
pytest-cov>=3
5450

5551
[options.package_data]

tox.ini

Lines changed: 5 additions & 7 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
40+
pre-commit>=2.20
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")'
@@ -47,21 +47,19 @@ description = run type check on code base
4747
setenv =
4848
{tty:MYPY_FORCE_COLOR = 1}
4949
deps =
50-
mypy==0.930
51-
types-docutils
50+
mypy==0.971
51+
types-docutils>=0.19
5252
commands =
5353
mypy --strict --python-version 3.10 src
5454
mypy --strict --python-version 3.10 tests
5555

5656
[testenv:pkg_check]
5757
description = check that the long description is valid
58-
passenv =
59-
*
6058
basepython = python3.10
6159
skip_install = true
6260
deps =
63-
build>=0.7
64-
twine>=3.7
61+
build[virtualenv]>=0.8
62+
twine>=4.0.1
6563
changedir = {toxinidir}
6664
commands =
6765
python -m build --sdist --wheel -o {envtmpdir} .

whitelist.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ metavar
1818
nitpicky
1919
outdir
2020
parsers
21-
pathlib
2221
prog
2322
refid
2423
reftitle
2524
rst
26-
setdefault
2725
statemachine
2826
subparsers
2927
subtype

0 commit comments

Comments
 (0)