mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🔧 Updated pre commit configs
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
exclude = .tox,.git,*/settings/*,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
|
exclude = .tox,.git,*/settings/*,*/static/CACHE/*,docs,node_modules,venv
|
||||||
extend-ignore = E203
|
extend-ignore = E203
|
||||||
|
|
||||||
[pycodestyle]
|
[pycodestyle]
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
exclude = .tox,.git,*/settings/*,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
|
exclude = .tox,.git,*/settings/*,*/static/CACHE/*,docs,venv
|
||||||
|
|
||||||
[isort]
|
[isort]
|
||||||
line_length = 88
|
line_length = 88
|
||||||
@@ -13,22 +13,11 @@ known_first_party = config
|
|||||||
multi_line_output = 3
|
multi_line_output = 3
|
||||||
default_section = THIRDPARTY
|
default_section = THIRDPARTY
|
||||||
skip = venv/
|
skip = venv/
|
||||||
skip_glob = **/migrations/*.py
|
|
||||||
include_trailing_comma = true
|
include_trailing_comma = true
|
||||||
force_grid_wrap = 0
|
force_grid_wrap = 0
|
||||||
use_parentheses = true
|
use_parentheses = true
|
||||||
profile = black
|
profile = black
|
||||||
|
|
||||||
[pycln]
|
|
||||||
exclude = __init__.py,
|
|
||||||
all = true
|
|
||||||
|
|
||||||
[coverage:run]
|
|
||||||
source = apps
|
|
||||||
omit = *migrations*,*test*,*__init__*,dummy_data.py
|
|
||||||
|
|
||||||
[coverage:report]
|
|
||||||
show_missing = True
|
|
||||||
|
|
||||||
[mypy]
|
[mypy]
|
||||||
python_version = 3.10
|
python_version = 3.10
|
||||||
|
|||||||
Reference in New Issue
Block a user