-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (91 loc) · 2.56 KB
/
pyproject.toml
File metadata and controls
106 lines (91 loc) · 2.56 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
[project]
name = "zbarlight"
version = "4.1.dev0"
requires-python = ">= 3.10"
dependencies = [
"Pillow",
]
authors = [
{ name = "Polyconseil", email = "[email protected]" },
]
readme = "README.rst"
description = "A simple zbar wrapper"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
keywords = ["zbar", "QR code reader"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: C",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Image Recognition",
]
[project.urls]
Homepage = "https://github.com/Polyconseil/zbarlight"
Documentation = "https://zbarlight.readthedocs.io"
Repository = "https://github.com/Polyconseil/zbarlight"
Issues = "https://github.com/Polyconseil/zbarlight"
Changelog = "https://github.com/Polyconseil/zbarlight/blob/master/Changelog.rst"
[tool.isort]
force_single_line = true
line_length = 120
multi_line_output = 3 # vertical hanging indent
known_first_party = "zbarlight"
[tool.mypy]
show_error_codes = true
strict = true
strict_equality_for_none = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = "tests.*"
# Don't force us to type test functions, it's boring and useless.
disallow_untyped_defs = false
[tool.pylint.MASTER]
load-plugins = []
[tool.pylint.FORMAT]
max-line-length = 120
[tool.pylint."MESSAGES CONTROL"]
enable = [
"use-symbolic-message-instead",
"useless-suppression",
]
disable = [
"attribute-defined-outside-init",
"consider-using-f-string",
"cyclic-import",
"duplicate-code",
"fixme",
"file-ignored",
"import-outside-toplevel",
"invalid-name",
"locally-disabled",
"missing-docstring",
"no-member",
"protected-access",
"too-few-public-methods",
"too-many-ancestors",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-public-methods",
"too-many-statements",
"ungrouped-imports",
"unnecessary-lambda-assignment",
"unused-argument",
"wrong-import-order",
]
[[tool.setuptools.ext-modules]]
name = "zbarlight._zbarlight"
sources = ["src/zbarlight/_zbarlight.c"]
extra-compile-args = ["-std=c99"]
libraries= ["zbar"]
[tool.zest-releaser]
# Do not let zest.releaser upload to PyPI. It's done by a GitHub CI job.
upload-pypi = false