-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
100 lines (89 loc) · 2.37 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
98
99
100
# This file was derived from the PyPA Sample Project
# https://github.com/pypa/sampleproject
# Guide (user-friendly):
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
# Specification (technical, formal):
# https://packaging.python.org/en/latest/specifications/pyproject-toml/
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "epidatpy"
version = "0.5.0"
description = "A programmatic interface to Delphi's Epidata API."
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Delphi Research Group" }]
maintainers = [{ name = "Dmitry Shemetov", email = "[email protected]" }]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
requires-python = ">=3.8"
dependencies = [
"appdirs>=1.4.4",
"diskcache>=5.6.3",
"epiweeks>=2.1",
"pandas>=2",
"requests>=2.25",
"tenacity>=9.0.0",
]
[project.optional-dependencies]
dev = [
"ipykernel",
"matplotlib",
"mypy",
"nbsphinx",
"pylint",
"pytest",
"recommonmark",
"ruff",
"sphinx_rtd_theme",
"sphinx-autodoc-typehints",
"sphinx",
"twine",
"types-requests",
]
[project.urls]
homepage = "https://github.com/cmu-delphi/epidatpy"
repository = "https://github.com/cmu-delphi/epidatpy"
[tool.ruff]
line-length = 120
format.docstring-code-format = true
format.docstring-code-line-length = "dynamic"
lint.extend-select = [
"I", # isort
"UP", # pyupgrade
]
[tool.pylint]
max-line-length = 120
min-public-methods = 1
disable = [
"duplicate-code",
"invalid-name",
"missing-module-docstring",
"missing-function-docstring",
"too-many-arguments",
"too-many-locals",
"too-many-lines",
"too-many-public-methods",
"too-many-instance-attributes",
"too-many-lines",
"too-many-return-statements",
"too-many-branches",
]
[tool.mypy]
ignore_missing_imports = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_untyped_decorators = false
warn_redundant_casts = false
warn_unused_ignores = true
warn_return_any = true
exclude = "(tasks|setup).py"