-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (105 loc) · 2.9 KB
/
Copy pathpyproject.toml
File metadata and controls
115 lines (105 loc) · 2.9 KB
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
[project]
name = "sizebot"
version = "3.11.1"
description = "sizebot"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{ name = "DigiDuncan", email = "digiduncan@gmail.com" },
{ name = "Natalie Fearnley", email = "nfearnley@gmail.com" }
]
classifiers = [
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
]
requires-python = ">= 3.12"
dependencies = [
"colored==1.4.2",
"discord-py==2.3.2",
"appdirs==1.4.4",
"toml==0.10.2",
"numpy==1.26.4",
"pynacl==1.5.0",
"digiformatter==0.5.7.2",
"python-dateutil==2.9.0.post0",
"requests==2.31.0",
"inflect==7.0.0",
"arrow==1.3.0",
"validator-collection==1.5.0",
"flask==3.0.2",
"jinja2==3.1.3",
"itsdangerous==2.1.2",
"werkzeug==3.0.1",
"pytz==2024.1",
"pillow==10.2.0",
"tqdm==4.66.2",
"aiohttp-requests==0.2.3",
"asyncstdlib==3.12.1",
"ndjson==0.3.1",
"packaging==24.0",
"sizeroyale==1.0.5",
"numexpr==2.9.0",
"mre>=0.12.0",
]
[project.optional-dependencies]
linux = [
"pystemd==0.13.2",
"pyuwsgi>=2.0.23.post0",
]
[tool.rye]
managed = true
dev-dependencies = [
"pytest==8.1.1",
"flake8==7.0.0",
"autopep8==2.0.4",
"pytest-asyncio==0.23.5.post1",
"flake8-annotations==3.1.0",
]
[project.urls]
Homepage = "https://github.com/sizedev/sizebot"
Repository = "https://github.com/sizedev/sizebot.git"
Issues = "https://github.com/sizedev/sizebot/issues"
Changelog = "https://github.com/sizedev/sizebot/blob/master/changelogs/3.8.md"
[project.scripts]
sizebot = "sizebot.main:main"
sizebotapi = "sizebotapi.main:main"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["sizebot"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", "W", # pycodestyle
"N", # pep8-naming
"UP", # pyupgrade
"ANN", # flake8-annotations
"ASYNC", # flake8-async
"FBT", # flake8-boolean-trap
"B", # flake8-bugbear
"A", # flake8-builtins
"COM", # flake8-commas
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"ICN", # flake8-import-conventions
"LOG", # flake8-logging
"PIE", # flake8-pie
"T20", # flake8-print
"PYI", # flake8-pyi
"PT", # flake8-pytest-style
"RSE", # flake8-raise
"RET", # flake8-return
"SLF", # flake8-self
"PTH", # flake8-use-pathlib
"FIX", # flake8-fixme
"ERA", # eradicate
"PGH", # pygrep-hooks
"RUF", # Ruff-specific rules
]
ignore = ["E501", "ANN101", "ANN102", "ANN401", "ANN204", "COM812", "PIE790", "RET504", "RUF001", "RUF013"]
[tool.ruff.lint.pep8-naming]
ignore-names = ["fromJSON", "toJSON"]