forked from TencentARC/PhotoMaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
43 lines (34 loc) · 1.09 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
[tool.poetry]
name = "photomaker"
version = "0.1.0"
description = "PhotoMaker: Customizing Realistic Human Photos via Stacked ID Embedding"
authors = ["Li, Zhen", "Cao, Mingdeng", "Wang, Xintao", "Qi, Zhongang", "Cheng, Ming-Ming", "Shan, Ying"]
license = "Apache-2.0"
readme = "README.md"
packages = [{ include = "photomaker" }]
[tool.poetry.dependencies]
python = ">=3.7"
[tool.ruff]
line-length = 119
# Deprecation of Cuda 11.6, Python 3.7 support for PyTorch 2.0
target-version = "py38"
# A list of file patterns to omit from linting, in addition to those specified by exclude.
extend-exclude = ["__pycache__", "*.pyc", "*.egg-info", ".cache"]
select = ["E", "F", "W", "C90", "I", "UP", "B", "C4", "RET", "RUF", "SIM"]
ignore = [
"UP006", # UP006: Use list instead of typing.List for type annotations
"UP007", # UP007: Use X | Y for type annotations
"UP009",
"UP035",
"UP038",
"E402",
"RET504",
]
[tool.isort]
profile = "black"
[tool.black]
line-length = 119
skip-string-normalization = 1
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"