mirror of
https://github.com/ArtemSBulgakov/buildozer-action.git
synced 2024-08-16 10:09:52 +02:00
34 lines
587 B
TOML
34 lines
587 B
TOML
|
# 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_parantheses = true
|
||
|
force_grid_wrap = 0
|
||
|
ensure_newline_before_comments = true
|