|
[project] |
|
name = "yet-another-anime-segmenter" |
|
version = "0.1.0" |
|
description = "" |
|
readme = "README.md" |
|
requires-python = ">=3.10" |
|
dependencies = [ |
|
"gradio>=5.20.0", |
|
"hf-transfer>=0.1.9", |
|
"numpy<2", |
|
"opencv-python-headless>=4.11.0.86", |
|
"pillow==9.5.0", |
|
"torch==1.13.1", |
|
"torchvision>=0.14.1", |
|
] |
|
|
|
[tool.ruff] |
|
line-length = 119 |
|
|
|
[tool.ruff.lint] |
|
select = ["ALL"] |
|
ignore = [ |
|
"COM812", |
|
"D203", |
|
"D213", |
|
"E501", |
|
"SIM117", |
|
] |
|
extend-ignore = [ |
|
"D100", |
|
"D101", |
|
"D102", |
|
"D103", |
|
"D104", |
|
"D105", |
|
"D107", |
|
"EM101", |
|
"FBT001", |
|
"FBT002", |
|
"PD901", |
|
"PGH003", |
|
"PLR0913", |
|
"PLR0915", |
|
"TRY003", |
|
] |
|
unfixable = [ |
|
"F401", |
|
] |
|
|
|
[tool.ruff.lint.pydocstyle] |
|
convention = "google" |
|
|
|
[tool.ruff.lint.per-file-ignores] |
|
"*.ipynb" = ["T201", "T203"] |
|
|
|
[tool.ruff.format] |
|
docstring-code-format = true |
|
|
|
[tool.uv.sources] |
|
adelaidet = { git = "https://github.com/aim-uofa/AdelaiDet", rev = "7bf9d87" } |
|
detectron2 = { git = "https://github.com/facebookresearch/detectron2", rev = "v0.6" } |
|
|
|
[dependency-groups] |
|
dev = [ |
|
"adelaidet", |
|
"detectron2", |
|
] |
|
|