Skip to content

Commit 4fbe478

Browse files
Bump deps and tools (#50)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 5440536 commit 4fbe478

File tree

3 files changed

+45
-35
lines changed

3 files changed

+45
-35
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ repos:
2222
hooks:
2323
- id: isort
2424
- repo: https://github.com/psf/black
25-
rev: 22.12.0
25+
rev: 23.1.0
2626
hooks:
2727
- id: black
2828
args: [--safe]
2929
- repo: https://github.com/asottile/blacken-docs
3030
rev: 1.13.0
3131
hooks:
3232
- id: blacken-docs
33-
additional_dependencies: [black==22.10]
33+
additional_dependencies: [black==23.1]
3434
- repo: https://github.com/pre-commit/pygrep-hooks
3535
rev: v1.10.0
3636
hooks:
@@ -45,16 +45,16 @@ repos:
4545
hooks:
4646
- id: flake8
4747
additional_dependencies:
48-
- flake8-bugbear==22.10.27
48+
- flake8-bugbear==23.1.20
4949
- flake8-comprehensions==3.10.1
5050
- flake8-pytest-style==1.6
5151
- flake8-spellcheck==0.28
52-
- flake8-unused-arguments==0.0.12
52+
- flake8-unused-arguments==0.0.13
5353
- flake8-noqa==1.3
54-
- pep8-naming==0.13.2
55-
- flake8-pyproject==1.2.1
54+
- pep8-naming==0.13.3
55+
- flake8-pyproject==1.2.2
5656
- repo: https://github.com/pre-commit/mirrors-prettier
57-
rev: "v3.0.0-alpha.4"
57+
rev: "v2.7.1"
5858
hooks:
5959
- id: prettier
6060
additional_dependencies:

pyproject.toml

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,25 @@
11
[build-system]
22
build-backend = "hatchling.build"
3-
requires = ["hatchling>=1.11.1", "hatch-vcs>=0.2"]
3+
requires = [
4+
"hatch-vcs>=0.3",
5+
"hatchling>=1.12.2",
6+
]
47

58
[project]
69
name = "pyproject_api"
710
description = "API to interact with the python pyproject.toml based projects"
8-
readme.file = "README.md"
911
readme.content-type = "text/markdown"
10-
keywords = ["virtual", "environments", "isolated", "testing"]
12+
readme.file = "README.md"
13+
keywords = [
14+
"environments",
15+
"isolated",
16+
"testing",
17+
"virtual",
18+
]
1119
license = "MIT"
12-
urls.Homepage = "http://pyproject_api.readthedocs.org"
13-
urls.Source = "https://github.com/tox-dev/pyproject-api"
14-
urls.Tracker = "https://github.com/tox-dev/pyproject-api/issues"
15-
authors = [{ name = "Bernát Gábor", email = "[email protected]" }]
1620
maintainers = [{ name = "Bernát Gábor", email = "[email protected]" }]
21+
authors = [{ name = "Bernát Gábor", email = "[email protected]" }]
1722
requires-python = ">=3.7"
18-
dependencies = ["packaging>=21.3", 'tomli>=2.0.1; python_version < "3.11"']
19-
optional-dependencies.docs = ["furo>=2022.9.29", "sphinx>=5.3", "sphinx-autodoc-typehints>=1.19.5"]
20-
optional-dependencies.testing = [
21-
"covdefaults>=2.2.2",
22-
"pytest>=7.2",
23-
"pytest-cov>=4",
24-
"pytest-mock>=3.10",
25-
'importlib-metadata>=5.1; python_version < "3.8"',
26-
"wheel>=0.38.4",
27-
"virtualenv>=20.17",
28-
]
29-
dynamic = ["version"]
3023
classifiers = [
3124
"Development Status :: 5 - Production/Stable",
3225
"Framework :: tox",
@@ -35,17 +28,34 @@ classifiers = [
3528
"Operating System :: MacOS :: MacOS X",
3629
"Operating System :: Microsoft :: Windows",
3730
"Operating System :: POSIX",
38-
"Programming Language :: Python :: 3",
39-
"Programming Language :: Python :: 3 :: Only",
40-
"Programming Language :: Python :: 3.7",
41-
"Programming Language :: Python :: 3.8",
42-
"Programming Language :: Python :: 3.9",
43-
"Programming Language :: Python :: 3.10",
44-
"Programming Language :: Python :: 3.11",
4531
"Topic :: Software Development :: Libraries",
4632
"Topic :: Software Development :: Testing",
4733
"Topic :: Utilities",
4834
]
35+
dynamic = [
36+
"version",
37+
]
38+
dependencies = [
39+
"packaging>=23",
40+
'tomli>=2.0.1; python_version < "3.11"',
41+
]
42+
optional-dependencies.docs = [
43+
"furo>=2022.12.7",
44+
"sphinx>=6.1.3",
45+
"sphinx-autodoc-typehints!=1.23.4,>=1.22",
46+
]
47+
optional-dependencies.testing = [
48+
"covdefaults>=2.2.2",
49+
'importlib-metadata>=6; python_version < "3.8"',
50+
"pytest>=7.2.1",
51+
"pytest-cov>=4",
52+
"pytest-mock>=3.10",
53+
"virtualenv>=20.17.1",
54+
"wheel>=0.38.4",
55+
]
56+
urls.Homepage = "http://pyproject_api.readthedocs.org"
57+
urls.Source = "https://github.com/tox-dev/pyproject-api"
58+
urls.Tracker = "https://github.com/tox-dev/pyproject-api/issues"
4959

5060
[tool.hatch]
5161
build.hooks.vcs.version-file = "src/pyproject_api/_version.py"

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ passenv =
3939
PROGRAMDATA
4040
skip_install = true
4141
deps =
42-
pre-commit>=2.20
42+
pre-commit>=3.0.4
4343
commands =
4444
pre-commit run --all-files --show-diff-on-failure {tty:--color=always} {posargs}
4545

@@ -65,7 +65,7 @@ commands =
6565
description = check that the long description is valid
6666
skip_install = true
6767
deps =
68-
build[virtualenv]>=0.9
68+
build[virtualenv]>=0.10
6969
check-wheel-contents>=0.4
7070
twine>=4.0.2
7171
commands =

0 commit comments

Comments
 (0)