forked from frequenz-floss/frequenz-channels-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (67 loc) · 2.18 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 = [
"setuptools >= 65.3.0, < 66",
"setuptools_scm[toml] >= 7.0.5, < 8",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "frequenz-channels"
description = "Channel implementations for Python"
readme = "README.md"
license = { text = "MIT" }
keywords = [ "frequenz", "channel" ]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries",
]
requires-python = ">= 3.8, < 4"
dependencies = [
"watchfiles >= 0.15.0",
]
dynamic = [ "version" ]
[[project.authors]]
name ="Frequenz Energy-as-a-Service GmbH"
email = "[email protected]"
[project.optional-dependencies]
docs = [
"mike >= 1.1.2, < 2",
"mkdocs-gen-files >= 0.4.0, < 0.5.0",
"mkdocs-literate-nav >= 0.4.0, < 0.5.0",
"mkdocs-material >= 8.5.7, < 9",
"mkdocs-section-index >= 0.3.4, < 0.4.0",
"mkdocstrings[python] >= 0.19.0, < 0.20.0",
]
[project.urls]
Changelog = "https://github.com/frequenz-floss/frequenz-channels-python/releases"
Repository = "https://github.com/frequenz-floss/frequenz-channels-python"
Issues = "https://github.com/frequenz-floss/frequenz-channels-python/issues"
Support = "https://github.com/frequenz-floss/frequenz-channels-python/discussions/categories/support"
[tool.setuptools]
include-package-data = true
[tool.setuptools_scm]
version_scheme = "post-release"
[tool.pylint.similarities]
ignore-comments=['yes']
ignore-docstrings=['yes']
ignore-imports=['no']
min-similarity-lines=40
[tool.pylint.messages_control]
# disable wrong-import-order, ungrouped-imports because it conflicts with isort
disable = ["too-few-public-methods", "wrong-import-order", "ungrouped-imports"]
[tool.pylint.'DESIGN']
max-attributes=12
[tool.isort]
profile = "black"
line_length = 88
src_paths = ["src", "examples", "tests"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
required_plugins = [ "pytest-asyncio", "pytest-mock" ]