Skip to content

Task: Fix linting & and pre-commit-hooks and add to CI workflow #3217

Description

@deruyter92

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:

Metadata

Metadata

Labels

CIRelated to CI/CD jobs and automated testingenhancementNew feature or request

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions