Python Forum
Template for new Python projects - start your project the right way
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Template for new Python projects - start your project the right way
#1
The tutorial goes through how to set up a new Python project with everything you need to keep the code consistent and high quality:

https://sourcery.ai/blog/python-best-practices/

It has how to set up black, isort, flake8, mypy, pytest and pre-commit to play nicely together, as well as using pipx and pipenv.

There's also a cookiecutter template so you can set up new projects straight away!
Reply
#2
We like tutorial submissions, but normally they should be posted on this forum.
this site does look like it has merit though.
Reply
#3
(Aug-02-2019, 01:37 AM)Larz60+ Wrote: this site does look like it has merit though.

A PEP8 straight jacket with a type checking ball gag? No thanks. And why do I need something to sort my imports?
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020