-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
64 lines (58 loc) · 1.22 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
[project]
name = 'hooky'
description = 'Receive and respond to GitHub webhooks'
version = '1'
dependencies = [
'asyncer',
'cryptography',
'fastapi',
'httptools',
'pydantic-settings',
'pydantic',
'PyGithub',
'PyJWT',
'redis',
'requests',
'rtoml',
'uvicorn',
'uvloop',
]
[tool.ruff]
line-length = 120
extend-select = ['Q', 'RUF100', 'C90']
flake8-quotes = {inline-quotes = 'single', multiline-quotes = 'double'}
mccabe = { max-complexity = 14 }
[tool.pytest.ini_options]
testpaths = 'tests'
log_format = '%(name)s %(levelname)s: %(message)s'
filterwarnings = [
'error',
'ignore:There is no current event loop:DeprecationWarning',
]
timeout = 30
xfail_strict = true
[tool.coverage.run]
source = ['src']
branch = true
[tool.coverage.report]
precision = 2
exclude_lines = [
'pragma: no cover',
'raise NotImplementedError',
'raise NotImplemented',
'if TYPE_CHECKING:',
'@overload',
]
[tool.black]
color = true
line-length = 120
target-version = ['py311']
skip-string-normalization = true
skip-magic-trailing-comma = true
[tool.isort]
line_length = 120
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
color_output = true