-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
101 lines (87 loc) · 2.46 KB
/
pyproject.toml
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
100
101
[build-system]
requires = ["hatchling", "hatch-vcs", "build", "twine"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
python_classes = ["!TestDataModelGenerator", "!TestStatisticsItem"]
addopts = [
"-rsxX",
"-s",
"--import-mode=importlib",
"--log-cli-level=DEBUG",
'-m not slow and 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",
]
[project]
name = "reqstool"
dynamic = ["version"]
authors = [{ name = "LFV", email = "[email protected]" }]
description = "A tool for managing requirements with related tests and test results."
readme = "README.md"
homepage = "https://github.com/Luftfartsverket/reqstool-client"
repository = "https://github.com/Luftfartsverket/reqstool-client"
documentation = "https://github.com/Luftfartsverket/reqstool-client"
urls.Source = 'https://github.com/Luftfartsverket/reqstool-client'
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
]
requires-python = ">=3.10"
dependencies = [
"colorama==0.4.6",
"distlib==0.3.9",
"Jinja2==3.1.5",
"jsonpickle==4.0.1",
"jsonschema[format-nongpl]==4.23.0",
"lark==1.2.2",
"maven-artifact==0.3.4",
"pygit2==1.16.0",
"referencing==0.35.1",
"requests-file==2.1.0",
"ruamel.yaml==0.18.10",
"tabulate==0.9.0",
"xmldict==0.4.1",
"reqstool-python-decorators==0.0.5",
"packaging==24.2",
"requests==2.32.3",
"beautifulsoup4==4.12.3",
]
[project.scripts]
reqstool = "reqstool.command:main"
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.build.targets.wheel.hooks.decorators]
dependencies = ["reqstool-python-hatch-plugin==0.0.4"]
path = ["src", "tests"]
[tool.hatch.envs.dev]
dependencies = [
"pytest==8.3.4",
"pytest-sugar==1.0.0",
"pytest-cov==6.0.0",
"black==24.10.0",
"flake8==7.1.1",
"flake8-pyproject==1.2.3",
]
[tool.black]
line-length = 120
target-version = ['py310']
[tool.flake8]
ignore = ["W503"]
addopts = [
"-s",
"--import-mode=importlib",
"--log-cli-level=DEBUG",
# '-m not slow or not integration',
]
pythonpath = [".", "src", "tests"]
max-line-length = 125
# exclude = tests/*
max-complexity = 10