view black.toml @ 43801:3fe91bcd5199

tests: fix deprecation warning about regex flags not at beginning of expr This may only show up when running the tests under python3.6+. Currently the only test that does this is test-patchbomb-tls.t, and it only uses (?i), so that's all that's handled at the moment. Differential Revision: https://phab.mercurial-scm.org/D7552
author Kyle Lippincott <spectral@google.com>
date Thu, 05 Dec 2019 14:01:26 -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