-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 lines (67 loc) · 2.08 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
[tool.poetry]
name = "v8serialize"
version = "0.1.0"
description = "Read & write JavaScript values from Python with the V8 serialization format."
authors = ["Hal Blackburn <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
packaging = ">=14.5" # this version introduces the VERSION_PATTERN constant
[tool.poetry.group.dev.dependencies]
exceptiongroup = { version = "^1", python = "<3.11" }
hypothesis = "^6.108.8"
# pytest must be ^7 because pytest-insta 0.2 requires pytest <8
pytest = "^7"
mypy = "^1.11.1"
frozendict = "^2.4.4"
pytest-cov = "^6.0.0"
# pytest-insta must be ^0.2 because 0.3 requires python 3.10
pytest-insta = "^0.2.0"
httpx = "^0.28.1"
typing-extensions = "^4.12.2"
pytest-xdist = "^3.6.1"
ruff = "^0.8.4"
[tool.poetry.group.docs.dependencies]
quartodoc = "^0.9.1"
jupyter = "^1.1.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
strict = true
[tool.coverage.report]
exclude_also = ["if TYPE_CHECKING:"]
[tool.pytest.ini_options]
addopts = [
"-n",
"auto",
"--strict-markers",
"-m",
"not integration",
"--doctest-modules",
]
markers = ["integration: Integration tests"]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"D", # pydocstyle
"E",
"F",
"FA", # flake8-future-annotations
"PYI", # flake8-pyi
"I", # isort
]
ignore = [
"PYI041", # prefer "float" over "int | float". They are not the same!
"D100", # "Missing docstring in public module" — not everything is documented yet
"D101", # "Missing docstring in public class" — not everything is documented yet
"D102", # "Missing docstring in public method" — not everything is documented yet
"D103", # "Missing docstring in public function" — not everything is documented yet
"D104", # "Missing docstring in public package" — not everything is documented yet
"D105", # "Missing docstring in magic method" — not everything is documented yet
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
extra-standard-library = ["typing_extensions", "_typeshed"]