-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
87 lines (79 loc) · 2.42 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
[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_registry"
authors = [
{name = "Robert Nowotny", email = "[email protected]"},
]
description = "a more pythonic way to access the windows registry as winreg"
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 = [
"click",
"cli_exit_tools",
"fake_winreg",
]
version = "v2.0.10"
# seems to be not allowed anymore
# zip-save = false
[project.urls]
Homepage = "https://github.com/bitranox/lib_registry"
Documentation = "https://github.com/bitranox/lib_registry/blob/master/README.rst"
Repository = "https://github.com/bitranox/lib_registry.git"
Changelog = "https://github.com/bitranox/lib_registry/blob/master/CHANGES.rst"
[project.optional-dependencies]
test = [
"black",
"codecov",
"coloredlogs",
"coverage",
"flake8",
"mypy",
"pytest",
"pytest-cov",
"pytest-runner",
"readme_renderer",
]
[project.scripts]
lib_registry = "lib_registry.lib_registry_cli:cli_main"
[tool.setuptools.package-data]
lib_registry = [
"py.typed",
"*.pyi",
"__init__.pyi",
]
[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"