Skip to content

Code quality toolchain: black + pylint + mypy #3

Closed Answered by dalonsoa
davidorme asked this question in Q&A
Discussion options

You must be logged in to vote

Hi all,

This is a really nice summary of tools to use. I would say that this stack is a must and starting with a fresh project will make things easy.

About the individual tools:

  • Black: it is extremely useful. Granted that some stylistic choices might be a bit radical or odd-looking, but it tries its best to conform to the general Python style rules which I take they and a lot of thought behind. It rarely needs to be run manually. I have it configured such that it runs automatically whenever I save a file.

  • Pylint: not used it myself much. We tend to use flake8. It might be just because of historic reasons rather than because of a thorough comparison of features, but it works really wel…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davidorme
Comment options

davidorme May 13, 2022
Maintainer Author

Answer selected by davidorme
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants