-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (57 loc) · 1.1 KB
/
pyproject.toml
File metadata and controls
67 lines (57 loc) · 1.1 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
[project]
name = "knowledge-mapper"
version = "0.1.0a0"
description = "The Knowledge Mapper makes it easier to share your data in a knowledge base to the TNO Knowledge Engine (TKE) network."
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"pydantic>=2.12.5",
"pydantic-settings[yaml]>=2.13.1",
"requests>=2.32.5",
]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"setuptools>=82.0.1",
]
# TOOLS - pytest
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"--import-mode=importlib",
"-ra",
"-q",
]
# TOOLS - ruff
[tool.ruff]
exclude = [
".pytest_cache",
".venv",
"./src/legacy",
"./examples/legacy",
]
line-length = 88
indent-width = 4
target-version = "py313"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]
[tool.ruff.format]
quote-style = "double"
[build-system]
requires = ["setuptools>=80"]
build-backend = "setuptools.build_meta"