You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qubes-installer-qubes-os/anaconda/translation-canary/tests/pylint/runpylint.py

21 lines
478 B

#!/usr/bin/python3
import sys
from pocketlint import PocketLintConfig, PocketLinter
class TranslationCanaryLintConfig(PocketLintConfig):
@property
def disabledOptions(self):
return [ "I0011", # Locally disabling %s
]
@property
def extraArgs(self):
return ["--init-import", "y"]
if __name__ == "__main__":
conf = TranslationCanaryLintConfig()
linter = PocketLinter(conf)
rc = linter.run()
sys.exit(rc)