-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (28 loc) · 718 Bytes
/
Copy pathMakefile
File metadata and controls
37 lines (28 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
30
31
32
33
34
35
36
37
venv:
python3.11 -m venv .venv
echo 'run `source .venv/bin/activate` to start develop DataModel'
venv12:
python3.12 -m venv .venv11
echo 'run `source .venv/bin/activate` to start develop DataModel'
install:
pip install -e .
develop:
pip install -e .
pip install -Ur docs/requirements-dev.txt
compile:
python setup.py build_ext --inplace
release:
lint test clean
flit publish
format:
python -m black datamodel
lint:
python -m pylint --rcfile .pylintrc datamodels/*.py
python -m pylint --rcfile .pylintrc datamodels/models/*.py
python -m black --check datamodels
test:
python -m coverage run -m datamodels.tests
python -m coverage report
python -m mypy datamodels/*.py
distclean:
rm -rf .venv