Skip to content

Commit 8b112bd

Browse files
committed
Add black to pyproject toml
1 parent 8f790c0 commit 8b112bd

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ classifiers = [
3131
[project.optional-dependencies]
3232
dev = [
3333
"datamodel-code-generator",
34-
"setuptools_scm"
34+
"setuptools_scm",
35+
"black"
3536
]
3637

3738
[build-system]
@@ -49,3 +50,16 @@ include-package-data = true
4950
include = ["harp*"]
5051

5152
[tool.setuptools_scm]
53+
54+
[tool.black]
55+
line-length = 88
56+
target-version = ['py39']
57+
include = '\.pyi?$'
58+
extend-exclude = '''
59+
# A regex preceded with ^/ will apply only to files and directories
60+
# in the root of the project.
61+
(
62+
^/LICENSE
63+
^/README.md
64+
)
65+
'''

0 commit comments

Comments
 (0)