* update template to pytorch 1.10+ and lightning 1.5+ * add experiment mode to all experiment configs and implement special logging paths for experiment mode * add `MaxMetric` to model, for computation of best so far validation accuracy * add RichProgressBar to default callbacks * get rid of trick for preventing auto hparam logging, since lightning now supports it with `self.save_hyperparameters(logger=False)` * add `self.save_hyperparameters()` to datamodule since lightinng now supports it * deprecate Apex support * deprecate bash script for conda setup * change `terminate_on_nan` debug option to `detect_anomaly` for compatibility with lightning v1.5 * specify model and datamodule during `trainer.test()`, for compatibility with lightning v1.5 * remove `configs/trainer/all_params.yaml` * make hyperparameter optimization compatible with lightning v1.5 * general documentation improvements
38 lines
654 B
INI
38 lines
654 B
INI
[isort]
|
|
line_length = 99
|
|
profile = black
|
|
filter_files = True
|
|
|
|
|
|
[flake8]
|
|
max_line_length = 99
|
|
show_source = True
|
|
format = pylint
|
|
ignore =
|
|
F401 # Module imported but unused
|
|
W504 # Line break occurred after a binary operator
|
|
F841 # Local variable name is assigned to but never used
|
|
F403 # from module import *
|
|
E501 # Line too long
|
|
exclude =
|
|
.git
|
|
__pycache__
|
|
data/*
|
|
tests/*
|
|
notebooks/*
|
|
logs/*
|
|
|
|
|
|
[tool:pytest]
|
|
python_files = tests/*
|
|
log_cli = True
|
|
markers =
|
|
slow
|
|
addopts =
|
|
--durations=0
|
|
--strict-markers
|
|
--doctest-modules
|
|
filterwarnings =
|
|
ignore::DeprecationWarning
|
|
ignore::UserWarning
|