-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
102 lines (87 loc) · 2.55 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
101
102
[build-system]
requires = ["setuptools >= 62", "wheel", "setuptools_scm[toml] >= 6.2"]
[project]
name = "differences"
authors = [{ name = "Bernardo Dionisi", email = "bernardo.dionisi@gmail.com" }]
description = "difference-in-differences estimation and inference in Python"
readme = "README.md"
license = { text = "GPLv3" }
keywords = [
"did",
"difference-in-differences",
"panel data",
"econometrics",
"causal inference"
]
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
requires-python = ">=3.9"
dependencies = [
"numpy>=1.19",
"scipy>=1.8",
"pandas>=1.2",
"linearmodels>=4.25",
"statsmodels>=0.13,<1.0",
"formulaic>=0.3.4,<0.4.0",
"tqdm>=4.64.1",
"joblib>=1.2.0",
"typing_extensions >= 4.0.0",
]
dynamic = ["version"]
#[project.optional-dependencies]
[project.urls]
Homepage = "https://github.com/bernardodionisi/differences"
Source = "https://github.com/bernardodionisi/differences"
Issues = "https://github.com/bernardodionisi/differences/issues"
Documentation = "https://bernardodionisi.github.io/differences/latest/"
[tool.setuptools_scm]
write_to = "src/differences/_version.py"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"differences.datasets" = ["*.csv", "*.parquet"]
[tool.distutils.bdist_wheel]
universal = false
[tool.ruff]
src = ["src"]
extend-include = ["*.ipynb"]
extend-exclude = ["build", "dist", "docs", "src/differences/_version.py"]
line-length = 99
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
# "SIM",# flake8-simplify
"I", # isort
]
ignore = ["E501", "E713", "E714", "E741"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
[tool.pytest.ini_options]
minversion = "6.2"
addopts = "-s --showlocals"
testpaths = ["tests"]
[tool.coverage.report]
exclude_lines = [
"@overload",
"if TYPE_CHECKING:",
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"raise RuntimeError",
]
[tool.ruff.isort]
known-third-party = ["differences"]
required-imports = ["from __future__ import annotations"]