forked from mewbotorg/mewbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (37 loc) · 983 Bytes
/
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
# Python project info
# SPDX-FileCopyrightText: 2021 - 2023 Mewbot Developers <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0
[tool.black]
line-length = 94
[tool.ruff]
line-length = 100
[tool.pylint."MASTER"]
persistent = "yes"
unsafe-load-any-extension = "no"
jobs=1
[tool.pydocstyle]
convention="pep257"
add-ignore=["D200", "D202", "D401"]
add-select=["D204", "D213", "D416", "D417"]
ignore-self-only-init=true
[tool.pylint."MESSAGES CONTROL"]
disable=[]
[tool.coverage.run]
branch=true
relative_files=true
source=["src"]
dynamic_context = "test_function"
[tool.coverage.report]
fail_under=40.0
[tool.coverage.html]
show_contexts=true
[tool.isort]
profile = "black"
py_version=310
sections = ['FUTURE', 'TYPING', 'STDLIB', 'THIRDPARTY', 'FIRSTPARTY', 'LOCALFOLDER']
known_typing = ["typing", "types", "collections.abc"]
# 9 is black compatible, bu does not look great
multi_line_output = 3
[tool.bandit]
skips = ["B101", "B404", "B607", "B603"]