/
pyproject.toml
72 lines (64 loc) · 1.53 KB
/
pyproject.toml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tool.poetry]
name = "scalarstop"
version = "0.0.0"
description = "A framework for managing machine learning experiments."
authors = ["Neocrym Records Inc <engineering@neocrym.com>"]
license = "MIT"
readme = "README.rst"
homepage = "https://www.scalarstop.com"
repository = "https://github.com/scalarstop/scalarstop"
[tool.poetry.dependencies]
python = "^3.8"
pandas = "*"
numpy = "*"
cloudpickle = "^1.6.0"
SQLAlchemy = "^1.4.5"
psycopg2-binary = "^2.8.6"
alembic = "^1.7.1"
log-with-context = "*"
# These are optional dependencies installed
# with pip extras. Seee the `tool.poetry.extras` section for more.
tensorflow = { version = ">=2.5", optional = true }
tensorflow-gpu = { version = ">=2.5", optional = true }
[tool.poetry.dev-dependencies]
# dev-dependencies does not include dependencies
# for generating docs. they are stored in .readthedocs-requirements.txt
pytest = "^5.2"
black = "^20.8b1"
isort = "^5.8.0"
pylint = "^2.10.2"
mypy = "^0.812"
coverage = "^5.5"
jupyter = "^1.0.0"
# We use pip "extras" to enforce a dependency on either
# the `tensorflow` or `tensorflow-gpu` package.
[tool.poetry.extras]
tensorflow = ["tensorflow"]
tensorflow-gpu = ["tensorflow-gpu"]
[tool.black]
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.svn
| \.mypy_cache
| \.nox
| \.tox
| \.venv
| venv
| _build
| buck-out
| build
| migrations
| dist
| bin
)/
)
'''
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"