* update to Hydra 1.1 * add bash folder with scripts for conda setup and run scheduling * add saving seed in `log_hyperparameters()` method * redesign Dockerfile to make it weight less * add `test_after_training` parameter to config * add inheritance to trainer configs * remove forcing ddp-friendly configuration * refactor tests * remove conda_env_gpu.yaml * remove default langage version from pre-commit config * add mnist datamodule unit test * rename test folder from 'smoke' to 'shell' * remove wandb import from utils.py * change 'use_artifact' to 'log_artifact' in wandb callbacks * add rank zero decorator to wandb callbacks * add dumping rich tree config to file * get rid of `=` character in ckpt names * update requirements.txt * update LICENSE * update README.md
38 lines
860 B
YAML
38 lines
860 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.4.0
|
|
hooks:
|
|
# list of supported hooks: https://pre-commit.com/hooks.html
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: debug-statements
|
|
- id: detect-private-key
|
|
|
|
# python code formatting
|
|
- repo: https://github.com/psf/black
|
|
rev: 20.8b1
|
|
hooks:
|
|
- id: black
|
|
args: [--line-length, "99"]
|
|
|
|
# python import sorting
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.8.0
|
|
hooks:
|
|
- id: isort
|
|
|
|
# yaml formatting
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v2.3.0
|
|
hooks:
|
|
- id: prettier
|
|
types: [yaml]
|
|
|
|
# python code analysis
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 3.9.2
|
|
hooks:
|
|
- id: flake8
|