gnome-pomodoro / gnome-pomodoro-tracking

Connect your Pomodoros to popular time tracking services (@odoo, @clockify, @toggl).
MIT License
27 stars 7 forks source link

Add flake8 #16

Closed kamilprusko closed 3 years ago

kamilprusko commented 3 years ago

I think for dynamic languages like python, static code analysis is highly recommended. The other popular option is pylint. From my experience pylint tends to find more stylistic errors (and is highly opinionated about code style), but it's easier to suppress those errors. flake8 is less annoying :D

You run it like:

$ flake8

josehbez commented 3 years ago

@kamilprusko Thanks your feedback.

I'm updating the source-code using flake8, as a style guide tool and include tests in github-action.