Debian Codegraph @

translation-canary/tests/pylint/runpylint.py

raw symbols SCIP
1 #!/usr/bin/python3
2
3 import sys
4 from pocketlint import PocketLintConfig, PocketLinter
5
6 class TranslationCanaryLintConfig(PocketLintConfig):
7 @property
8 def disabledOptions(self):
9 return [ "I0011", # Locally disabling %s
10 ]
11
12 @property
13 def extraArgs(self):
14 return ["--init-import", "y"]
15
16 if __name__ == "__main__":
17 conf = TranslationCanaryLintConfig()
18 linter = PocketLinter(conf)
19 rc = linter.run()
20 sys.exit(rc)