PuLID-dream8 / pyproject.toml
邬彦泽
add app
9eb3654
raw
history blame contribute delete
742 Bytes
[tool.ruff]
line-length = 120
# Deprecation of Cuda 11.6, Python 3.7 support for PyTorch 2.0
target-version = "py38"
exclude = ['eva_clip']
# 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",
"C901",
]
[tool.isort]
profile = "black"
skip_glob = 'eva_clip/*.py'
[tool.black]
line-length = 119
skip-string-normalization = 1
exclude = 'eva_clip'