-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (65 loc) · 1.57 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
[tool.poetry]
name = "racoon_ai"
version = "0.6.10"
description = "Ri-one Accurate Operation AI"
authors = ["Ri-one-SSL <rionesslq@gmail.com>"]
license = "GPL-3.0-or-later"
[tool.poetry.dependencies]
python = "3.10.*"
protobuf = "3.19.1"
protoletariat = "^0.7.1"
types-protobuf = "^3.18.2"
numpy = "1.22.3"
PySide6 = "6.3.0"
pyqtgraph = "0.12.4"
pygame = {version = "^2.1.2", optional = true}
[tool.poetry.dev-dependencies]
black = "^21.12b0"
flake8 = "^4.0.1"
isort = {extras = ["colors"], version = "^5.10.1"}
mypy = "^0.930"
mypy-protobuf = "^3.1.0"
pre-commit = "^2.16.0"
pylint = "^2.12.2"
[tool.poetry.extras]
pygame = ["pygame"]
[tool.black]
line-length = 120
extend-exclude = [
"^/racoon_ai/proto/pb_gen/.*$",
"^/bin/*$"
]
[tool.isort]
profile = "black"
line_length = 120
skip_glob = [
"racoon_ai/proto/pb_gen/*",
".cache/*",
"bin/*"
]
[tool.mypy]
exclude = "^/.cache/.*$"
python_version = "3.10"
no_implicit_optional = true
strict = true
cache_dir = ".cache/mypy"
[tool.pylint]
[tool.pylint.basic]
good-names = ["i", "j", "k", "x", "y", "z", "kp", "kd", "ki"]
[tool.pylint.master]
ignore-paths = [
"^racoon_ai/proto/pb_gen/.*$",
"^.cache/.*$",
"^bin/.*$"
]
[tool.pylint.messages_control]
# C0330, C0326: Conflict with black
# W0511: Used when a warning note as FIXME or XXX is detected.
# R0902: Too many instance attributes
# R0913: Too many arguments
disable = "C0330, C0326, W0511, R0902, R0913, E1101"
[tool.pylint.format]
max-line-length = "120"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"