-
Notifications
You must be signed in to change notification settings - Fork 364
/
pyproject.toml
81 lines (73 loc) · 1.96 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
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
omit = []
[tool.poetry]
authors = ["Fausto Morales <[email protected]>"]
classifiers = [
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
description = "A packaged and flexible version of the CRAFT text detector and Keras CRNN recognition model."
homepage = "https://github.com/faustomorales/keras-ocr"
license = "MIT"
name = "keras-ocr"
readme = "README.md"
repository = "https://github.com/faustomorales/keras-ocr"
# Placeholder for poetry-dynamic-versioning
version = "0.0.0"
# See https://python-poetry.org/docs/versions/ for allowed version specification formats
[tool.poetry.dependencies]
python = ">=3.7.5"
validators = "*"
essential_generators = "*"
tqdm = "*"
imgaug = "*"
fonttools = "*"
editdistance = "*"
pyclipper = "*"
shapely = "*"
efficientnet = "1.0.0"
[tool.poetry.dev-dependencies]
black = "*"
coverage = {version = "*", extras = ["toml"]}
mypy = "*"
pytest = "*"
pylint = "*"
pytest-cov = "*"
tensorflow = "^2.0.0"
opencv-python = "*"
types-requests = "*"
types-pkg-resources = "*"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
[tool.pytest.ini_options]
addopts = "--cov=keras_ocr --cov-report=term-missing"
filterwarnings = [
"ignore:the imp module is deprecated in favour of importlib;:DeprecationWarning"
]
[tool.pylint.messages_control]
disable = [
"line-too-long",
"missing-module-docstring",
"invalid-name",
"attribute-defined-outside-init",
"too-many-locals",
"too-many-arguments",
"too-many-branches",
"too-many-statements",
"missing-function-docstring",
"missing-class-docstring"
]
extension-pkg-whitelist = [
"cv2",
"torch",
"pyclipper"
]