-
Notifications
You must be signed in to change notification settings - Fork 129
/
pyproject.toml
53 lines (44 loc) · 1.49 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "strhub"
version = "1.2.0"
description = "Scene Text Recognition Model Hub: A collection of deep learning models for Scene Text Recognition"
authors = [
{name = "Darwin Bautista", email = "[email protected]"},
]
readme = "README.md"
requires-python = ">=3.9"
dynamic = ["optional-dependencies"]
[project.urls]
Homepage = "https://github.com/baudm/parseq"
[tool.setuptools]
packages = ["strhub"]
license-files = ["NOTICE", "LICENSE", "strhub/models/*/LICENSE"]
[tool.setuptools.dynamic]
optional-dependencies.dev = { file = ["requirements/dev.txt"] }
optional-dependencies.train = { file = ["requirements/train.txt"] }
optional-dependencies.test = { file = ["requirements/test.txt"] }
optional-dependencies.bench = { file = ["requirements/bench.txt"] }
optional-dependencies.tune = { file = ["requirements/tune.txt"] }
[tool.pyink]
line-length = 120
pyink-use-majority-quotes = true
[tool.isort]
py_version = "auto"
profile = "django"
line_length = 120
ignore_comments = true # To clear unused fmt: skip comments
known_torch = ["torch", "torchvision"]
known_torchlibs = ["timm", "pytorch_lightning"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "TORCH", "TORCHLIBS", "FIRSTPARTY", "LOCALFOLDER"]
[tool.ruff]
fix = true
show-fixes = true
line-length = 120
output-format = "grouped"
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"