-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 633 Bytes
/
Makefile
File metadata and controls
26 lines (19 loc) · 633 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
MYPY_OPTIONS = --ignore-missing-imports --disallow-untyped-calls --disallow-untyped-defs --disallow-incomplete-defs
.PHONY: integration-test
integration-test:
poetry run pytest tests/integration
.PHONY: unit-test
unit-test:
poetry run pytest tests/unit
.PHONY: lint-check
lint-check:
poetry run pylint data_transformations tests
.PHONY: type-check
type-check:
poetry run mypy ${MYPY_OPTIONS} data_transformations tests
.PHONY: style-checks
style-checks: lint-check type-check
.PHONY: tests
tests: style-checks unit-test integration-test
requirements.txt:
poetry export -f requirements.txt --output requirements.txt --dev