CQ-editor icon indicating copy to clipboard operation
CQ-editor copied to clipboard

Code cleanliness

Open mbway opened this issue 4 years ago • 1 comments

I think this project could really benefit from mandatory linting and automatic formatting. the CI could also be configured to fail if pull requests are not formatted correctly.

For formatters, personally I like pycodestyle and autopep8 but black is another good option. flake8 is a good python linter. I would run these tools and post a pull request but then it would appear in git as if I authored those lines so it might make more sense for a long time maintainer to run them instead.

mbway avatar Jun 19 '21 16:06 mbway

Probably black, as CQ is using it.

adam-urbanczyk avatar Jun 19 '21 17:06 adam-urbanczyk