-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (50 loc) · 1.47 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
[tool.poetry]
name = "discord-bot"
description = "A discord bot for the server of Dutch Drone Squad"
authors = ["Dutch Drone Squad <[email protected]>"]
maintainers = ["Klaas Schoute <[email protected]>"]
license = "MIT"
readme = "README.md"
package-mode = false
packages = [
{ include = "modules" }
]
[tool.poetry.dependencies]
py-cord = "^2.4.1"
python = "^3.11"
python-dotenv = "^1.0.1"
requests = "^2.31.0"
twitchapi = "^4.2.0"
[tool.poetry.group.dev.dependencies]
ruff = "0.8.6"
[tool.pylint.BASIC]
good-names = ["_", "ex", "fp", "i", "id", "j", "k", "on", "Run", "T"]
[tool.pylint.SIMILARITIES]
ignore-imports = true
[tool.pylint.FORMAT]
max-line-length = 88
[tool.pylint.DESIGN]
max-attributes = 20
[tool.ruff]
target-version = "py311"
lint.select = ["ALL"]
lint.ignore = [
"ANN101", # Self... explanatory
"ANN102", # cls... just as useless
"ANN401", # Opinioated warning on disallowing dynamically typed expressions
"D203", # Conflicts with other rules
"D213", # Conflicts with other rules
"D417", # False positives in some occasions
"PLR2004", # Just annoying, not really useful
"SLOT000", # Has a bug with enums: https://github.com/astral-sh/ruff/issues/5748
"T201", # Print statements are fine
# Conflicts with the Ruff formatter
"COM812",
"ISC001",
]
[tool.ruff.lint.flake8-pytest-style]
mark-parentheses = false
fixture-parentheses = false
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"