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

2
pyproject.toml

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

Loading…
Cancel
Save