* rework lightning model for mnist

* sort imports

* add comment to pre-commit-config

* remove returns from test_step because it's bugged

* update experiment configs

* Update README.md
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-03-10 15:33:14 +01:00
1 parent 67d531ab67
commit b1e0bf9717
23 files changed
+480 -320

No files matched your search

+11 -13
View File
@@ -2,36 +2,34 @@ default_language_version:
python: python3.8
repos:
# Pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
# list of supported hooks: https://pre-commit.com/hooks.html
- id: end-of-file-fixer
- id: trailing-whitespace
- id: debug-statements
- id: detect-private-key
- id: check-yaml
- id: check-added-large-files
# 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:
# - id: isort
# # profiles: https://pycqa.github.io/isort/docs/configuration/profiles/
# # other flags: https://pycqa.github.io/isort/docs/configuration/options/
# args: [--profile, black]
# files: "src/.*"
- repo: https://github.com/PyCQA/isort
rev: 5.7.0
hooks:
- id: isort
# profiles: https://pycqa.github.io/isort/docs/configuration/profiles/
# other flags: https://pycqa.github.io/isort/docs/configuration/options/
args: [--profile, black, --skip, train.py, --filter-files]
# files: "src/.*"
# MyPy (static type checking)
# - repo: https://github.com/pre-commit/mirrors-mypy