-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (43 loc) · 1.23 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
[tool.black]
extend-exclude = '^/typings/weechat.pyi'
[tool.isort]
profile = "black"
[tool.poetry]
name = "weechat-icat"
version = "0.1.0"
description = ""
authors = ["Trygve Aaberge <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "weechat_icat"}]
[tool.poetry.dependencies]
python = "^3.7"
pillow = "^9.4.0"
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
isort = {version = "^5.12.0", python = "^3.8"}
pylint = {version = "^2.16.3", python = "^3.7.2"}
pyright = "^1.1.296"
[tool.pylint.main]
ignored-modules = ["weechat"]
[tool.pylint."messages control"]
disable = [
"dangerous-default-value", # inconvenient with types
"inconsistent-return-statements", # no need when using typing
"invalid-name",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
"no-else-return",
"no-member", # incorrect reports
"protected-access", # covered by pyright
"too-few-public-methods", # too often bad advice
"too-many-arguments",
"too-many-instance-attributes",
]
[tool.pyright]
strict = ["**"]
reportMissingModuleSource = false
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"