-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathMakefile
36 lines (26 loc) · 804 Bytes
/
Makefile
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
install:
pip install -e .[dev]
AutoROM -y --quiet
test: unit-test integration-test
unit-test:
python -m unittest discover -s all -p "*test.py" -t .
integration-test:
python -m unittest discover -s integration -p "*test.py"
lint:
black --check all benchmarks examples integration setup.py
isort --profile black --check all benchmarks examples integration setup.py
flake8 --select "F401" all benchmarks examples integration setup.py
format:
black all benchmarks examples integration setup.py
isort --profile black all benchmarks examples integration setup.py
tensorboard:
tensorboard --logdir runs
benchmark:
tensorboard --logdir benchmarks/runs --port=6007
clean:
rm -rf dist
rm -rf build
build: clean
python setup.py sdist bdist_wheel
deploy: lint test build
twine upload dist/*