Skip to content

Commit

Permalink
pre-commit checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed Apr 4, 2021
1 parent 2d1ea87 commit 4e4585c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-merge-conflict
- id: debug-statements
- id: mixed-line-ending
- id: check-case-conflict
- id: check-yaml
- repo: https://github.com/timothycrosley/isort
rev: 5.8.0
hooks:
- id: isort
- repo: https://github.com/python/black
rev: 20.8b1
hooks:
- id: black
language_version: python3
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
hooks:
- id: flake8
language_version: python3
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v0.812
# hooks:
# - id: mypy
# args: ["--strict", "--show-error-codes"]
1 change: 0 additions & 1 deletion obonet/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

from .io import open_read_file


logger = logging.getLogger(__name__)


Expand Down

0 comments on commit 4e4585c

Please sign in to comment.