-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
97 lines (84 loc) · 2.3 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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "tsignal"
version = "0.5.0"
description = "A Python Signal-Slot library inspired by Qt (Deprecated - Use pynnex instead)"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "San Kim", email = "tsignal.dev@gmail.com"}
]
keywords = ["signal-slot", "decorator", "multithreading", "asyncio"]
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",
"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 = ["tsignal"]
branch = true
[tool.pylint]
disable = [
"protected-access",
"too-few-public-methods",
"too-many-statements",
"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",
]