mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-25 01:34:51 +01:00
8f228d6844
* Add pre-commit config files * Add linting test on github action
18 lines
310 B
TOML
18 lines
310 B
TOML
[tool.black]
|
|
line-length = 200
|
|
target-version = ['py36', 'py37', 'py38']
|
|
skip-string-normalization = true
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
/(
|
|
\.*
|
|
| \.git
|
|
| \.mypy_cache
|
|
| \.venv
|
|
# The following are specific to Black, you probably don't want those.
|
|
| blib2to3
|
|
| tests/data
|
|
| profiling
|
|
)/
|
|
'''
|