black.toml
author Mads Kiilerich <mads@kiilerich.com>
Fri, 01 Nov 2019 12:59:22 +0100
branchstable
changeset 43358 518655314fc5
parent 43348 daa3b58906d5
child 43386 2247bf3cec76
permissions -rw-r--r--
packaging: use "python3" for fedora29 ... and as buildrpm default Change the buidrpm default. The CentOS targets explicitly use "python", and changing the default will only influence Fedora 29. A Python 3 package needs python3 dependencies, so pythonexe (and pythonver) is used for specifying dependencies. Other OS versions will keep using "python" as before ... or potentially change to explicit "python2". Fedora 29 packages can thus also still be built for Python 2 - just not in the docker image that is updated for Python 3.

[tool.black]
line-length = 80
exclude = '''
build/
| wheelhouse/
| dist/
| packages/
| \.hg/
| \.mypy_cache/
| \.venv/
| mercurial/thirdparty/
| hgext/fsmonitor/pywatchman/
| contrib/python-zstandard/
'''
skip-string-normalization = true
quiet = true