Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (88 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (88 loc) · 2 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[build-system]
requires = ["hatchling>=1.18"]
build-backend = "hatchling.build"
[project]
name = "apier-no"
dynamic = ["version"]
description = "Official Python client for Apier — Norwegian compliance infrastructure API."
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "PowerLaunch AS" },
]
keywords = [
"apier",
"norway",
"altinn",
"brreg",
"skatteetaten",
"compliance",
"regulatory",
"api",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Topic :: Office/Business :: Financial :: Accounting",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
# Rule R1: ZERO runtime dependencies.
dependencies = []
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=4.1",
"ruff>=0.5",
"mypy>=1.10",
"build>=1.2",
"twine>=5.0",
]
[project.urls]
Homepage = "https://www.apier.no"
Documentation = "https://www.apier.no/docs"
Issues = "https://github.com/PowerLaunch/apier-python/issues"
Source = "https://github.com/PowerLaunch/apier-python"
[tool.hatch.version]
path = "src/apier/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/apier"]
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
"/examples",
"/README.md",
"/CHANGELOG.md",
"/SECURITY.md",
"/LICENSE",
"/pyproject.toml",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"B", # bugbear
"UP", # pyupgrade
"SIM", # simplify
]
[tool.mypy]
python_version = "3.11"
strict = true
warn_unused_ignores = true
warn_redundant_casts = true
no_implicit_reexport = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"