black.toml
author Yuya Nishihara <yuya@tcha.org>
Sat, 16 Nov 2019 16:09:39 +0900
changeset 43723 7f51bc36194d
parent 43386 2247bf3cec76
child 44232 5e84a96d865b
permissions -rw-r--r--
typing: suppress error of py2 encoding.strtolocal() and .strfromlocal() I don't know how to conditionally get rid of these py2/py3 overloads from .pyi file. Instead, this patch makes pytype ignore the false-positives: line 271, in strtolocal: bad option in return type [bad-return-type] Expected: bytes Actually returned: str

[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