This repository has been archived by the owner on Jul 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
138 lines (127 loc) · 2.42 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
131
132
133
134
135
136
137
138
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [
{email = "BuriedInCode@tuta.io", name = "BuriedInCode"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python",
"Typing :: Typed"
]
dependencies = [
"pydantic >= 1.10.7",
"ratelimit >= 2.2.1",
"requests >= 2.30.0",
"rich >= 13.3.5",
"tomli >= 2.0.1; python_version < \"3.11\"",
"tomli-w >= 1.0.0"
]
description = "A simple app that sends Neptune's Pride Stats to webhooks."
dynamic = ["version"]
keywords = []
license = "GPL-3.0-or-later"
name = "Neptunes-Hooks"
readme = "README.md"
requires-python = ">= 3.8"
[project.optional-dependencies]
dev = [
"pre-commit >= 3.3.1"
]
[project.scripts]
Neptunes-Hooks = 'neptunes_hooks.__main__:main'
[project.urls]
Documentation = "https://github.com/Buried-In-Code/Neptunes-Hooks#readme"
Issues = "https://github.com/Buried-In-Code/Neptunes-Hooks/issues"
Source = "https://github.com/Buried-In-Code/Neptunes-Hooks"
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py38", "py39"]
[tool.hatch.version]
path = "neptunes_hooks/__init__.py"
[tool.ruff]
fix = true
format = "grouped"
ignore = [
"A001",
"A003",
"ANN101",
"ANN102",
"ANN204",
"ANN206",
"ANN401",
"C901",
"D107",
"D212",
"RET504",
"SIM105"
]
line-length = 100
select = [
"A",
"ANN",
"ARG",
"B",
"BLE",
"C40",
"C90",
"COM",
# "D",
"DJ",
"E",
"ERA",
"F",
"G",
"I",
"ICN",
"INP",
"ISC",
"N",
"NPY",
"PD",
"PGH",
"PIE",
"PLC",
"PLE",
"PLW",
"PT",
"PTH",
"PYI",
"Q",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"SLF",
"T10",
"T20",
"TCH",
"TID",
"UP",
"W",
"YTT"
]
show-fixes = true
target-version = "py38"
[tool.ruff.flake8-annotations]
allow-star-arg-any = true
mypy-init-return = true
[tool.ruff.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.isort]
combine-as-imports = true
[tool.ruff.mccabe]
max-complexity = 18