-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (66 loc) · 1.5 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
[build-system]
requires = ["flit_core>=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "bloom"
authors = [{name = "A5rocks", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: Apache Software License"]
dynamic = ["description"]
requires-python = ">=3.8"
# TODO: version should be "<API version>.<2 digit year>.<month>"
# with versioning policy that major changes are fine every year.
version = "0.0.1-dev"
dependencies = [
"trio>=0.19",
"trio-websocket>=0.9.2",
"attrs>=21.2.0",
"cattrs>=22.1.0",
"httpx>=0.21.1",
# I will need this for ParamSpec:
#"typing-extensions>=3.10.0; python_version <= '3.10'",
]
[project.optional-dependencies]
docs = [
"Sphinx>=4.1.2",
"furo>=2021.7.28b40",
"sphinx-autobuild>=2021.3.14",
"sphinxcontrib-trio>=1.1.2",
]
dev = [
# lints/formatters
"mypy>=0.930",
"isort>=5.9.2",
"flake8>=3.9.2",
"pylint>=2.9.6",
"black>=21.10b0",
# stubs
"trio-typing>=0.5.1",
"typing-extensions>=3.10.0",
# misc
"ipython>=7.26.0",
]
test = [
"pytest>=6.2.4",
"pytest-trio>=0.7.0",
]
[project.urls]
Home = "https://github.com/A5rocks/bloom"
[tool.mypy]
strict = true
python_version = 3.8
mypy_path = "stubs"
show_error_codes = true
pretty = true
[tool.isort]
profile = "black"
line_length = 99
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "99"
[tool.black]
skip-string-normalization = true
target-version = ["py38", "py39", "py310"]
line-length = 99