Motivation:
Pre-commit hooks and proper linting has not been applied consistently in existing codebase. Following DeepLabCut/DeepLabCut-live#165 by @C-Achard, it would be great to introduce a modern and consistent linting configuration again, after reformatting the codebase. This enforces consistent style, which makes code easier to read, review, and maintain and can help to catch mistakes early before they turn into bugs (with very low effort).
Related PRs
The following PRs have been opened to address this. They should be merged in a specific order:
Motivation:
Pre-commit hooks and proper linting has not been applied consistently in existing codebase. Following DeepLabCut/DeepLabCut-live#165 by @C-Achard, it would be great to introduce a modern and consistent linting configuration again, after reformatting the codebase. This enforces consistent style, which makes code easier to read, review, and maintain and can help to catch mistakes early before they turn into bugs (with very low effort).
Related PRs
The following PRs have been opened to address this. They should be merged in a specific order: