-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (109 loc) · 2.12 KB
/
pyproject.toml
File metadata and controls
125 lines (109 loc) · 2.12 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[project]
name = "cubejs"
version = "0.2.1"
description = "unofficial async cubejs python client"
authors = [
{name = "Wander"}
]
requires-python = ">=3.11"
readme = "README.md"
license = {text = "MIT"}
dependencies = [
"loguru>=0.7.2,<1.0.0",
"httpx>=0.28.1",
"pydantic>=2.8.2,<3.0.0",
"tenacity>=9.0.0,<10.0.0",
]
[dependency-groups]
dev = [
"ruff>=0.5.2,<1.0.0",
"mypy>=1.10.1,<2.0.0",
"pytest>=8.2.2,<9.0.0",
"pytest-cov>=5.0.0,<6.0.0",
"pytest-sugar>=1.0.0,<2.0.0",
"pytest-asyncio>=0.23.7,<1.0.0",
"time-machine>=2.14.2,<3.0.0",
"pytest-httpx>=0.35.0",
]
[project.urls]
repository = "https://github.com/wandercom/cubejs"
[tool.ruff]
line-length = 88
indent-width = 4
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"__pycache__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "D"]
ignore = [
"D211",
"D212",
"D203",
"D105",
"D107"
]
[tool.ruff.lint.per-file-ignores]
"**/{tests}/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pycodestyle]
max-line-length = 88
[tool.ruff.lint.mccabe]
max-complexity = 12
[tool.ruff.format]
indent-style = "space"
[tool.ruff.lint.isort]
known-first-party = ["cubejs"]
[tool.mypy]
strict = true
ignore_missing_imports = true
plugins = [
"pydantic.mypy"
]
exclude = [
"tests/*",
".venv/*",
"venv/*"
]
[tool.pydantic-mypy]
strict = true
init_forbid_extra = false
init_typed = false
warn_required_dynamic_aliases = false
warn_untyped_fields = true
[build-system]
requires = ["pdm-backend", "pip"]
build-backend = "pdm.backend"
[tool.coverage.run]
source = ["cubejs"]
branch = true
[tool.coverage.html]
directory = "tests-cov"
[tool.pytest.ini_options]
addopts = "--cov-report term --cov-report html:tests-cov --cov=cubejs"