-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (48 loc) · 1.54 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
[build-system]
requires = ["hatchling", "hatch-vcs", "build", "twine"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
addopts = ["-s", "--import-mode=importlib"]
pythonpath = [".", "src", "tests"]
testpaths = ["tests/unit"]
[project]
name = "reqstool-python-decorators"
dynamic = ["version"]
authors = [{ name = "LFV SYSDEV", email = "[email protected]" }]
description = "Reqstool Python Decorators"
readme = "README.md"
homepage = "https://github.com/Luftfartsverket/reqstool-python-decorators.git"
repository = "https://github.com/Luftfartsverket/reqstool-python-decorators.git"
documentation = "hhttps://github.com/Luftfartsverket/reqstool-python-decorators.git"
urls.Source = "https://github.com/Luftfartsverket/reqstool-python-decorators.git"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
]
requires-python = ">=3.10"
dependencies = ["ruamel.yaml>=0.18.5"]
packages = [{ include = "reqstool_python_decorators", from = "src" }]
[project.scripts]
# section needed for poetry convertion
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[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"]
max-line-length = 120
max-complexity = 10