-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (56 loc) · 1.43 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
[build-system]
requires = ['setuptools>=40.8.0']
build-backend = 'setuptools.build_meta'
[tool.setuptools]
packages = ["polyflame", "polyflame.samples"]
include-package-data = true
[project]
name = "polyflame"
version = "0.1.0"
description = "Polymorphic FLexible Analytics and Modelling Engine"
license = {file = "LICENSE"}
requires-python = ">=3.10"
readme = "README.md"
classifiers = ["License :: OSI Approved :: MIT License"]
dependencies = [
"pandas[parquet]==2.2.*",
"plotly==5.*",
"typing-extensions==4.*; python_version < '3.11'",
"tomli; python_version < '3.11'"
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
]
docs = [
"jupyter-book==1.*",
"sphinxcontrib-mermaid"
]
[project.urls]
Home = "https://github.com/globaldothealth/polyflame"
[tool.black]
line-length = 100
[tool.pytest.ini_options]
pythonpath = "."
[tool.ruff]
exclude = [".venv", ".vscode", ".git", "docs", "tests", "__init__.py"]
# Same as Black.
line-length = 100
indent-width = 4
[tool.ruff.lint]
extend-select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"ARG", # flake8-unused-arguments
"RUF", # Ruff-specific
"YTT", # flake8-2020
]
ignore = [
"C901", # function is too complex
"C408", # unnecessary `dict` call (rewrite as a literal)
]