-
Notifications
You must be signed in to change notification settings - Fork 32
/
pyproject.toml
69 lines (58 loc) · 1.9 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
[tool.poetry]
name = "Expression"
version = "0.0.0" # NOTE: will be updated by publish script
description = "Practical functional programming for Python 3.10+"
readme = "README.md"
authors = ["Dag Brattli <[email protected]>"]
license = "MIT License"
homepage = "https://github.com/cognitedata/Expression"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
python = ">= 3.10, < 4"
typing-extensions = ">=4.6.0"
pydantic = {version = "^2.6.2", optional = true}
[tool.poetry.group.dev.dependencies]
pytest-asyncio = "^0.24.0"
pytest = "^8.3.3"
coverage = "^6.4.3"
coveralls = "^3.3.1"
pre-commit = "^3.6.2"
dunamai = "^1.12.0"
hypothesis = "^6.54.2"
ruff = "^0.6.7"
[tool.poetry.extras]
pydantic = ["pydantic"]
all = ["pydantic"]
[tool.ruff]
# Keep in sync with .pre-commit-config.yaml
line-length = 120
target-version = "py310"
# D100: Missing docstring in public module
# D104: Missing docstring in public package
# D105: Missing docstring in magic method
lint.ignore = ["D100", "D101", "D102", "D103", "D105", "D107"]
lint.select = ["D", "E", "W", "F", "I", "T", "RUF", "TID", "UP"]
exclude = ["tests", "docs"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
lines-after-imports = 2
known-third-party = ["pytest"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "strict"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"