Skip to content

Commit 161baba

Browse files
authored
Merge pull request #35 from andersk/black
Configure Black in pyproject.toml
2 parents cbb3bf1 + 48474d4 commit 161baba

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: .pre-commit-config.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ repos:
3434
- repo: https://github.com/psf/black
3535
rev: 23.11.0
3636
hooks:
37-
- name: black
38-
id: black
39-
args: ["--line-length", "79"]
37+
- id: black
4038
- repo: https://github.com/pre-commit/mirrors-prettier
4139
rev: "v3.1.0"
4240
hooks:

Diff for: pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ Issues = "https://github.com/crate-py/rpds/issues/"
3636
Funding = "https://github.com/sponsors/Julian"
3737
Source = "https://github.com/crate-py/rpds"
3838

39+
[tool.black]
40+
line-length = 79
41+
3942
[tool.isort]
4043
combine_as_imports = true
4144
from_first = true

0 commit comments

Comments
 (0)