-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (63 loc) · 1.71 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
#[tool.setuptools.packages.find]
#where = ["src"] # list of folders that contain the packages (["."] by default)
[project]
name = "mypackagename"
dynamic = ["version"]
dependencies = [
"requests"
]
requires-python = ">=3.8"
authors = [
{name = "Omar Abdelgawad", email = "[email protected]"},
{name = "Tzu-Ping Chung", email = "[email protected]"},
]
description = "A package for 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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10"
]
[project.optional-dependencies]
dev = [
"mypy",
"ruff",
"pytest",
"pytest-cov",
"tox",
"pre-commit",
]
[tool.setuptools.package-data]
firstpkg = ["py.typed"]
secondpkg = ["py.typed"]
[project.urls]
Repository = "https://github.com/me/spam.git"
###################################################################################################
[tool.pytest.ini_options]
addopts = "--cov=firstpkg --cov=secondpkg" #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 = true
[tool.ruff]
src = ["src"]
[tool.ruff.lint]
extend-select = ["UP","I"]