VS Code settings with Formatters and Linters
Black
Flake8
mypy
isort
darglint
{
"workbench.colorCustomizations" : {
"editorRuler.foreground" : " #ff4081"
},
"python.linting.pylintEnabled" : false ,
"python.linting.enabled" : true ,
"python.formatting.provider" : " black" ,
"editor.formatOnSave" : true ,
"python.linting.flake8Enabled" : true ,
"python.linting.mypyEnabled" : true ,
"python.linting.mypyArgs" : [
" --ignore-missing-imports" ,
" --follow-imports=silent" ,
" --show-column-numbers" ,
" --strict"
],
"[python]" : {
"editor.codeActionsOnSave" : {
"source.organizeImports" : true
},
"editor.rulers" : [
80 ,
],
},
"python.sortImports.args" : [
" --profile" , " black"
]
}
pytest
pytest-cov
pytest-mock
tox
responses (for requests)
sphinx_rtd_theme
sphinx_autodoc_typehints
sphinxcontrib-napoleon
rstcheck (for VS Code plugin)
https://google.github.io/styleguide/pyguide.html
https://levelup.gitconnected.com/publishing-your-python-package-on-conda-and-conda-forge-309a405740cf