-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
70 lines (63 loc) · 1.63 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8", "pytest-runner"]
build-backend = "setuptools.build_meta"
[project]
name = "mozanalysis"
dynamic = ["version"]
authors = [{ name = "Mozilla Corporation", email = "[email protected]" }]
description = "A library for Mozilla experiments analysis"
requires-python = ">=3.10,<=3.11"
dependencies = [
"attrs",
"formulaic",
"google-cloud-bigquery",
"google-cloud-bigquery-storage",
"marginaleffects==0.0.12",
"matplotlib",
"mozilla-metric-config-parser>=2024.4.1",
"numpy",
"pandas",
"pyarrow",
"scipy",
"SecretStorage",
"statsmodels",
]
readme = "README.md"
[project.urls]
Repository = "https://github.com/mozilla/mozanalysis"
Documentation = "https://mozilla.github.io/mozanalysis/"
[project.optional-dependencies]
docs = ["Sphinx", "sphinx-autobuild", "sphinx-rtd-theme"]
testing = [
"mock",
"pytest",
"pytest-cov",
"pytest-ruff",
"pytest-timeout",
"ruff",
]
dev = ["build", "mozanalysis[testing]", "pip-tools", "tox", "twine"]
[tool.setuptools_scm]
[tool.ruff]
line-length = 88
exclude = [".git", "__pycache__"]
target-version = "py310"
[tool.ruff.lint]
ignore = ["E741", "RUF005"]
select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # Pyflakes
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"I", # isort
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"Q", # flake8-quotes
"UP", # pyupgrade
"PT", # flake8-pytest-style
"RUF", # Ruff-specific rules
]
[tool.pytest.ini_options]
norecursedirs = "tests/helpers"