Mercurial > hg
view black.toml @ 43313:a882c088dc2e stable
packaging: use /usr/bin/python3 shebang for scripts in Debian
"hg" script is already correct because it is handled by setup.py but
"hg-ssh" will be rewritten by dh_python into "/usr/bin/python" which is
not wanted as we target Python 3. By passing --shebang=/usr/bin/python3
to dh_python3, we force shebangs to be set with this value.
author | Denis Laxalde <denis@laxalde.org> |
---|---|
date | Mon, 21 Oct 2019 11:48:59 +0200 |
parents | 8343070ed758 |
children | daa3b58906d5 |
line wrap: on
line source
[tool.black] line-length = 80 exclude = ''' build/ | wheelhouse/ | dist/ | packages/ | \.hg/ | \.mypy_cache/ | \.venv/ | mercurial/thirdparty/ | hgext/fsmonitor/pywatchman/ | contrib/python-zstandard/ | contrib/grey.py ''' skip-string-normalization = true quiet = true