-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpyproject.toml
82 lines (73 loc) · 1.92 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "super-image"
version = "0.1.7"
description = "State-of-the-art image super resolution models for PyTorch."
authors = ["Eugene Siow <[email protected]>"]
license = "Apache License 2.0"
readme = "README.md"
repository = "https://github.com/eugenesiow/super-image"
homepage = "https://github.com/eugenesiow/super-image"
keywords = []
packages = [ { include = "super_image", from = "src" } ]
[tool.poetry.dependencies]
python = ">= 3.6.2"
torch = ">= 1.9.0"
torchvision = ">= 0.10.0"
opencv-python = ">= 4.5.2.54"
h5py = ">= 3.1.0"
tqdm = ">= 4.61.2"
huggingface-hub = ">= 0.0.13"
[tool.poetry.dev-dependencies]
# formatting, quality, tests
autoflake = ">= 1.4"
black = ">= 20.8b1"
isort = ">= 5.7.0"
mypy = ">= 0.812"
pytest = ">= 6.2.2"
pytest-cov = ">= 2.11.1"
pytest-randomly = ">= 3.5.0"
pytest-sugar = ">= 0.9.4"
pytest-xdist = ">= 2.2.0"
# tasks
duty = ">= 0.6.0"
git-changelog = ">= 0.4.2"
httpx = ">= 0.16.1"
jinja2-cli = ">= 0.7.0"
toml = ">= 0.10.2"
# flake8 plugins
darglint = ">= 1.5.8"
flake8-bandit = ">= 2.1.2"
flake8-black = ">= 0.2.1"
flake8-bugbear = ">= 20.11.1"
flake8-builtins = ">= 1.5.3"
flake8-comprehensions = ">= 3.3.1"
flake8-docstrings = ">= 1.5.0"
flake8-pytest-style = ">= 1.3.0"
flake8-string-format = ">= 0.3.0"
flake8-tidy-imports = ">= 4.2.1"
flake8-variables-names = ">= 0.0.4"
pep8-naming = ">= 0.11.1"
wps-light = ">= 0.15.2"
# docs
mkdocs = ">= 1.1.2"
mkdocs-coverage = ">= 0.2.1"
mkdocs-macros-plugin = ">= 0.5.0"
mkdocs-material = ">= 6.2.7"
mkdocstrings = ">= 0.15.0"
[tool.poetry.scripts]
super-image = "super_image.cli:main"
[tool.black]
line-length = 120
exclude = "tests/fixtures"
[tool.isort]
line_length = 120
not_skip = "__init__.py"
multi_line_output = 3
force_single_line = false
balanced_wrapping = true
default_section = "THIRDPARTY"
known_first_party = "super_image"
include_trailing_comma = true