-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (55 loc) · 1.42 KB
/
pyproject.toml
File metadata and controls
66 lines (55 loc) · 1.42 KB
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
[tool.poetry]
name = "textboxgan"
version = "1.0.0"
description = ""
authors = ["Noe Achache <noe.achache@gmail.com>", "Antoine Eudes <antoine.eudes@gmail.com>"]
[tool.poetry.dependencies]
python = "3.9.12"
tensorflow_addons = "^0.16.1"
tensorflow-macos = {version = "2.8.0", markers = "platform_machine == 'arm64' and platform_system == 'Darwin'"} # mac m1
tensorflow = {version = "2.8.0", markers = "platform_machine == 'x86_64'"}
numpy = "^1.22.3"
tqdm = "^4.64.0"
easydict = "^1.9"
opencv-python = "^4.5.5"
GitPython = "^3.1.27"
[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
black = "^22.3.0"
isort = "^5.10.1"
pre-commit = "^2.19.0"
pylint = "^2.13.9"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
branch = true
omit = [
"*/init.py"
]
[tool.coverage.report]
exclude_lines = [
"from * import",
"import *"
]
fail_under = 0.00 # Add tests
precision = 2
[tool.black]
preview = true
[tool.isort]
profile = "black"
[tool.pylint.similarities]
ignore-signatures = "yes"
ignore-imports = "yes"
[tool.pylint.messages_control]
disable = [
"missing-module-docstring",
"unexpected-keyword-arg", # too many false positives with tensorflow
"no-value-for-parameter", # too many false positives with tensorflow
]
[tool.pylint.basic]
extension-pkg-allow-list = ["cv2"]
max-line-length=110
no-docstring-rgx = "^call|^__init__"
docstring-min-length=10