-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (66 loc) · 1.73 KB
/
pyproject.toml
File metadata and controls
79 lines (66 loc) · 1.73 KB
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
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ksef-client"
version = "0.12.1"
description = "Client SDK for KSeF API v2"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [{name = "Mateusz Smektała (smekcio)", email = "mateusz@smkc.dev"}]
keywords = ["ksef", "e-invoice", "poland", "api"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"httpx>=0.27.0",
"cryptography>=42.0.0",
]
[project.optional-dependencies]
xml = [
"lxml>=5.0.0",
"xmlsec>=1.3.13",
]
qr = [
"qrcode[pil]>=7.4.2",
"pillow>=10.0.0",
]
cli = [
"typer>=0.12.0",
"rich>=13.7.0,<14",
"keyring>=25.0.0",
]
[project.urls]
Repository = "https://github.com/smekcio/ksef-client-python"
Documentation = "https://github.com/smekcio/ksef-client-python/blob/main/docs/README.md"
Issues = "https://github.com/smekcio/ksef-client-python/issues"
[project.scripts]
ksef = "ksef_client.cli.bootstrap:app_entrypoint"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
ksef_client = ["py.typed", "*.pyi"]
[tool.ruff]
target-version = "py310"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM"]
[tool.ruff.lint.isort]
known-first-party = ["ksef_client"]
[tool.mypy]
python_version = "3.10"
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
disallow_untyped_defs = false
no_implicit_optional = true
check_untyped_defs = true
[[tool.mypy.overrides]]
module = ["qrcode", "qrcode.*", "PIL", "PIL.*", "xmlsec", "lxml", "lxml.*"]
ignore_missing_imports = true