pycontw / pycon_archive_past_website

Freeze and archive historical PyConTW official websites as static sites.
MIT License
4 stars 7 forks source link

Introducing linter and formatter #27

Closed josix closed 2 years ago

josix commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, the codebase doesn't conform with PEP8 and it makes the code lack readability. We should add some coding style checking tools to this project.

Describe the solution you'd like We could update the codebase first by using the python project template which contains all the required linter and formatter like pylint, flake8, black automatically. After being done with this, running inv style will run all the coding style checking and all we need to do is fix the warning raised from the tools.

Additional context The code fixing is a child issues. PR that introducing the project template is also welcome.