view black.toml @ 43378:2d31ef3fb494 stable

demandimportpy3: only use lazy extension loader on Python 3.6+ There was an inline comment denoting a bug in the lazy extension loader on Python 3.5 which prevents it from working there. But the code was not conditional on the Python version. The result of this was a myriad of failures on Python 3.5 due to getattr() and friends not working on lazy extension modules. By making extension modules non-lazy on Python 3.5, we reduce the number of test failures from 48 to 22 on that Python version.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 02 Nov 2019 11:42:46 -0700
parents daa3b58906d5
children 2247bf3cec76
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/
'''
skip-string-normalization = true
quiet = true