🔧 Updated pre commit configs

This commit is contained in:
Nikhil Badyal
2022-10-17 23:32:28 +05:30
parent c1776146ea
commit cf7c8bb70d
+2 -13
View File
@@ -1,11 +1,11 @@
[flake8]
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
[pycodestyle]
max-line-length = 120
exclude = .tox,.git,*/settings/*,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
exclude = .tox,.git,*/settings/*,*/static/CACHE/*,docs,venv
[isort]
line_length = 88
@@ -13,22 +13,11 @@ known_first_party = config
multi_line_output = 3
default_section = THIRDPARTY
skip = venv/
skip_glob = **/migrations/*.py
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
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]
python_version = 3.10