mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-08-16 15:24:46 +00:00
Add pre-commit (#140)
* Add pre-commit config files * Add linting test on github action
This commit is contained in:
17
pyproject.toml
Normal file
17
pyproject.toml
Normal file
@ -0,0 +1,17 @@
|
||||
[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
|
||||
)/
|
||||
'''
|
Reference in New Issue
Block a user