-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (120 loc) · 3.66 KB
/
pyproject.toml
File metadata and controls
133 lines (120 loc) · 3.66 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
126
127
128
129
130
131
132
133
[project]
name = "senzing"
version = "4.1.1"
description = "Python SDK method definitions"
authors = [{ name = "senzing", email = "support@senzing.com" }]
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
license = "Apache-2.0"
license-files = [
"LICENSE",
".github/senzing-corporate-contributor-license-agreement.pdf",
".github/senzing-individual-contributor-license-agreement.pdf",
]
[project.urls]
bugtracker = "https://github.com/senzing-garage/sz-sdk-python/issues"
changelog = "https://github.com/senzing-garage/sz-sdk-python/blob/main/CHANGELOG.md"
source = "https://github.com/senzing-garage/sz-sdk-python"
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[dependency-groups]
all = [
{ include-group = "development" },
{ include-group = "documentation" },
{ include-group = "lint" },
{ include-group = "test" },
]
development = [
"build==1.4.2",
"coverage==7.13.5",
"cryptography==46.0.6",
"orjson==3.11.7",
"psutil==7.2.2",
"pytest-cov==7.1.0",
"pytest-schema==0.1.2",
"pytest==9.0.2",
"twine==6.2.0",
"virtualenv==21.2.0",
"wheel==0.46.3",
]
documentation = [
"autodocsumm==0.2.15; python_version > '3.11'",
"myst_parser==4.0.1; python_version > '3.11'",
"sphinx-autodoc-typehints==3.5.1; python_version > '3.11'",
"sphinx-gallery==0.20.0; python_version > '3.11'",
"sphinx-jinja2-compat==0.4.1; python_version > '3.11'",
"sphinx-prompt==1.10.2; python_version > '3.11'",
"sphinx-rtd-theme==3.1.0; python_version > '3.11'",
"sphinx-tabs>=3.4,<3.6; python_version > '3.11'",
"sphinx-toolbox==4.1.2; python_version > '3.11'",
"sphinx==8.2.3; python_version > '3.11'",
"sphinxcontrib-applehelp==2.0.0; python_version > '3.11'",
"sphinxcontrib-devhelp==2.0.0; python_version > '3.11'",
"sphinxcontrib-htmlhelp==2.1.0; python_version > '3.11'",
"sphinxcontrib-jquery==4.1; python_version > '3.11'",
"sphinxcontrib-jsmath==1.0.1; python_version > '3.11'",
"sphinxcontrib-qthelp==2.0.0; python_version > '3.11'",
"sphinxcontrib-serializinghtml==2.0.0; python_version > '3.11'",
"sphinxext-remoteliteralinclude==0.6.0; python_version > '3.11'",
]
lint = [
"bandit==1.9.4",
"black==26.3.1",
"flake8==7.3.0",
"isort==8.0.1",
"mypy==1.19.1",
"pylint-per-file-ignores==3.2.0",
"pylint==4.0.5",
]
test = [
"coverage==7.13.5",
"pytest==9.0.2",
"senzing-core==1.0.3",
"senzing-grpc==0.5.13",
]
[tool.bandit]
skips = ["B101"]
[tool.black]
line-length = 120
[tool.flake8]
extend-ignore = ["E203", "E501", "E704", "W503"]
max-line-length = 120
[tool.isort]
profile = "black"
src_paths = ["examples", "src", "tests"]
[tool.mypy]
disable_error_code = ["no-untyped-call"]
[[tool.mypy.overrides]]
module = "senzing.szengineflags.*"
ignore_missing_imports = true
warn_unused_ignores = false
[[tool.mypy.overrides]]
module = "pytest_schema.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["grpc", "senzing_grpc", "insecure_channel"]
follow_untyped_imports = true
[tool.pylint]
load-plugins = ["pylint_per_file_ignores"]
disable = [
"duplicate-code",
"line-too-long",
"missing-module-docstring",
"too-many-arguments",
"too-many-positional-arguments",
"too-many-public-methods",
"wrong-import-order",
]
ignore = ["__init__.py", "docs/source/conf.py"]
notes = ["FIXME"]
# NOTE - Ignore invalid-name only in examples for simplified code without pylint complaining variables in global scope
# aren't uppercase.
# NOTE - Uses globs since version 2.0.0, previously was regular expressions
per-file-ignores = ["examples/**:invalid-name"]