Skip to content

Commit

Permalink
Update precommit hooks with all linters
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Oct 29, 2021
1 parent 768e8e3 commit 52b55cd
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,35 @@ repos:
- id: debug-statements
- id: detect-private-key

# python code formatting
# python code formatting/linting
- repo: https://github.com/PyCQA/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
args:
[
--convention=google,
"--add-ignore=D200,D202,D210,D212,D415",
"satip",
]
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
args:
[
--max-line-length,
"100",
--extend-ignore=E203,
--per-file-ignores,
"__init__.py:F401",
"satip",
]
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
hooks:
- id: isort
args: [--profile, black, --line-length, "100", "satip"]
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
Expand All @@ -24,4 +52,4 @@ repos:
rev: v2.3.0
hooks:
- id: prettier
types: [yaml]
types: [yaml]

0 comments on commit 52b55cd

Please sign in to comment.