-
Notifications
You must be signed in to change notification settings - Fork 17
/
Pipfile
45 lines (41 loc) · 1.08 KB
/
Pipfile
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
38
39
40
41
42
43
44
45
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
coverage = "6.4.4"
flake8 = "5.0.4"
flake8-docstrings = "1.6.0"
furo = "2022.9.15"
isort = "5.10.1"
mypy = "0.971"
pytest = "7.1.3"
sphinx = "5.1.1"
sphinx-autobuild = "2021.3.14"
sphinx-copybutton = "0.5.0"
sphinxcontrib-bibtex = "2.5.0"
types-requests = "2.28.10"
yapf = "0.32.0"
[packages]
numpy = "1.23.3"
pandas = "1.5.0"
requests = "2.28.1"
scipy = "1.9.1"
tensorboard = "2.10.0"
torch = "1.12.1"
tqdm = "4.64.1"
[requires]
python_version = "3.8"
[scripts]
doc = "sphinx-build -b html doc/source doc/build"
doc-server = "sphinx-autobuild --watch lmp --open-browser doc/source doc/build"
doc-coverage = "sphinx-build -b coverage doc/source doc/build"
# Lint with yapf.
ly = "yapf --in-place --recursive --exclude **/*/.venv lmp test"
# Lint with isort.
li = "isort --settings-path .isort.cfg lmp test"
# Lint with flake8.
lf = "flake8 --config=.flake8 lmp test"
tensorboard = "tensorboard --logdir exp/log"
test = "coverage run --branch --source=lmp --omit=.venv/* -m pytest"
test-coverage = "coverage report"