|
| 1 | +[tool.flake8] |
| 2 | +exclude= [".eggs", "./src/openapi_server/models/*", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"] |
| 3 | +statistics = true |
| 4 | +show-source = false |
| 5 | +max-complexity = 10 |
| 6 | +max-annotations-complexity = 3 |
| 7 | +docstring-convent = 'numpy' |
| 8 | +max-line-length = 120 |
| 9 | +ignore = ["E203", "W503", "E704"] |
| 10 | +inline-quotes = '"' |
| 11 | +docstring-quotes = '"""' |
| 12 | +multiline-quotes = '"""' |
| 13 | +dictionaries = ["en_US", "python", "technical", "pandas"] |
| 14 | +ban-relative-imports = true |
| 15 | + |
| 16 | +[tool.black] |
| 17 | +line-length = 120 |
| 18 | +exclude = """ |
| 19 | +/( |
| 20 | + | .eggs |
| 21 | + | .git |
| 22 | + | .hg |
| 23 | + | .mypy_cache |
| 24 | + | .nox |
| 25 | + | .pants.d |
| 26 | + | .tox |
| 27 | + | .venv |
| 28 | + | _build |
| 29 | + | buck-out |
| 30 | + | build |
| 31 | + | dist |
| 32 | + | node_modules |
| 33 | + | venv |
| 34 | +)/ |
| 35 | +""" |
| 36 | + |
| 37 | +[tool.isort] |
| 38 | +profile = "black" |
| 39 | +skip = ['.eggs', '.git', '.hg', '.mypy_cache', '.nox', '.pants.d', '.tox', '.venv', '_build', 'buck-out', 'build', 'dist', 'node_modules', 'venv'] |
| 40 | +skip_gitignore = true |
| 41 | + |
| 42 | +[tool.pylint] |
| 43 | +max-line-length = 120 |
| 44 | + |
| 45 | +[tool.poetry] |
| 46 | +name = "pdfextractor_server" |
| 47 | +version = "0.0.0" |
| 48 | +description = "Extracts the content of pdf documents." |
| 49 | +authors = ["STACKIT Data and AI Consulting <data-ai-consulting@stackit.cloud>"] |
| 50 | +readme = "README.md" |
| 51 | + |
| 52 | +[tool.poetry.dependencies] |
| 53 | +python = ">=3.11,<3.12" |
| 54 | +extractor-api-lib = {path = "../rag-core-library/extractor-api-lib", develop = true} |
| 55 | + |
| 56 | +[tool.poetry.group.dev.dependencies] |
| 57 | +flake8 = "^7.0.0" |
| 58 | +pytest = "^8.0.1" |
| 59 | +black = "^24.2.0" |
| 60 | +flake8-black = "^0.3.6" |
| 61 | +flake8-pyproject = "^1.2.3" |
| 62 | +coverage = "^7.5.4" |
| 63 | +flake8-quotes = "^3.4.0" |
| 64 | +flake8-return = "^1.2.0" |
| 65 | +flake8-annotations-complexity = "^0.0.8" |
| 66 | +flake8-bandit = "^4.1.1" |
| 67 | +flake8-bugbear = "^24.8.19" |
| 68 | +flake8-builtins = "^2.5.0" |
| 69 | +flake8-comprehensions = "^3.15.0" |
| 70 | +flake8-eradicate = "^1.5.0" |
| 71 | +flake8-expression-complexity = "^0.0.11" |
| 72 | +flake8-pytest-style = "^2.0.0" |
| 73 | +pep8-naming = "^0.14.1" |
| 74 | +flake8-eol = "^0.0.8" |
| 75 | +flake8-exceptions = "^0.0.1a0" |
| 76 | +flake8-simplify = "^0.21.0" |
| 77 | +flake8-wot = "^0.2.0" |
| 78 | +flake8-function-order = "^0.0.5" |
| 79 | +flake8-tidy-imports = "^4.10.0" |
| 80 | +# flake8-logging-format = "^2024.24.12" |
| 81 | +# flake8-docstrings = "^1.7.0" |
| 82 | + |
| 83 | +[tool.poetry.group.tests.dependencies] |
| 84 | +httpx = "^0.26.0" |
| 85 | + |
| 86 | +[build-system] |
| 87 | +requires = ["poetry-core"] |
| 88 | +build-backend = "poetry.core.masonry.api" |
0 commit comments