-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (68 loc) · 1.66 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
[tool.poetry]
name = "event-dispatching"
version = "0.2.0"
description = "Pure python implementation of event dispatcher"
authors = ["Ruslan Saiko <[email protected]>"]
repository = "https://github.com/trabem/event-dispatcher"
readme = "README.md"
packages = [{ include = "event_dispatcher" }]
license = "MIT"
classifiers = [
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3"
]
keywords = [
"event-dispatcher",
"event-dispatching",
"events",
"event handling",
"python",
"asynchronous",
"event-driven",
"event management"
]
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.0"
pytest-asyncio = "^0.21.0"
coverage = "^7.2.7"
ruff = "^0.0.275"
black = "^23.3.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
xfail_strict = true
junit_family = "xunit2"
testpaths = [
"tests"
]
[tool.coverage.run]
branch = true
source = [
"event_dispatcher"
]
[tool.ruff]
line-length = 100
src = ["event_dispatcher", "tests", "examples"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
[tool.ruff.flake8-quotes]
inline-quotes = "double"
docstring-quotes = "double"
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401", "E402"]