disable new pylint errors, this code is frozen

This commit is contained in:
Hans-Christoph Steiner 2022-09-06 11:02:46 +02:00
parent 05bc59c56a
commit d15a70b833
4 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@ confidence=HIGH,INFERENCE
# --enable=similarities". If you want to run only the classes checker, but have # --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes # no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W" # --disable=W"
disable=invalid-name,missing-docstring,no-member disable=invalid-name,missing-docstring,missing-timeout,no-member,consider-using-in,raise-missing-from
[MISCELLANEOUS] [MISCELLANEOUS]

View file

@ -78,7 +78,7 @@ def build_server(app, build, vcs, build_dir, output_dir, log_dir, force):
output = None output = None
try: try:
if not buildserverid: if not buildserverid: # pylint: disable=used-before-assignment
try: try:
buildserverid = subprocess.check_output(['vagrant', 'ssh', '-c', buildserverid = subprocess.check_output(['vagrant', 'ssh', '-c',
'cat /home/vagrant/buildserverid'], 'cat /home/vagrant/buildserverid'],

View file

@ -32,7 +32,7 @@ class UpdateTest(unittest.TestCase):
apk['features'] = [] apk['features'] = []
apk['icons_src'] = {} apk['icons_src'] = {}
return apk return apk
config = dict() config = dict()
fdroidserver.common.fill_config_defaults(config) fdroidserver.common.fill_config_defaults(config)
fdroidserver.update.config = config fdroidserver.update.config = config

View file

@ -112,7 +112,7 @@ def main(args):
if __name__ == '__main__': if __name__ == '__main__':
logging.basicConfig(format='%(message)s', level=logging.DEBUG) logging.basicConfig(format='%(message)s', level=logging.DEBUG)
parser = ArgumentParser(description="""\ parser = ArgumentParser(description="""\
This is intended for manually testing vmtools.py This is intended for manually testing vmtools.py