-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (72 loc) · 1.97 KB
/
pyproject.toml
File metadata and controls
81 lines (72 loc) · 1.97 KB
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
[project]
name = "everyrow"
version = "0.2.1"
description = "An SDK for everyrow.io: agent ops at spreadsheet scale"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"attrs>=22.2.0",
"httpx>=0.20.0",
"pandas>=2.0.0",
"pydantic>=2.0.0,<3.0.0",
"python-dateutil>=2.7.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/everyrow"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
case-studies = [
"ipykernel>=7.1.0",
"nbconvert>=7.16.0",
"pyarrow>=22.0.0",
"python-dotenv>=1.2.1",
]
dev = [
"openapi-python-client>=0.28.1",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-mock>=3.15.1",
"basedpyright>=1.22.0",
"ruff>=0.9.9",
"jsonschema>=4.0.0",
"pytest-xdist>=3.8.0",
]
[tool.basedpyright]
venvPath = "."
venv = ".venv"
include = ["src", "tests"]
exclude = ["src/everyrow/generated"]
typeCheckingMode = "standard"
[tool.ruff]
include = ["src/**/*.py", "tests/**/*.py"]
exclude = [".venv", "src/everyrow/generated/**"]
target-version = "py312"
[tool.ruff.lint]
select = ["F", "E", "W", "PL", "RUF", "ARG", "F401", "UP"]
ignore = [
"E501", # line too long
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"PLR2004", # Magic value used in comparison
"PLR0913", # Too many arguments
"PLR0912", # Too many branches
"PLR0915", # Too many statements
"PLR0911", # Too many return statements
]
fixable = ["ALL"]
unfixable = []
extend-select = ["I"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?)|[a-zA-Z0-9_]+_)$"
exclude = [".venv", "src/everyrow/generated/**"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.format]
exclude = ["src/everyrow/generated/**"]
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib", "-m", "not integration"]
pythonpath = ["src"]
markers = [
"integration: marks tests as integration tests (require EVERYROW_API_KEY)",
]
asyncio_mode = "auto"