-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 718 Bytes
/
Makefile
File metadata and controls
29 lines (23 loc) · 718 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
install:
@pip3 install -r requirements.txt
clean:
@rm -rf src/__pycache__
@rm -rf src/.mypy_cache
@rm -rf src/models/__pycache__
@rm -rf src/.ipynb_checkpoints
@rm -rf .mypy_cache
docker:
@docker build . -t chatsql
docker_run:
@docker run --add-host host.docker.internal:host-gateway --rm -t -p ${p}:9001 chatsql
check:
@echo --------------------------
@echo FLAKE8 is checking ....
@flake8 src/main.py --config .config/.flake8 || true
@echo --------------------------
@echo PYLINT is checking ....
@pylint --rcfile .config/.pylintrc src/*.py || true
@echo --------------------------
@echo MYPY is checking ....
@mypy . --config-file .config/mypy.ini || true
@echo --------------------------