-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (71 loc) · 2.17 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
[build-system]
requires = ["setuptools>=75.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "polars-bloomberg"
version = "0.4.2"
description = "Python library providing a Polars DataFrame interface for easy and intuitive access to Bloomberg API."
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [{ name = "Marek Ozana, Ph.D." }]
dependencies = ["polars>=1.7.1", "blpapi>=3.24.0"]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Topic :: Software Development :: Libraries",
"Topic :: Office/Business :: Financial",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "jupyter", "altair", "nox", "pyyaml"]
docs = [
"mkdocs>=1.5.0",
"mkdocstrings[python]>=0.22.0",
"mkdocs-jupyter",
"great_tables"
]
[project.urls]
Homepage = "https://github.com/MarekOzana/polars-bloomberg"
Documentation = "https://marekozana.github.io/polars-bloomberg"
[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["no_bbg: mark tests that do not require a Bloomberg connection"]
[tool.ruff]
line-length = 89
lint.select = [
"C", # mccabe (complexity)
"E", # Pycodestyle errors
"F", # Pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"YTT", # flake8-2020 (YTT)
"B", # flake8-bugbear
"T20", # flake8-print (T20)
"SIM", # flake8-simplify (SIM)
"RUF", # RUF specific
"PL", # PyLInt
"NPY", # NumPy-specific rules (NPY)
"W", # Pycodestyle warnings
"D", # Docstring conventions
"Q", # Quote consistency
# "S", # Security best practices
"A", # Assertion best practices
"R", # Refactor suggestions
"G", # General best practices
]
lint.ignore = ["D211", "D213", "D203", "T201"] # No blank lines before class (Removed)
[tool.ruff.lint.pylint]
max-args = 6
[tool.black]
line-length = 89
[tool.mypy]
ignore_missing_imports = true