2019-07-25 07:56:10 +02:00
|
|
|
[tool.black]
|
|
|
|
# since black refuses to allow single-quotes... see locked conversation at
|
|
|
|
# https://github.com/psf/black/issues/594
|
|
|
|
skip-string-normalization = true
|
|
|
|
target = "py36"
|
2022-04-18 11:39:19 +02:00
|
|
|
# explicitly exclude user_keymaps from black formatting rules
|
2019-07-25 07:56:10 +02:00
|
|
|
# because a visually-appealing keymap list will be flattened
|
|
|
|
# by black into a much harder to understand format
|
|
|
|
exclude = '''
|
|
|
|
/(
|
|
|
|
\.git
|
|
|
|
| \.mypy_cache
|
|
|
|
| \.tox
|
|
|
|
| \.venv
|
|
|
|
| \.pytest_cache
|
|
|
|
| \.compiled
|
|
|
|
| dist
|
2020-10-21 21:19:42 +02:00
|
|
|
| boards
|
2019-07-25 07:56:10 +02:00
|
|
|
| build
|
|
|
|
| docs
|
|
|
|
| user_keymaps
|
2019-07-25 09:32:20 +02:00
|
|
|
| mnt
|
2019-07-25 07:56:10 +02:00
|
|
|
)/
|
|
|
|
'''
|