Proposal for unified development tools and environment #88
Closed
EuleMitKeule
started this conversation in
General
Replies: 1 comment
-
That sounds great! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To improve the stability and code quality of the integration and to increase the chances of getting this merged into
core
I would propose implementing a unified development environment and choose a set of tools and conventions to be used.pyproject.toml
pyproject.toml
file that can be used to configure dev tools and package settings as well as dependenciesDependencies and Dependency Management
poetry
together with apyproject.toml
filehomeassistant
package for code completion and analysisFormatting and Linting
ruff
ruff
provides blazingly fast linting and code analysis and unifies dev tools for linting, formatting and import sorting and is compatible with VS Code via https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruffStatic Type Checking
mypy
could be used to perform static type checkingmypy
also works with VS Code via https://marketplace.visualstudio.com/items?itemName=matangover.mypyVS Code Settings
Pre-Commit
pre-commit
to enforce the rules set by the tools and our configuration before committingruff
will automatically fix issues when committingAs I frequently implement and use this kind of development environment I would be happy to set it up for this repository if you would like me to.
Beta Was this translation helpful? Give feedback.
All reactions