-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (63 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
80 lines (63 loc) · 1.98 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
[build-system]
requires = ["hatchling", "hatch-vcs", "build", "twine"]
build-backend = "hatchling.build"
[project]
name = "reqstool-python-hatch-plugin"
dynamic = ["version"]
authors = [{ name = "LFV", email = "sysdev@lfv.se" }]
description = "Hatch plugin to process reqstool-python-decorators when building with Hatch"
readme = "README.md"
homepage = "https://github.com/Luftfartsverket/reqstool-python-hatch-plugin.git"
repository = "https://github.com/Luftfartsverket/reqstool-python-hatch-plugin.git"
documentation = "https://github.com/Luftfartsverket/reqstool-python-hatch-plugin.git"
urls.Source = 'https://github.com/Luftfartsverket/reqstool-python-hatch-plugin.git'
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
]
requires-python = ">=3.10"
dependencies = [
"reqstool-python-decorators==0.0.7",
"ruamel.yaml==0.18.10",
"hatchling>=1.20.0",
]
packages = [{ include = "reqstool_python_hatch_plugin", from = "src" }]
[project.entry-points.hatch]
decorators = "reqstool_python_hatch_plugin.hooks"
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.envs.dev]
dependencies = [
"black==25.1.0",
"flake8-pyproject==1.2.3",
"flake8==7.3.0",
"pytest-cov==6.1.1",
"pytest-sugar==1.0.0",
"pytest==8.3.5",
]
[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