forked from bitfinexcom/bitfinex-api-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (72 loc) · 1.95 KB
/
pyproject.toml
File metadata and controls
82 lines (72 loc) · 1.95 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "bitfinex-api-py"
version = "6.0.1"
description = "Official Bitfinex Python API"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.12"
authors = [
{ name = "Bitfinex", email = "support@bitfinex.com" },
]
keywords = ["bitfinex", "api", "trading"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"pyee~=13.0",
"websockets~=16.0",
"requests>=2.32.3",
]
[project.optional-dependencies]
typing = [
"types-requests~=2.32.4",
]
dev = [
"mypy~=1.19.0",
"types-requests~=2.32.4",
"ruff~=0.15.0",
"pre-commit~=4.5.0",
"pytest~=9.0",
"pytest-asyncio~=1.3.0",
"pytest-mock~=3.15.0",
"pytest-cov~=6.0",
]
[project.urls]
Homepage = "https://github.com/CloudIngenium/bitfinex-api-py"
"Bug Reports" = "https://github.com/CloudIngenium/bitfinex-api-py/issues"
Source = "https://github.com/CloudIngenium/bitfinex-api-py"
[tool.hatch.build.targets.wheel]
packages = ["bfxapi"]
[tool.ruff]
target-version = "py312"
line-length = 80
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"B", # flake8-bugbear
"UP", # pyupgrade
"I", # isort
]
ignore = ["E203", "E501", "E701", "UP046", "UP047"]
[tool.ruff.lint.per-file-ignores]
"*/__init__.py" = ["F401"]
[tool.ruff.lint.isort]
known-first-party = ["bfxapi"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "--cov=bfxapi --cov-report=term-missing --cov-fail-under=80"
[tool.mypy]
python_version = "3.13"
strict = true
warn_unused_ignores = true
disallow_any_unimported = true