Skip to content

Commit 769af6f

Browse files
committed
Add Black configuration to ensure consistent line length between make lint and pre-commit hook
1 parent 79d50cb commit 769af6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ name = "pytorch-cpu"
3737
url = "https://download.pytorch.org/whl/cpu"
3838
priority = "supplemental"
3939

40+
[tool.black]
41+
line-length = 120
42+
4043
[build-system]
4144
requires = ["poetry>=0.12"]
4245
build-backend = "poetry.masonry.api"

0 commit comments

Comments
 (0)