ci: add strict config for flake8

This commit is contained in:
Ankush Menat
2021-09-01 15:52:16 +05:30
parent b92310eb35
commit 77aef302e4
3 changed files with 86 additions and 7 deletions

View File

@@ -9,9 +9,7 @@ repos:
hooks:
- id: trailing-whitespace
files: "erpnext.*"
- id: end-of-file-fixer
files: "erpnext.*"
exclude: ".*json$|.*txt$"
exclude: ".*json$|.*txt$|.*csv|.*md"
- id: check-yaml
- id: no-commit-to-branch
args: ['--branch', 'develop']
@@ -22,7 +20,7 @@ repos:
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies: [flake8-isort]
args: ['--config', '.github/helper/.flake8_strict']
exclude: ".*setup.py$"
ci: