Skip to content

Commit

Permalink
chore(pre-commit): Add additional checks #105 (#106)
Browse files Browse the repository at this point in the history
Pre-commit config has room for improvement.
Checks added:
- id: check-docstring-first
- id: debug-statements
- id: name-tests-test
- id: requirements-txt-fixer

closes #105
  • Loading branch information
imAsparky committed Sep 20, 2021
1 parent 43f4900 commit 2f96b6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Local Files and Folders
.coveragerc
hooks/snippets.txt

# vscode
workspace.code-*
*code-workspace
.vscode/


Expand Down
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ repos:
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-docstring-first
- id: check-yaml
- id: debug-statements
- id: name-tests-test
- id: requirements-txt-fixer
- id: check-merge-conflict

- repo: https://github.com/pycqa/pylint
rev: v2.10.2
Expand Down

0 comments on commit 2f96b6e

Please sign in to comment.