-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
84 lines (74 loc) · 1.91 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "img2img"
dynamic = ["version"]
dependencies = [
"torch >= 2.3.0 , < 3",
"torchaudio >= 2.3.0, < 3",
"torchvision >= 0.18.0, < 1",
"albumentations >= 1.4.8, < 2",
"tqdm",
"tensorboard >= 2.16.2, < 3",
]
requires-python = ">=3.10"
authors = [
{name = "Omar Abdelgawad", email = "[email protected]"},
{name = "Eyad Hussein", email = "[email protected]"},
{name = "Ali Elsawy", email = "[email protected]"}
]
description = "image to image translation using GANs"
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["image-to-image-translation", "GAN", "vision", "deep-learning"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Research :: Artificial Intelligence"
]
[project.optional-dependencies]
dev = [
"mypy",
"ruff",
"pytest",
"pytest-cov",
"tox",
]
api = [
"flask",
"requests",
"requests",
]
[tool.setuptools.package-data]
img2img = ["py.typed"]
[project.urls]
Repository = "https://github.com/omar-abdelgawad/image2image"
[tool.pytest.ini_options]
addopts = "--cov=img2img" #include all packages under src directory
testpaths = [
"tests",
]
[tool.mypy]
mypy_path = "src"
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = false
[tool.ruff]
src = ["src", "tests"]
[tool.ruff.lint]
extend-select = ["UP","I"] # maybe add PL later
[tool.ruff.format]
line-ending = "lf"
docstring-code-format = true
docstring-code-line-length = 88