RockefellerArchiveCenter/DACSspace

Add linter and syntax formatter

Closed this issue · 1 comments

Add automated linting and syntax formatting. There are patterns for this in other RAC-developed apps:

  • autopep8
  • flake8
  • isort
  • implemented as a git pre-commit hook

Example in RAC apps:
nebula/.pre-commit-config.yaml

Pre-commit hooks are tests that run each time you attempt to commit. If the tests pass, the commit will be made, otherwise not.
Pre-commit hooks