-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (114 loc) · 3.21 KB
/
pyproject.toml
File metadata and controls
125 lines (114 loc) · 3.21 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[build-system]
requires = ['setuptools', 'setuptools-scm']
build-backend = "setuptools.build_meta"
[project]
# see: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
name = "lib_path"
authors = [
{name = "Robert Nowotny", email = "bitranox@gmail.com"},
]
description = "path related function - deprecated"
readme = "README.rst"
requires-python = ">=3.8.0"
keywords = [
]
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
]
# dependencies - former setup.cfg "install_requires"
# see: https://setuptools.pypa.io/en/latest/userguide/dependency_management.html
dependencies = [
"cli_exit_tools",
"lib_detect_testenv",
"lib_platform",
]
version = "v1.0.4"
# seems to be not allowed anymore
# zip-save = false
[project.urls]
Homepage = "https://github.com/bitranox/lib_path"
Documentation = "https://github.com/bitranox/lib_path/blob/master/README.rst"
Repository = "https://github.com/bitranox/lib_path.git"
Changelog = "https://github.com/bitranox/lib_path/blob/master/CHANGES.rst"
[project.optional-dependencies]
test = [
"black",
"codecov",
"coloredlogs",
"coverage",
"flake8",
"mypy",
"pytest",
"pytest-cov",
"pytest-runner",
"readme_renderer",
]
[project.scripts]
lib_path = "lib_path.lib_path_cli:cli_main"
[tool.setuptools.package-data]
lib_path = [
"*.pyi",
"__init__.pyi",
"py.typed",
]
[tool.black]
line-length = 160
#You should include all Python versions that you want your code to run under
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
# Note that you have to use single-quoted strings in TOML for regular expressions
include = '\.pyi?$'
exclude = '/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist)/'
[tool.mypy]
verbosity=0
warn_unused_configs = true
ignore_missing_imports = true
no_implicit_optional = true
no_strict_optional = true
show_error_context = true
[tool.pytest.ini_options]
addopts = "-vvl --doctest-modules"
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS ALLOW_UNICODE ALLOW_BYTES IGNORE_EXCEPTION_DETAIL"
log_cli = true
log_cli_level = "CRITICAL"
[tool.pip-audit]
# Known vulnerabilities to ignore (unfixable or accepted risk)
# GHSA-4xh5-x5gv-qwph: py library ReDoS (no fix available, low risk)
# PYSEC-2022-42969: same as above (alias)
ignore-vulns = ["GHSA-4xh5-x5gv-qwph", "PYSEC-2022-42969"]
[tool.clean]
# Patterns to remove when running `make clean` or `python -m scripts clean`
patterns = [
".hypothesis",
".import_linter_cache",
".pytest_cache",
".ruff_cache",
".pyright",
".mypy_cache",
".tox",
".nox",
".eggs",
"*.egg-info",
"build",
"dist",
"htmlcov",
".coverage",
"coverage.xml",
"codecov.sh",
".cache",
"result",
]
[tool.git]
# Default git remote for push/release commands
default-remote = "origin"
[tool.scripts.test]
# Configuration for scripts/test.py test runner
pytest-verbosity = "-vv"
coverage-report-file = "coverage.xml"
src-path = "src"