Browse Source

updated makefile linter

main
Holger Frey 4 years ago
parent
commit
674f4f8a61
  1. 6
      Makefile
  2. 2
      pyproject.toml

6
Makefile

@ -51,8 +51,8 @@ clean-test: ## remove test and coverage artifacts
rm -fr htmlcov/ rm -fr htmlcov/
lint: ## reformat with black and check style with flake8 lint: ## reformat with black and check style with flake8
isort -rc superx_budget isort superx_budget
isort -rc tests isort tests
black superx_budget tests black superx_budget tests
flake8 superx_budget tests flake8 superx_budget tests
@ -80,5 +80,5 @@ repo: devenv ## complete project setup with development environment and git repo
git init . git init .
git add . git add .
git commit -m "import of project template" git commit -m "import of project template"
.venv/bin/pre-commit install --install-hooks .venv/bin/pre-commit install --install-hooks

2
pyproject.toml

@ -44,7 +44,7 @@ dev = [
"black", "black",
"flake8", "flake8",
"flake8-comprehensions", "flake8-comprehensions",
"isort", "isort >= 5.0.0",
"keyring", "keyring",
"pre-commit", "pre-commit",
] ]

Loading…
Cancel
Save