diff --git a/examples/basic_example.py b/examples/basic_example.py index 2c76388..25aa79c 100644 --- a/examples/basic_example.py +++ b/examples/basic_example.py @@ -1,4 +1,5 @@ """Testing file.""" + # pylint: disable=duplicate-code import os from nornir import InitNornir diff --git a/examples/filter_location.py b/examples/filter_location.py index 8a4c399..54167e5 100644 --- a/examples/filter_location.py +++ b/examples/filter_location.py @@ -1,4 +1,5 @@ """Testing file.""" + # pylint: disable=duplicate-code import os from nornir import InitNornir diff --git a/examples/filter_multiple_locations.py b/examples/filter_multiple_locations.py index 2228bf7..0f2491c 100644 --- a/examples/filter_multiple_locations.py +++ b/examples/filter_multiple_locations.py @@ -1,4 +1,5 @@ """Testing file.""" + # pylint: disable=duplicate-code import os from nornir import InitNornir diff --git a/examples/filter_negate_location.py b/examples/filter_negate_location.py index 8704e15..8f897e8 100644 --- a/examples/filter_negate_location.py +++ b/examples/filter_negate_location.py @@ -1,4 +1,5 @@ """Testing file.""" + # pylint: disable=duplicate-code import os from nornir import InitNornir diff --git a/nornir_nautobot/plugins/processors/__init__.py b/nornir_nautobot/plugins/processors/__init__.py index b3aeb27..faeae2a 100644 --- a/nornir_nautobot/plugins/processors/__init__.py +++ b/nornir_nautobot/plugins/processors/__init__.py @@ -1,4 +1,5 @@ """BaseProcessor for the nornir.""" + import logging from nornir.core.inventory import Host diff --git a/nornir_nautobot/plugins/tasks/dispatcher/__init__.py b/nornir_nautobot/plugins/tasks/dispatcher/__init__.py index 090cd74..e84bb42 100644 --- a/nornir_nautobot/plugins/tasks/dispatcher/__init__.py +++ b/nornir_nautobot/plugins/tasks/dispatcher/__init__.py @@ -1,4 +1,5 @@ """Used to initialize the dispatcher.""" + # pylint: disable=raise-missing-from import logging diff --git a/nornir_nautobot/plugins/tasks/dispatcher/default.py b/nornir_nautobot/plugins/tasks/dispatcher/default.py index 0d85f12..44b4747 100644 --- a/nornir_nautobot/plugins/tasks/dispatcher/default.py +++ b/nornir_nautobot/plugins/tasks/dispatcher/default.py @@ -1,4 +1,5 @@ """default driver for the network_importer.""" + # pylint: disable=raise-missing-from,too-many-arguments import logging diff --git a/nornir_nautobot/plugins/tasks/dispatcher/mikrotik_routeros.py b/nornir_nautobot/plugins/tasks/dispatcher/mikrotik_routeros.py index 2336729..c874146 100644 --- a/nornir_nautobot/plugins/tasks/dispatcher/mikrotik_routeros.py +++ b/nornir_nautobot/plugins/tasks/dispatcher/mikrotik_routeros.py @@ -1,4 +1,5 @@ """nornir dispatcher for Mikrotik Router OS.""" + # pylint: disable=raise-missing-from import os diff --git a/nornir_nautobot/plugins/tasks/dispatcher/ruckus_fastiron.py b/nornir_nautobot/plugins/tasks/dispatcher/ruckus_fastiron.py index 428d413..8857ce3 100644 --- a/nornir_nautobot/plugins/tasks/dispatcher/ruckus_fastiron.py +++ b/nornir_nautobot/plugins/tasks/dispatcher/ruckus_fastiron.py @@ -1,4 +1,5 @@ """nornir dispatcher for Ruckus ICX/FastIron Switches.""" + from nornir.core.task import Result, Task from nornir.core.exceptions import NornirSubTaskError diff --git a/tasks.py b/tasks.py index 3d6587e..4c250ef 100644 --- a/tasks.py +++ b/tasks.py @@ -1,4 +1,5 @@ """Tasks for use with Invoke.""" + import os import sys from distutils.util import strtobool # pylint: disable=deprecated-module diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py index f842886..0b1b62f 100644 --- a/tests/unit/conftest.py +++ b/tests/unit/conftest.py @@ -1,4 +1,5 @@ """Used to setup fixtures to be used through tests.""" + import pytest import pynautobot from nornir_nautobot.plugins.inventory.nautobot import NautobotInventory