-
BackgroundI am working on a template project, the prod dependencies is quite simple right now, but many Thoughts / Questions
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We need to classify development tools into several categories:
From my personal habits, if you use Type 2 can also be managed by Type 3 should always be locked with the project dependencies, so add them in |
Beta Was this translation helpful? Give feedback.
We need to classify development tools into several categories:
ruff
,pre-commit
,flake8
.mypy
.pytest
.From my personal habits, if you use
pre-commit
, you can install all type 1 withpre-commit
, and don't specify them indev-dependencies
, except forpre-commit
. But if you don't want to involvepre-commit
, since type 1s run on their own and shouldn't have anything to do with other tools, there is no point locking them togethe…