forked from darkamenosa/comfy_nanobanana
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (62 loc) · 1.7 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (62 loc) · 1.7 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
[build-system]
requires = ["setuptools>=70.0"]
build-backend = "setuptools.build_meta"
[project]
name = "comfy_nanobanana"
version = "0.0.1"
description = "Google Gemini API integration for ComfyUI - Generate images and text using Google's latest AI models"
authors = [
{name = "comfy_nanobanana", email = "hxtxmu@gmail.com"}
]
readme = "README.md"
license = {text = "MIT license"}
requires-python = ">=3.10"
classifiers = []
dependencies = [
"google-genai>=0.8.0",
"Pillow>=10.0.0",
"torch>=2.0.0",
"numpy>=1.24.0"
]
[project.optional-dependencies]
dev = [
"bump-my-version",
"mypy", # linting
"pre-commit", # runs linting on commit
"ruff", # linting
]
[project.urls]
Repository = "https://github.com/darkamenosa/comfy_nanobanana"
BugTracker = "https://github.com/darkamenosa/comfy_nanobanana/issues"
Documentation = "https://github.com/darkamenosa/comfy_nanobanana/wiki"
[tool.comfy]
PublisherId = "darkamenosa"
DisplayName = "Comfy Nano Banana"
Icon = ""
Tags = []
Repository = "https://github.com/darkamenosa/comfy_nanobanana"
includes = []
[tool.setuptools.package-data]
"*" = ["*.*"]
[tool.mypy]
files = "."
# Use strict defaults
strict = true
warn_unreachable = true
warn_no_return = true
[tool.ruff]
# extend-exclude = ["static", "ci/templates"]
line-length = 140
src = ["src"]
target-version = "py39"
# Add rules to ban exec/eval
[tool.ruff.lint]
select = [
"S102", # exec-builtin
"S307", # eval-used
"W293",
"F", # The "F" series in Ruff stands for "Pyflakes" rules, which catch various Python syntax errors and undefined names.
# See all rules here: https://docs.astral.sh/ruff/rules/#pyflakes-f
]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"