marcusvolz / strava_py

Create artistic visualisations with your exercise data (Python version)
MIT License
152 stars 18 forks source link

Linting and formatting #33

Closed hugovk closed 1 year ago

hugovk commented 1 year ago

Let's use the popular https://github.com/psf/black autoformatter for Python code, it makes everything nice and consistent.

Similarly, let's use https://github.com/PyCQA/isort for sorting imports, https://github.com/prettier/prettier for Markdown, and some other linters, and check them on GitHub Actions.

I put the isort config in pyproject.toml; this is the file preferred for modern packaging and config, and in a future PR I can migrate setup.cfg and setup.py over too.

hugovk commented 1 year ago

Merge conflict resolved.