-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
55 lines (47 loc) · 1.2 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
[project]
name = "finegrain-discord"
version = "0.1.0"
description = "Meet our Discord bot, your friendly Finegrain API playground!"
authors = [
{ name = "The Finegrain Team", email = "[email protected]" }
]
dependencies = [
"discord-py>=2.4.0",
"environs>=14.1.0",
"pillow>=11.1.0",
"finegrain @ git+https://github.com/finegrain-ai/finegrain-python.git@087b66d518698808402261bae5219aea6ddf8a95#subdirectory=finegrain",
]
readme = "README.md"
requires-python = ">= 3.12, <3.13"
[project.scripts]
start = "finegrain_discord:bot.main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"aiomonitor>=0.7.1",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/finegrain_discord"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"UP", # pyupgrade
"A", # flake8-builtins
"B", # flake8-bugbear
"Q", # flake8-quotes
"I", # isort
]
[tool.pyright]
include = ["src/finegrain_discord"]
exclude = ["**/__pycache__"]
typeCheckingMode = "strict"