generated from kivymd-extensions/extension_template
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
48 lines (47 loc) · 824 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Format Python
[tool.black]
line-length = 80
target-version = ['py35', 'py36', 'py37', 'py38']
include = '(\.pyi?$|\.spec$)'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| buildozer\.spec
)
'''
# Sort imports
# Settings to fit Black formatting
# Taken from https://github.com/timothycrosley/isort/issues/694
[tool.isort]
line_length = 80
include_trailing_comma = true
multi_line_output = 3
use_parentheses = true
force_grid_wrap = 0
ensure_newline_before_comments = true
known_third_party = [
"setuptools",
"kivymd_extensions.sweetalert",
"kivymd",
"kivy",
"requests",
"PIL",
"android",
"jnius",
"watchdog",
"sphinx",
"docutils",
"autoapi",
"unidecode",
]