# HG changeset patch # User Dan Villiom Podlaski Christiansen <danchr@gmail.com> # Date 1611789665 -3600 # Thu Jan 28 00:21:05 2021 +0100 # Node ID 4ab269795beab355a1623ef6f0ed62171eb4050c # Parent 37e91b54482f8292273556bf9d1b27921774a4e4 project: add configuration for black diff --git a/pyproject.toml b/pyproject.toml --- a/pyproject.toml +++ b/pyproject.toml @@ -9,3 +9,17 @@ [tool.setuptools_scm] write_to = "hggit/__version__.py" version_scheme = "release-branch-semver" + +[tool.black] +line-length = 80 +exclude = ''' +build/ +| wheelhouse/ +| dist/ +| packages/ +| \.hg/ +| \.mypy_cache/ +| \.venv/ +| tests/ +''' +skip-string-normalization = true