@@ -9,7 +9,14 @@ build-backend = "setuptools.build_meta"
99test = [" pytest" , " coverage" ]
1010
1111[tool .bandit ]
12- skips = [" B101" ]
12+ skips = [
13+ " B101" ,
14+ " B108" ,
15+ " B404" ,
16+ " B602" ,
17+ " B605" ,
18+ " B608"
19+ ]
1320
1421[tool .black ]
1522line-length = 120
@@ -24,6 +31,19 @@ src_paths = ["examples", "src", "tests"]
2431
2532[tool .mypy ]
2633exclude = [' .venv' , ' g2_tools' ]
34+ disable_error_code = [
35+ " arg-type" ,
36+ " attr-defined" ,
37+ " import-not-found" ,
38+ " name-defined" ,
39+ " no-untyped-call" ,
40+ " no-untyped-def" ,
41+ " return-value" ,
42+ " union-attr" ,
43+ " unused-ignore" ,
44+ " var-annotated"
45+ ]
46+ disallow_untyped_defs = false
2747
2848[[tool .mypy .overrides ]]
2949module = " senzing_abstract.szengineflags.*"
@@ -34,16 +54,41 @@ warn_unused_ignores = "false"
3454module = " pytest_schema.*"
3555ignore_missing_imports = " true"
3656
57+ [[tool .mypy .overrides ]]
58+ module = " sz_tools/_sz_database"
59+ ignore_missing_imports = " true"
60+
3761[tool .pylint ]
3862ignored-argument-names = " args|kwargs"
3963disable = [
4064 " broad-except" ,
65+ " broad-exception-raised" ,
66+ " consider-iterating-dictionary" ,
67+ " consider-using-dict-items" ,
4168 " consider-using-f-string" ,
69+ " consider-using-generator" ,
70+ " f-string-without-interpolation" ,
71+ " invalid-name" ,
72+ " line-too-long" ,
4273 " line-too-long" ,
74+ " missing-class-docstring" ,
75+ " missing-function-docstring" ,
76+ " missing-module-docstring" ,
77+ " no-member" ,
78+ " protected-access" ,
79+ " raise-missing-from" ,
80+ " simplifiable-if-expression" ,
4381 " too-many-branches" ,
4482 " too-many-instance-attributes" ,
4583 " too-many-locals" ,
46- " too-many-statements"
84+ " too-many-statements" ,
85+ " undefined-variable" ,
86+ " unidiomatic-typecheck" ,
87+ " unspecified-encoding" ,
88+ " unused-argument" ,
89+ " unused-import" ,
90+ " unused-variable" ,
91+ " useless-return"
4792]
4893good-names = [
4994 " template-python"
0 commit comments