-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (18 loc) · 740 Bytes
/
Makefile
File metadata and controls
25 lines (18 loc) · 740 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
.PHONY: run-dev, docker-shell, docker-build, docker-run, test, test-functions, test-watch-functions, cdk-deploy, cdk-synth, test, test-snapshot-update, lint, fix, lint-fix
DIRS = channel_advisor_api
IMAGE = channel-advisor-catalog
BASE_DIR = channel_advisor_api
test:
pytest --cov --cov-branch --cov-report=xml --cov-report=term-missing:skip-covered
lint:
flake8 --statistics
fix:
black --line-length 120 .
autoflake -r --in-place --remove-unused-variables --remove-all-unused-imports --ignore-init-module-imports --remove-duplicate-keys .
lint-fix: fix lint
version-noop:
# Checks to see if the version will change
semantic-release --noop version
version:
# Checks to see if the version will change
semantic-release version