-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (22 loc) · 762 Bytes
/
Makefile
File metadata and controls
34 lines (22 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
black: ## run black formatter
black flake8_koles -S
black-check: ## run black check
black flake8_koles -S --check
coverage_html: ## create html coverage report and open it in the default browser
coverage html
xdg-open htmlcov/index.html
flake8: ## run flake8
flake8 flake8_koles/ --ignore=KOL001,KOL002
isort: ## run isort
isort flake8_koles -rc
isort-check: ## run isort check
isort flake8_koles -rc
lint: flake8 yamllint black-check isort-check mypy # run all linters
mypy: ## run mypy
mypy flake8_koles
safety: ## run safety check
safety check -r requirements-dev.txt
unittests: ## run pytest with coverage and -s flag for debugging
pytest --cov=flake8_koles.checker tests/ --cov-branch -s
yamllint: # run yamllint
yamllint .