Skip to content

Commit 49b1cf7

Browse files
authoredApr 1, 2021
Add linting pre-commit hook, and do linting (#211)
* Add linting pre-commit hook, and do linting * Bump pre-commit version to v3.4.0, rerun lint on deconflicted changes
1 parent a4e6bc7 commit 49b1cf7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1465
-1199
lines changed
 

‎.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ pip-selfcheck.json
2626

2727
# Backup files
2828
*.bak
29-

‎.pre-commit-config.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.4.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-added-large-files
11+
- repo: https://github.com/psf/black
12+
rev: 20.8b1
13+
hooks:
14+
- id: black

0 commit comments

Comments
 (0)
Please sign in to comment.