Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (116 loc) · 3.27 KB
/
Copy pathpyproject.toml
File metadata and controls
131 lines (116 loc) · 3.27 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
[project]
name = "code-snippets-v4"
version = "0.0.11"
description = "Code snippets for Senzing V4"
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/code-snippets-v4/issues"
changelog = "https://github.com/senzing-garage/code-snippets-v4/blob/main/CHANGELOG.md"
source = "https://github.com/senzing-garage/code-snippets-v4"
[build-system]
requires = ["setuptools>=80", "wheel"]
build-backend = "setuptools.build_meta"
[dependency-groups]
all = [
{ include-group = "development" },
{ include-group = "lint" },
{ include-group = "test" },
]
development = [
"build==1.6.1",
"coverage==7.10.7; python_version <= '3.11'",
"coverage==7.16.1; python_version > '3.11'",
"cryptography==50.0.1",
"psutil==7.2.2",
"pytest-cov==7.1.0",
"pytest-schema==0.1.2",
"pytest==8.4.2; python_version <= '3.11'",
"pytest==9.1.1; python_version > '3.11'",
"twine==7.0.0",
"virtualenv==21.11.1",
"wheel==0.48.0",
]
lint = [
"bandit==1.8.6; python_version <= '3.11'",
"bandit==1.9.4; python_version > '3.11'",
"black==25.11.0; python_version <= '3.11'",
"black==26.5.1; python_version > '3.11'",
"flake8==7.4.1",
"fpvs==0.3.0",
"isort==6.1.0; python_version <= '3.11'",
"isort==9.0.1; python_version > '3.11'",
"mypy==2.3.1",
"pylint-per-file-ignores==2.0.3; python_version <= '3.11'",
"pylint-per-file-ignores==3.2.1; python_version > '3.11'",
"pylint==3.3.9; python_version <= '3.11'",
"pylint==4.0.9; python_version > '3.11'",
]
test = [
"pytest==8.4.2; python_version <= '3.11'",
"pytest==9.1.1; python_version > '3.11'",
"coverage==7.10.7; python_version <= '3.11'",
"coverage==7.16.1; python_version > '3.11'",
]
[tool.pytest.ini_options]
testpaths = ["python/tests"]
[tool.setuptools]
package-dir = { "" = "python" }
[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]
disallow_untyped_defs = false
disallow_untyped_calls = false
disable_error_code = ["call-arg", "var-annotated"]
[[tool.mypy.overrides]]
module = "senzing_abstract.szengineflags.*"
ignore_missing_imports = true
warn_unused_ignores = false
[[tool.mypy.overrides]]
module = "pytest_schema.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "senzing_core.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "senzing.*"
ignore_missing_imports = true
[tool.pylint]
ignored-argument-names = "args|kwargs"
disable = [
"broad-except",
"consider-using-f-string",
"duplicate-code",
"import-error",
"inconsistent-return-statements",
"invalid-name",
"line-too-long",
"missing-function-docstring",
"missing-module-docstring",
"no-value-for-parameter",
"protected-access",
"too-many-branches",
"too-many-locals",
"unused-argument",
]
good-names = ["code-snippets-v4"]
notes = ["FIXME"]