-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
97 lines (87 loc) · 2.22 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
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "tdf_simulator"
version = "0.1.0"
description = "A simulator for TDF files."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "Apache 2.0" }
authors = [{ name = "Sebastian Paez", email = "[email protected]" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"numpy >= 2.0.0",
"pandas",
"pyzstd",
"tqdm",
"loguru",
"uniplot",
"tomli-w",
"tomli",
]
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "ruff", "coverage"]
viz = ["ipykernel", "timsrust_pyo3 >= 0.4.0", "matplotlib", "notebook"]
test = ["pytest"]
[tool.setuptools.packages.find]
include = ["tdf_simulator"]
[tool.ruff.lint]
# Enable pycodestyle ('E'), Pyflakes ('F'), isort ('I'), and more
select = [
"E",
"F",
"I",
"N",
"D",
"UP",
"ANN",
"S",
"BLE",
"FBT",
"B",
"C4",
"T20",
"PT",
"Q",
]
ignore = [
"ANN101", # Missing annotation for self in method
"ANN102", # Missing annotation for cls in class method
"D100", # Missing docstring in public module
"ANN204", # Missing return type annotation for special method `__init__`
"D107", # Missing docstring in __init__
"D105", # Missing docstring in magic method
"S311", # Random number generator is not good enough for cryptographic purposes
]
[tool.ruff.lint.pycodestyle]
max-doc-length = 100
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"F401",
"D104", # Missing docstring in public package
]
"tests/*.py" = [
"S101", # Use of `assert` detected
"T201", # `print` found
"D103", # Missing docstring
"ANN201", # Missing return type
]
"notebooks/*" = ["ANN", "D103", "E501"]
[tool.ruff.lint.isort]
known-first-party = ["tdf_simulator"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-rA -q"
testpaths = ["tests", "tdf_simulator/**.py"]