-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
54 lines (46 loc) · 1.42 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
[tool.poetry]
name = "facturx"
version = "0.1.0"
description = "Factur-X/ZUGFeRD parsing and generation library for Python"
authors = ["Sebastian Rittau <[email protected]>"]
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/zfutura/pyfacturx"
keywords = ["factur-x", "zugferd", "invoice", "billing"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: File Formats",
"Topic :: Office/Business :: Financial :: Accounting",
]
include = [{ path = "src/facturx/locale/**/*.mo", format = ["wheel"] }]
exclude = ["src/facturx/test_*"]
[tool.poetry.dependencies]
python = "^3.11"
pypdf = "^5.2.0"
[tool.poetry.group.dev.dependencies]
babel = "~=2.16.0"
mypy = "~=1.14.1"
poethepoet = "^0.32.2"
pytest = "^8.3.4"
ruff = "^0.9.4"
[tool.poe.tasks]
i18n-extract = "pybabel extract -o messages.pot src"
i18n-init = "pybabel init -D pyfactur-x -i messages.pot -d src/facturx/locale -l "
i18n-update = "pybabel update -D pyfactur-x -i messages.pot -d src/facturx/locale"
i18n-compile = "pybabel compile -D pyfactur-x -d src/facturx/locale"
lint = "ruff check src"
test = "pytest src"
typecheck = "mypy src"
[tool.ruff]
target-version = "py312"
line-length = 79
[tool.ruff.lint]
select = ["E", "F", "B", "I"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.mypy]
strict = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"