-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (51 loc) · 1.33 KB
/
pyproject.toml
File metadata and controls
58 lines (51 loc) · 1.33 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
[project]
name = "microdata-tools"
version = "1.10.8"
description = "Tools for the microdata.no platform"
authors = [{ name = "microdata-developers" }]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"cryptography>=45.0.0",
"numpy>=2.2.0",
"pyarrow>=21.0.0",
"pydantic>=2.11.7",
]
[dependency-groups]
dev = [
"pre-commit>=4.3.0",
"pytest-cov>=6.2.1",
"pytest>=8.4.1",
"ruff>=0.12.0",
]
[tool.uv]
package = true
exclude-newer = "3 days"
required-version = ">=0.7.0"
[build-system]
build-backend = 'hatchling.build'
requires = ['hatchling']
[tool.hatch.build.targets.sdist]
packages = ["microdata_tools"]
include = [
"microdata_tools/validation/components/unit_type_variables/*.json"
]
[tool.hatch.build.targets.wheel]
packages = ["microdata_tools"]
include = [
"microdata_tools/validation/components/unit_type_variables/*.json"
]
[tool.ruff]
line-length = 80
target-version = "py313"
lint.select = [
"F", # Pyflakes errors (including unused imports, undefined names)
"T", # flake8-type-checking (imports used only for typing)
"E", # pycodestyle errors (style errors)
"W", # pycodestyle warnings
"I", # isort import ordering
"ANN", # type annotation related rules
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["ANN", "T201"]