Improve code quality
kralka opened this issue · comments
kralka commented
Ideas:
- Set up automation of tests and code quality checks
- Add docstrings
- Improve formatting (yapf)
- Fix typing (mypy)
- Work in linter advice (pylint)
- Run spell checker
kralka commented
Fix typing idea: Use Literal type hint for split (bevare of Python3.7 compatibility) #37 (comment)
kralka commented
General refactoring: Turn ['train', 'test', 'holdout'] into a constant in scaaml/io/dataset.py
kralka commented
General refactoring: Turn old formatting into f-strings.
Jean-Michel Picod commented
kralka commented
It could be nice having dataclasses for parameters that we use everywhere together. For instance: #75 (comment)