We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96136d3 commit c265eebCopy full SHA for c265eeb
1 file changed
packages/http-client-python/eng/scripts/ci/run_pylint.py
@@ -47,6 +47,15 @@ def _single_dir_pylint(mod):
47
]
48
if is_azure:
49
pylint_args.append("--load-plugins=pylint_guidelines_checker")
50
+ # Per-package suppressions for generated code where pylint's ignore-paths
51
+ # is not honored (pylint 4.x + recursive + plugin). Keep the scope as
52
+ # narrow as possible: only this package, only the offending check.
53
+ per_package_disables = {
54
+ "azure-client-generator-core-exact-name": ["client-incorrect-naming-convention"],
55
+ }
56
+ extra_disables = per_package_disables.get(mod.name)
57
+ if extra_disables:
58
+ pylint_args.append("--disable={}".format(",".join(extra_disables)))
59
pylint_args.append(str(inner_class.absolute()))
60
try:
61
check_call(pylint_args)
0 commit comments