Mercurial > hg
view black.toml @ 44080:4e05272dd681
packaging: leverage os.path.relpath() in setup.py
`os.path.relpath()` has existed since Python 2.6, so we can safely use
it. This fixes a bug in the current code when the common prefix is "/"
(in which case `uplevel` would be one less than it should).
Differential Revision: https://phab.mercurial-scm.org/D7875
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 14 Jan 2020 14:18:11 -0800 |
parents | 2247bf3cec76 |
children | 5e84a96d865b |
line wrap: on
line source
[tool.black] line-length = 80 exclude = ''' build/ | wheelhouse/ | dist/ | packages/ | \.hg/ | \.mypy_cache/ | \.venv/ | mercurial/thirdparty/ | contrib/python-zstandard/ ''' skip-string-normalization = true quiet = true