Skip to content

Commit ca03665

Browse files
committed
Add pyproject-fmt to pre-commit
Also apply formatting changes.
1 parent 351f969 commit ca03665

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.pre-commit-config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ repos:
1212
rev: '22.1.0'
1313
hooks:
1414
- id: black
15+
- repo: https://github.com/tox-dev/pyproject-fmt
16+
rev: '0.3.2'
17+
hooks:
18+
- id: pyproject-fmt

pyproject.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[build-system]
2-
requires = ["wheel", "setuptools"]
32
build-backend = "setuptools.build_meta"
3+
requires = [
4+
"setuptools",
5+
"wheel",
6+
]
47

58
[tool.black]
69
line-length = 88

0 commit comments

Comments
 (0)