# HG changeset patch # User Raphaël Gomès <rgomes@octobus.net> # Date 1678372448 -3600 # Thu Mar 09 15:34:08 2023 +0100 # Node ID 4d1779626665c2f4a011663b8a64e469644954ab # Parent de8e48728fbd7b7a199f2dd555246ec698692221 black: configure black This is basically the Mercurial code style, this affords us the luxury of not thinking about style from now on. diff --git a/pyproject.toml b/pyproject.toml --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,19 @@ [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" + +[tool.black] +line-length = 80 +include = 'bin\/.*|\.pyi?$' +extend-exclude = ''' +build/ +| wheelhouse/ +| dist/ +| packages/ +| scm-perf/ +| \.mypy_cache/ +| \.venv/ +| \.env/ +''' +skip-string-normalization = true +quiet = true