ebrithiljonas / fittrackee-uploader

A companion application for FitTrackee to upload your workout files
GNU Affero General Public License v3.0
14 stars 4 forks source link

Add pre-commit hooks for ruff and lint code #10

Open slackline opened 5 months ago

slackline commented 5 months ago

The recently added switch to pyproject.toml (see #7 ) included configuration options for the ruff.

The easiest way to add this to the development workflow is via pre-commit and pre-commit.ci which runs the checks as part of the Continuous Integration.

Tasks to complete...

Might also be worth linting the code with pylint as ruff doesn't always pick up all the "code smells"