-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
53 lines (45 loc) · 1.27 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
[project]
name = "vis"
version = "0.0.1"
authors = [
{ name = "Adrian D'Alessandro", email = "a.dalessandro@imperial.ac.uk" },
{ name = "Callum West", email = "c.west@imperial.ac.uk" },
{ name = "Dan Davies", email = "d.w.davies@imperial.ac.uk" },
{ name = "Imperial College London RSE Team", email = "ict-rse-team@imperial.ac.uk" },
]
requires-python = ">=3.10"
dependencies = ["dash", "pandas", "pyyaml", "gunicorn", "dash-iconify"]
[project.optional-dependencies]
dev = [
"black",
"ruff",
"mypy",
"pip-tools",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-mypy",
"pytest-mock",
"pandas-stubs",
"types-PyYAML",
"types-requests",
]
[tool.setuptools.packages.find]
exclude = ["htmlcov"]
[tool.mypy]
disallow_any_explicit = true
disallow_any_generics = true
warn_unreachable = true
disallow_untyped_defs = true
exclude = [".venv/"]
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
[tool.pytest.ini_options]
addopts = "-v --mypy -p no:warnings --cov=app --cov-report=html --doctest-modules --ignore=app/__main__.py"
[tool.ruff]
select = ["D", "E", "F", "I"] # pydocstyle, pycodestyle, Pyflakes, isort
[tool.ruff.per-file-ignores]
"tests/*" = ["D100", "D104"]
[tool.ruff.pydocstyle]
convention = "google"