-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
118 lines (101 loc) · 2.89 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
113
114
115
116
117
118
[tool.poetry]
name = "loopmon"
version = "1.0.1"
description = "Lightewight monitor library for asyncio.EventLoop"
authors = ["Byeonghoon Yoo <bh322yoo@gmail.com>"]
license = "MIT"
readme = "README.md"
keywords = ["asyncio", "monitoring", "eventloop", "lag", "delay"]
repository = "https://github.com/isac322/loopmon"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: No Input/Output (Daemon)",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: System",
"Topic :: System :: Monitoring",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.7"
typing-extensions = ">=3.8"
[tool.poetry.group.dev.dependencies]
flake8-black = "^0.3.6"
black = "^23.3.0"
flake8 = "^5.0.4"
pytest = "^7.3.1"
pytest-cov = "^4.0.0"
mypy = "^1.3.0"
pytest-mock = "^3.10.0"
flake8-isort = "^6.0.0"
asyncmock = {version = "^0.4.2", python = "<3.8"}
flake8-pyproject = "^1.2.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = "3.11"
allow_redefinition = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_optional = true
no_implicit_reexport = true
no_warn_no_return = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_ignores = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
[[tool.mypy.overrides]]
module = [
"tests.*",
]
ignore_errors = true
[tool.black]
line-length = 120
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
skip-string-normalization = true
[tool.coverage.run]
omit = ['*/__init__.py',]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
[tool.pytest.ini_options]
python_files = 'test_*.py'
[tool.isort]
profile = 'black'
[tool.flake8]
max-line-length = 120
extend-ignore = ['E203']