Skip to content

Instantly share code, notes, and snippets.

@zupo
Last active May 29, 2019 14:08
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zupo/eb6dbfb98bc7548adb8d9208a8e3f57a to your computer and use it in GitHub Desktop.
Save zupo/eb6dbfb98bc7548adb8d9208a8e3f57a to your computer and use it in GitHub Desktop.
5 hacks to improve your code in 5 minutes

5 hacks to improve your code in 5 minutes

1. black

Stop having flamewars about code style.

2. isort

Stop having flamewars about how to sort imports.

3. codespell

Stop having typos in your code.

4. pydocstyle

Stop having poor or non-existent docstrings.

5. pre-commit

Make sure all of the above are enforced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment