-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
123 lines (112 loc) · 2.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
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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
]
[project]
name = "snap-helpers"
description = "Helpers for interacting with the Snap system within a Snap"
readme = "README.rst"
keywords = [
"snap",
"snapcraft",
"snappy",
]
license = { file = "LICENSE.txt" }
maintainers = [
{ name = "Alberto Donato", email = "[email protected]" },
]
authors = [
{ name = "Alberto Donato", email = "[email protected]" },
]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Archiving :: Packaging",
"Topic :: System :: Software Distribution",
]
dynamic = [
"version",
]
dependencies = [
"importlib-metadata; python_version<'3.10'",
"pyyaml",
]
optional-dependencies.testing = [
"pytest",
"pytest-mock",
]
urls.changelog = "https://github.com/albertodonato/snap-helpers/blob/main/CHANGES.rst"
urls.documentation = "https://readthedocs.org/projects/snap-helpers/"
urls.homepage = "https://github.com/albertodonato/snap-helpers"
urls.repository = "https://github.com/albertodonato/snap-helpers"
scripts.snap-helpers = "snaphelpers.scripts.snap_helpers:script"
[tool.setuptools.packages.find]
include = [
"snaphelpers*",
]
[tool.setuptools.package-data]
snaphelpers = [
"py.typed",
]
[tool.setuptools.dynamic]
version = { attr = "snaphelpers.__version__" }
[tool.black]
line-length = 79
[tool.isort]
combine_as_imports = true
force_grid_wrap = 2
force_sort_within_sections = true
from_first = false
include_trailing_comma = true
multi_line_output = 3
order_by_type = false
profile = "black"
use_parentheses = true
[tool.flake8]
ignore = [
"E203",
"E501",
"W503",
]
max-line-length = 80
select = [
"C",
"E",
"F",
"W",
"B",
"B950",
]
[tool.pytest.ini_options]
markers = [
"requires_root", # Test requires to be run as root
]
testpaths = [
"tests",
]
[tool.coverage.report]
fail_under = 100.0
show_missing = true
skip_covered = true
[tool.coverage.run]
source = [
"snaphelpers",
]
omit = [
"snaphelpers/_importlib.py",
]
[tool.mypy]
install_types = true
non_interactive = true
strict = true
warn_unused_ignores = false