-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
44 lines (36 loc) · 1.26 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "ocrd_webapi"
version = "0.11.0"
description = "Implementation of the OCR-D Web API"
readme = "readme.md"
requires-python = ">=3.8"
license = { text = "Apache License 2.0" }
dynamic = ["dependencies"]
[project.urls]
"Homepage" = "https://github.com/OCR-D/ocrd-webapi-implementation"
[tool.setuptools]
packages = ["ocrd_webapi", "ocrd_webapi.routers"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.pytest.ini_options]
asyncio_mode = "auto"
norecursedirs = "tests/utils"
env = [
"OCRD_WEBAPI_BASE_DIR = /tmp/ocrd_webapi_test",
"OCRD_WEBAPI_DB_URL = mongodb://localhost:6701/ocrd_webapi_test",
"OCRD_WEBAPI_USERNAME = testuser",
"OCRD_WEBAPI_PASSWORD = testpass",
"OCRD_PROCESSOR_CONFIG = tests/processor_config_test.yml",
]
[flake8]
max-line-length = 100
ignore = ["F405", "F403", "W402", "W503", "F722"]
# https://flake8.pycqa.org/en/2.6.0/warnings.html
# F405: <name> may be undefined, or defined from star imports: module
# F403: from <module> import * used; unable to detect undefined names
# W402: <module> imported but unused
# W503: line break before binary operator
# F722: syntax error in forward annotation