General improvements (#88)

* remove unnecessary linters from pre-commit-config

* hook fix

* small improvements

* fix readme

* implement easier access to debug mode

* fix tests

* Update README.md

* Update README.md
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-03-08 15:53:30 +01:00
1 parent 5385a2ec98
commit 3d301977b3
14 files changed
+176 -113

No files matched your search

+6 -12
View File
@@ -12,14 +12,17 @@ repos:
- id: detect-private-key
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
# Black - code formatting
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
# args: [--force-exclude, train.py]
args: [--force-exclude, train.py]
# Isort - import sorting
# - repo: https://github.com/PyCQA/isort
# rev: 5.7.0
# hooks:
@@ -28,17 +31,8 @@ repos:
# # other flags: https://pycqa.github.io/isort/docs/configuration/options/
# args: [--profile, black]
# - repo: https://github.com/pre-commit/mirrors-yapf
# rev: v0.30.0
# hooks:
# - id: yapf
# args: [--parallel, --in-place]
# - repo: https://gitlab.com/pycqa/flake8
# rev: 3.7.9
# hooks:
# - id: flake8
# MyPy - static type checking
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v0.790
# hooks: