This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
130 lines (122 loc) · 2.73 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
requires = [
"setuptools>=68.0.0",
"wheel>=0.40.0"
]
build-backend = "setuptools.build_meta"
[project]
name = "leekbot_moderation"
version = "0.0.1"
description = "Moderation Tools for Leek"
authors = [
{ name = "Lemon", email = "[email protected]" }
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Communications",
"Topic :: Communications :: Chat"
]
dependencies = [
"leekbot",
]
requires-python = ">=3.8"
dynamic = [
"readme"
]
[project.urls]
Homepage = "https://github.com/LeekByLemon/LeekModeration"
[project.optional-dependencies]
dev = [
"ruff>=0.0.274,<1.0.0",
"build>=0.0.274,<1.0.0"
]
[tool.setuptools]
packages = [
"leek_moderation"
]
[tool.setuptools.dynamic]
readme = { file = ["README.md"], content-type = "text/markdown" }
[tool.setuptools.package-data]
"*" = [
"*.json"
]
[tool.ruff]
line-length = 120
ignore = [
"D401",
"D205",
"D212",
"D200",
"D204",
"D203",
"ANN002",
"ANN003",
"ANN101",
"ANN204",
"COM812",
"PLR2004"
]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"C", # mccabe complexity
"I", # isort
"N", # naming
"D", # pydocstyle
"ANN", # annotations
"ASYNC", # async
"S", # bandit
"BLE", # blind except
"B", # bugbear
"A", # builtins
"COM", # commas
"C4", # comprehensions
"DTZ", # datetimez
"T10", # debugger
"G", # logging format
"INP", # no pep420
"PIE", # pie? misc checks
"T20", # print
"Q", # quotes
"RSE", # raise's
"RET", # return values
"SLF", # private members
"SIM", # simplify calls
"TID", # tidy imports
"TCH", # type checking
"INT", # get text
"ARG", # unused arguments
"PTH", # use pathlib instead
"TD", # to do's
"FIX", # fix me style messages
"ERA", # eradicate commented code
"PGH", # pygrep hooks
"PLC", # pylint: convention
"PLE", # pylint: errors
"PLR", # pylint: refactor
"PLW", # pylint: warnings
"TRY", # tryceratops, aka exceptions
"RUF", # ruff specific
]
[tool.ruff.per-file-ignores]
"__init__.py" = [
"F401",
"F403",
"D104"
]
"setup.py" = [
"D100"
]