-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
112 lines (99 loc) · 2.44 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "PynneX"
version = "1.1.4"
description = "A Python Emitter-Listener library"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "San Kim", email = "nexconnect.io@gmail.com"}
]
keywords = [
"emitter",
"listener",
"signals",
"slots",
"signal-slot",
"decorator",
"asyncio",
"thread-safe",
"multithreading",
"pubsub",
"publisher",
"subscriber"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries"
]
[project.urls]
Homepage = "https://github.com/nexconnectio/pynnex"
Repository = "https://github.com/nexconnectio/pynnex"
Documentation = "https://github.com/nexconnectio/pynnex#readme"
Issues = "https://github.com/nexconnectio/pynnex/issues"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-asyncio>=0.21.0",
"memory_profiler"
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers --disable-warnings"
testpaths = ["tests"]
markers = [
"asyncio: mark test as an async test",
"performance: mark test as a performance test",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
source = ["pynnex"]
branch = true
[tool.pylint]
disable = [
"protected-access",
"too-few-public-methods",
"too-many-statements",
"too-many-lines",
"broad-exception-caught"
]
max-line-length = 140
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]
[tool.mypy]
# Disable checking for untyped function bodies
check_untyped_defs = false
# Allow implicit Optional
no_implicit_optional = false
# Disable specific errors
disable_error_code = ["annotation-unchecked", "assignment"]
# Do not treat warnings as errors
warn_return_any = false
warn_unused_configs = false
ignore_errors = true
omit = [
"tests/*",
"setup.py",
]