forked from robinhood-unofficial/pyrh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (89 loc) · 2.27 KB
/
pyproject.toml
File metadata and controls
100 lines (89 loc) · 2.27 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[tool.poetry]
name = "pyrh"
version = "2.0"
description = "Unofficial Robinhood Python API"
authors = [
"Unofficial Robinhood Python API Developers"
]
license = "MIT"
readme = "README.rst"
homepage = "https://github.com/georgianpartners/foreshadow"
repository = "https://github.com/georgianpartners/foreshadow"
keywords = [
"trading",
"options",
"robinhood",
"stock",
"api"
]
include = [
"pyproject.toml",
"README.rst",
"CONTRIBUTORS",
"LICENSE"
]
[tool.poetry.dependencies]
python = "^3.6"
# Doc Dependencies (need to be distributed for readthedocs)
autodocsumm = { version = "^0.1.13", optional = true }
sphinx = { version = "^2.4.4", optional = true }
sphinx-autodoc-typehints = { version = "^1.10.3", optional = true }
sphinx_rtd_theme = { version = "^0.4.3", optional = true }
# Main Dependencies
marshmallow = "^3.5.1"
python-dateutil = "^2.8"
pytz = "^2019.3"
requests = "^2.23"
yarl = "^1.4.2"
certifi = "^2020.4.5"
# Jupyter
notebook = { version = "^6.0.3", optional = true }
python-dotenv = { version = "^0.13.0", optional = true }
[tool.poetry.dev-dependencies]
# Linting
# These are version locked so .pre-commit-config is even
flake8 = "3.7.9"
flake8-docstrings = "1.5.0"
black = { version = "19.10b0", python = "^3.6" }
darglint = { version = "1.2.1", python = "^3.7"}
isort = { version = "4.3.21", extras = ["pyproject"] }
seed-isort-config = { version = "2.1.0", python = "^3.7" }
mypy = "0.770"
nbstripout = "^0.3.7"
# Testing
coverage = "^5.0.4"
freezegun = "^0.3.15"
pytest = "^5.4.1"
pytest-cov = "^2.8.1"
pytest-mock = "^2.0.0"
requests-mock = "^1.7.0"
# Automation
towncrier = "^19.2.0"
[tool.poetry.extras]
docs = ["sphinx", "sphinx-autodoc-typehints", "sphinx_rtd_theme", "autodocsumm"]
notebook = ["notebook", "python-dotenv"]
[tool.black]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
known_first_party = 'robinhood'
known_third_party = ["certifi", "dateutil", "freezegun", "marshmallow", "pytest", "pytz", "requests", "requests_mock", "yarl"]
multi_line_output = 3
lines_after_imports = 2
force_grid_wrap = 0
combine_as_imports = true
include_trailing_comma = true
[build-system]
requires = ["poetry>=1.0.5"]
build-backend = "poetry.masonry.api"