-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
151 lines (140 loc) · 2.93 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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project.urls]
Home = "https://github.com/fxtatools/fxpy_fx"
[project]
name = "fxpy-fx"
version= "2.0.1"
requires-python = ">=3.9"
description = "asyncio support for the OANDA fxTrade v20 API (Unofficial)"
authors = [
{ name = "Sean Champ", email = "spchamp@users.noreply.github.com" },
]
license = { text = "MIT" }
readme = "README.md"
keywords = ["OpenAPI", "OpenAPI-Generator", "OANDA v20 REST API"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Private :: Do not Upload"
]
dependencies = [
"aenum >= 3.1.11",
"anyio >= 3.0.0",
"appdirs",
"aioconsole",
"certifi",
"click",
"currency-symbols",
"exceptiongroup > 1.1.0",
"gevent >= 23.7.0",
"httpcore[http2] >= 1.0.2",
"httpx[http2] >= 0.25.1",
"ijson",
"immutables >= 0.20",
"importlib_metadata",
"isocodes",
"numpy",
"pandas",
"platformdirs >= 4.2.0",
"pydantic >2, <3",
"python-dateutil >= 2.8.2",
"pyyaml",
"quattro >= 23.1.0",
"typing_extensions",
"tzdata",
"tzlocal",
"uvloop; platform_system != 'Windows'",
"zope.password",
"persistent >= 5.0.0",
"transaction >= 3.1.0"
]
[project.optional-dependencies]
## e.g "-e '.[dev,app,ta]'"
app = [
# FIXME prompt_toolit is used mainly for config init in the examples,
# singularly under exec_controller, qtfx
"prompt_toolkit >= 3.0.0",
"ZODB >= 5.8.0",
]
ta = ["numba", "cython"]
ui = ["pyqtgraph"]
pyside6 = ["fxpy-fx[ui]", "pyside6"]
pyqt6 = ["fxpy-fx[ui]", "pyqt6"]
typing = [
"pandas-stubs",
"types-PyYAML",
"types-python-dateutil",
"types-appdirs",
]
socks = ["httpx[socks]", "socksio"]
dev = [
"zc.zlibstorage",
"tox",
"fxpy-fx[typing]",
"assertpy",
# attrs: a dependency for polyfactory (19.6.2)
"attrs",
"autopep8",
"black",
"flake8 >=4.0.0",
"Flake8-pyproject",
"ipython",
"jedi>=0.19.1",
"keyring >= 24.1.1",
"line_profiler",
"mypy > 1.1.0",
"pip-tools",
"polyfactory",
"pytest >= 7.2.1",
"pytest-asyncio",
"pytest-dependency",
]
[tool.setuptools.dynamic]
version = { attr = "pyfx.fxpy.VERSION" }
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["pyfx.fxpy.test"]
namespaces = true
[tool.pytest.ini_options]
testpaths = ["test"]
[tool.pylint.'MESSAGES CONTROL']
extension-pkg-whitelist = "pydantic"
max_line_length = 127
# ...
disable = """
consider-using-dict-items,
wrong-import-order
"""
[tool.mypy]
check_untyped_defs = true
disable_error_code = ["import-untyped"]
plugins = ["numpy.typing.mypy_plugin"]
[tool.flake8]
ignore = [
"E117",
"E127",
"E128",
"E203",
"E251",
"E252",
"E261",
"E262",
"E266",
"W291",
"E302",
"E303",
"E402",
"E501",
]
[tool.autopep8]
ignore = [
"E266",
"E226",
"E24",
"W50",
"W690",
"E501"
]
[tool.pdm]
distribution = true