Commit f14e93b3 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Ignore some linting errors

parent 170021f6
......@@ -33,6 +33,7 @@ from idmslinux_installer.util.blockdevices import BlockDevices
__version__ = "0.1.7"
# pylama:ignore=C901,R0903,R0912,R0915
class Ili:
"""
Ili is the IDMS Linux Installer class.
......
......@@ -23,8 +23,7 @@ from idmslinux_installer.util.asyncsubprocess import OutputCallback
from idmslinux_installer.util.mount import Mount
# Ignore warning that we have too many instance attributes
# pylama:ignore=R:select=R0902
# pylama:ignore=R0902,R0904
class IliState:
"""IliState is used to track the installer state."""
......
......@@ -23,6 +23,7 @@ from typing import List
from .ilistate import IliState
# pylama:ignore=R0201
class Plugin:
"""Base plugin class, used as the parent for all plugins we define."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.etcfstab import EtcFstab
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class ConfigSystemEtcFstab(Plugin):
"""Configure system /etc/fstab."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.etchosts import EtcHosts
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class ConfigSystemEtcHosts(Plugin):
"""Configure system /etc/hosts."""
......
......@@ -23,7 +23,7 @@ from idmslinux_installer.util.sysgrub import SysGrub
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class ConfigSystemGrub(Plugin):
"""Configure system grub."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.syshostname import SysHostname
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class ConfigSystemHostname(Plugin):
"""Configure system hostname."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.syslocale import SysLocale
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class ConfigSystemLocale(Plugin):
"""Configure system locale."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.sysmkinitcpio import SysMkinitcpio
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class ConfigSystemMkinitcpio(Plugin):
"""Configure system mkinitcpio."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.syspacman import SysPacman
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class ConfigSystemPacman(Plugin):
"""Configure system pacman."""
......
......@@ -24,7 +24,7 @@ from idmslinux_installer.util.networkdevices import NetworkDevices
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223,R0201
class ConfigSystemdNetworkd(Plugin):
"""Configure systemd networkd."""
......
......@@ -22,7 +22,7 @@ from idmslinux_installer.plugin import Plugin
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class ConfigSystemSystemdResolved(Plugin):
"""Configure systemd-resolved."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.systimezone import SysTimezone
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class ConfigSystemTimezone(Plugin):
"""Configure system timezone."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.mkfs import Mkfs
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class CreateFilesystems(Plugin):
"""Create filesystems on the provided block devices."""
......
......@@ -20,7 +20,7 @@ from idmslinux_installer.plugin import Plugin
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class DiskLayoutFLAT(Plugin):
"""FLAT disk layout strategy class."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.lvm import Lvm
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class DiskLayoutLVM(Plugin):
"""LVM disk layout strategy class."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.sfdisk import Sfdisk, get_partition
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class DiskUsageASIS(Plugin):
"""AS-IS disk usage strategy class."""
......
......@@ -24,7 +24,7 @@ from idmslinux_installer.util.sfdisk import Sfdisk, get_partition
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class DiskUsageMDRAID(Plugin):
"""MDRAID disk usage strategy class."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.pacstrap import Pacstrap
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class InstallBase(Plugin):
"""Install base operating system files."""
......
......@@ -21,7 +21,7 @@ from idmslinux_installer.util.syspacman import SysPacman
# Ignore warning that we have not overridden all base class methods.
# pylama:ignore=W:select=W023
# pylama:ignore=W0223
class InstallPackages(Plugin):
"""Install additional system packages."""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment