Skip to content

Commit 131aa43

Browse files
committed
Fix black issue for python 3.7
1 parent 4927381 commit 131aa43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[tool.black]
22
line-length = 99
3-
target-version = ["py36", "py37", "py38", "py39", "py310", "py311", "py312", "py313"]
3+
# Older versions of black (like the ones compatible with py3.7)
4+
# don't recognize newer python versions like py312.
5+
target-version = ["py36", "py37", "py38", "py39", "py310"]
46
include = '''
57
\.pyi?$
68
'''

0 commit comments

Comments
 (0)