-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (40 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
48 lines (40 loc) · 1.5 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
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
[project]
name = "python-batchtools"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = ["openshift-client>=2.0.5", "typing-extensions>=4.15.0"]
[project.scripts]
# When we install the project, this causes the installer to create a
# "batchtools" script that will run our main function.
batchtools = "batchtools.batchtools:main"
[dependency-groups]
dev = ["pytest>=8.4.2", "pytest-cov>=7.0.0", "ty>=0.0.1a24"]
[tool.basedpyright]
# This configures the "basedpyright" type checker to ignore a variety of
# issues that crop up when working with non-type-aware Python code.
ignore = ["**/tests"]
reportUnusedCallResult = false
reportUnknownMemberType = false
reportUnknownVariableType = false
reportUnknownArgumentType = false
reportUnknownParameterType = false
reportUnknownLambdaType = false
reportMissingTypeStubs = false
reportImplicitStringConcatenation = false
analyzeUnannotatedFunctions = false
[tool.pytest.ini_options]
# These options will be added to the pytest command line automatically.
addopts = "--cov=. --cov-report=html"
[tool.coverage.report]
omit = ["tests/*"]
[tool.setuptools]
# This tells packaging tools which top-level directories correspond to
# Python packages. Without this, package builds will fail if there are
# multiple top-level directories ("error: Multiple top-level packages
# discovered in a flat-layout")
packages = ["batchtools"]