[flatpak] Predicate two cmds by gvfs service #3618
+11
−3
Open
Cirrus CI / pylint linting test
completed
Apr 24, 2024 in 37s
Task Summary
Instruction pylint failed in 00:25
Details
✅ 00:02 clone
✅ 00:07 setup
❌ 00:25 pylint
tests/sos_tests.py:402:15: E1101: Instance of 'Exception' has no 'result' member (no-member)
tests/sos_tests.py:404:36: E1101: Instance of 'Exception' has no 'result' member (no-member)
tests/sos_tests.py:418:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/sos_tests.py:460:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/sos_tests.py:476:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
tests/sos_tests.py:492:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
tests/sos_tests.py:553:22: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/sos_tests.py:583:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/sos_tests.py:603:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/sos_tests.py:683:35: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/sos_tests.py:687:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/sos_tests.py:699:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/sos_tests.py:837:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
tests/sos_tests.py:842:12: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
tests/sos_tests.py:899:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/sos_tests.py:1040:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/sos_tests.py:16:0: C0411: standard import "fnmatch.fnmatch" should be placed before third party imports "avocado.core.exceptions.TestSkipError", "avocado.core.output.LOG_UI", "avocado.Test", "avocado.utils.archive", "avocado.utils.cpu.get_arch", "avocado.utils.software_manager.distro_packages" (wrong-import-order)
tests/sos_tests.py:18:0: C0411: standard import "glob" should be placed before third party imports "avocado.core.exceptions.TestSkipError", "avocado.core.output.LOG_UI", "avocado.Test", "avocado.utils.archive", "avocado.utils.cpu.get_arch", "avocado.utils.software_manager.distro_packages" (wrong-import-order)
tests/sos_tests.py:19:0: C0411: standard import "inspect" should be placed before third party imports "avocado.core.exceptions.TestSkipError", "avocado.core.output.LOG_UI", "avocado.Test", "avocado.utils.archive", "avocado.utils.cpu.get_arch", "avocado.utils.software_manager.distro_packages" (wrong-import-order)
tests/sos_tests.py:20:0: C0411: standard import "json" should be placed before third party imports "avocado.core.exceptions.TestSkipError", "avocado.core.output.LOG_UI", "avocado.Test", "avocado.utils.archive", "avocado.utils.cpu.get_arch", "avocado.utils.software_manager.distro_packages" (wrong-import-order)
tests/sos_tests.py:21:0: C0411: standard import "os" should be placed before third party imports "avocado.core.exceptions.TestSkipError", "avocado.core.output.LOG_UI", "avocado.Test", "avocado.utils.archive", "avocado.utils.cpu.get_arch", "avocado.utils.software_manager.distro_packages" (wrong-import-order)
tests/sos_tests.py:22:0: C0411: standard import "pickle" should be placed before third party imports "avocado.core.exceptions.TestSkipError", "avocado.core.output.LOG_UI", "avocado.Test", "avocado.utils.archive", "avocado.utils.cpu.get_arch", "avocado.utils.software_manager.distro_packages" (wrong-import-order)
tests/sos_tests.py:23:0: C0411: standard import "shutil" should be placed before third party imports "avocado.core.exceptions.TestSkipError", "avocado.core.output.LOG_UI", "avocado.Test", "avocado.utils.archive", "avocado.utils.cpu.get_arch", "avocado.utils.software_manager.distro_packages" (wrong-import-order)
tests/sos_tests.py:24:0: C0411: standard import "socket" should be placed before third party imports "avocado.core.exceptions.TestSkipError", "avocado.core.output.LOG_UI", "avocado.Test", "avocado.utils.archive", "avocado.utils.cpu.get_arch", "avocado.utils.software_manager.distro_packages" (wrong-import-order)
tests/sos_tests.py:25:0: C0411: standard import "re" should be placed before third party imports "avocado.core.exceptions.TestSkipError", "avocado.core.output.LOG_UI", "avocado.Test", "avocado.utils.archive", "avocado.utils.cpu.get_arch", "avocado.utils.software_manager.distro_packages" (wrong-import-order)
************* Module tests.report_tests.help_output_tests
tests/report_tests/help_output_tests.py:51:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
************* Module tests.report_tests.encryption_tests
tests/report_tests/encryption_tests.py:22:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/report_tests/encryption_tests.py:26:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/report_tests/encryption_tests.py:44:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
************* Module tests.report_tests.smoke_tests
tests/report_tests/smoke_tests.py:30:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/report_tests/smoke_tests.py:41:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
************* Module tests.report_tests.plugin_tests.logs
tests/report_tests/plugin_tests/logs.py:14:0: C0411: standard import "string.ascii_uppercase" should be placed before third party import "sos_tests.StageOneReportTest" (wrong-import-order)
tests/report_tests/plugin_tests/logs.py:15:0: C0411: standard import "time.sleep" should be placed before third party import "sos_tests.StageOneReportTest" (wrong-import-order)
************* Module tests.report_tests.plugin_tests.networking
tests/report_tests/plugin_tests/networking.py:40:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
************* Module tests.unittests.plugin_tests
tests/unittests/plugin_tests.py:21:0: C0411: standard import "string.ascii_lowercase" should be placed before first party imports "sos.report.plugins.Plugin", "sos.archive.TarFileArchive", "sos.policies.distros.LinuxPolicy", "sos.policies.init_systems.InitSystem" (wrong-import-order)
************* Module tests.unittests.conformance_tests
tests/unittests/conformance_tests.py:34:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/unittests/conformance_tests.py:40:34: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/unittests/conformance_tests.py:43:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/unittests/conformance_tests.py:48:34: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/unittests/conformance_tests.py:50:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
************* Module tests.unittests.option_tests
tests/unittests/option_tests.py:33:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
-----------------------------------
Your code has been rated at 9.57/10
ERROR: InvocationError for command /tmp/cirrus-ci-build/.tox/pylint/bin/pylint --rcfile=tox.ini sos tests (exited with code 26)
___________________________________ summary ____________________________________
ERROR: pylint: commands failed
Loading