forked from nogibjj/Final_Project_Cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 825 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 825 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
install:
pip install --upgrade pip &&\
pip install -r ./ui/requirements.txt
format_python:
find . -type f -name "*.py" -exec black {} \;
find . -type f -name "*.ipynb" -exec nbqa black {} \;
install_actions:
pip install --upgrade pip &&\
pip install -r requirements_actions.txt
lint_python:
find . -type f -name "*.py" -exec ruff check {} \;
find . -type f -name "*.ipynb" -exec nbqa ruff {} \;
test_python:
python -m pytest -vv --cov=codes/project_codes codes/test_codes/*.py
python -m pytest --nbval codes/project_codes/*.ipynb
test_rust:
find . -type f -name "*.toml" -exec cargo test --quiet --manifest-path {} \;
format_rust:
find . -type f -name "*.toml" -exec cargo fmt --quiet --manifest-path {} \;
lint_rust:
find . -type f -name "*.toml" -exec cargo clippy --quiet --manifest-path {} \;