-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (66 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (66 loc) · 2.05 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
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
[project]
dynamic = ["version"]
[tool.poetry]
name = "reqstool-python-poetry-plugin"
version = "0.0.0"
description = "Reqstool Python Poetry Plugin"
authors = ["LFV SYSDEV <sysdev@lfv.com>"]
license = "MIT License"
readme = "README.md"
repository = "https://github.com/Luftfartsverket/reqstool-python-poetry-plugin.git"
homepage = "https://github.com/Luftfartsverket/reqstool-python-poetry-plugin.git"
documentation = "https://github.com/Luftfartsverket/reqstool-python-poetry-plugin.git"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
]
[tool.poetry.dependencies]
python = "^3.10"
poetry = "1.8.5"
reqstool-python-decorators = "0.0.7"
poetry-dynamic-versioning = "1.9.1"
[tool.poetry.group.dev.dependencies]
black = { version = "25.12.0" }
flake8 = { version = "7.3.0" }
flake8-pyproject = { version = "1.2.3" }
pytest = { version = "8.4.2" }
pytest-cov = { version = "6.3.0" }
[tool.poetry.plugins."poetry.plugin"]
reqstool = "reqstool_python_poetry_plugin.plugin:ReqstoolPlugin"
[tool.pytest.ini_options]
addopts = [
"-rsxX",
"-s",
"--import-mode=importlib",
"--log-cli-level=DEBUG",
'-m not slow or not integration',
]
pythonpath = [".", "src", "tests"]
testpaths = ["tests"]
markers = [
"flaky: tests that can randomly fail through no change to the code",
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: tests that require external resources",
]
[tool.black]
line-length = 120
target-version = ['py310']
[tool.flake8]
ignore = ["W503"]
max-line-length = 120
max-complexity = 10
[tool.poetry-dynamic-versioning]
enable = true
style = "pep440"
dirty = false
format = "{base}.dev{distance}"
[tool.reqstool]
sources = ["src", "tests"]
test_results = "build/**/junit.xml"
dataset_directory = "docs/reqstool"
output_directory = "build/reqstool"