forked from fsantini/python-e3dc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (78 loc) · 1.93 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
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "pye3dc"
authors = [
{name = "Francesco Santini", email = "[email protected]"},
{name = "Christopher Banck", email = "[email protected]"},
]
description = "E3/DC client for python"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"py3rijndael",
"python-dateutil",
"tzlocal",
"websocket-client",
]
dynamic = ["version"]
[project.optional-dependencies]
develop = [
"jsbeautifier",
"argparse",
"docker",
"black",
"isort",
"flake8",
"flake8-docstrings",
"flake8-pyproject",
"pyright",
]
[project.urls]
Documentation = "https://python-e3dc.readthedocs.io"
Repository = "https://github.com/fsantini/python-e3dc"
[tool.setuptools]
packages = ["e3dc"]
[tool.setuptools.package-data]
"*" = ["py.typed"]
[tool.setuptools.dynamic]
version = {attr = "e3dc.__version__"}
[tool.black]
target-version = ['py38','py39','py310','py311','py312']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.venv
| build
| dist
)/
'''
[tool.flake8]
exclude = [".venv", ".git", "build", "docs"]
max-line-length = 88
docstring-convention = "google"
# E722 should be fixed
extend-ignore = ["E203", "E302", "E501", "W293"]
[tool.isort]
profile = "black"
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pyright]
ignore = ["tools/*", "build/*", "dist/*", ".venv/*"]
typeCheckingMode = "strict"