Skip to content

Commit

Permalink
add linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
scetron committed Feb 5, 2024
1 parent b0b74ad commit 27cec2e
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/basic_example.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Testing file."""

# pylint: disable=duplicate-code
import os
from nornir import InitNornir
Expand Down
1 change: 1 addition & 0 deletions examples/filter_location.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Testing file."""

# pylint: disable=duplicate-code
import os
from nornir import InitNornir
Expand Down
1 change: 1 addition & 0 deletions examples/filter_multiple_locations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Testing file."""

# pylint: disable=duplicate-code
import os
from nornir import InitNornir
Expand Down
1 change: 1 addition & 0 deletions examples/filter_negate_location.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Testing file."""

# pylint: disable=duplicate-code
import os
from nornir import InitNornir
Expand Down
1 change: 1 addition & 0 deletions nornir_nautobot/plugins/processors/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""BaseProcessor for the nornir."""

import logging

from nornir.core.inventory import Host
Expand Down
1 change: 1 addition & 0 deletions nornir_nautobot/plugins/tasks/dispatcher/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Used to initialize the dispatcher."""

# pylint: disable=raise-missing-from

import logging
Expand Down
1 change: 1 addition & 0 deletions nornir_nautobot/plugins/tasks/dispatcher/default.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""default driver for the network_importer."""

# pylint: disable=raise-missing-from,too-many-arguments

import logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""nornir dispatcher for Mikrotik Router OS."""

# pylint: disable=raise-missing-from

import os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""nornir dispatcher for Ruckus ICX/FastIron Switches."""

from nornir.core.task import Result, Task
from nornir.core.exceptions import NornirSubTaskError

Expand Down
1 change: 1 addition & 0 deletions tasks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tasks for use with Invoke."""

import os
import sys
from distutils.util import strtobool # pylint: disable=deprecated-module
Expand Down
1 change: 1 addition & 0 deletions tests/unit/conftest.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 27cec2e

Please sign in to comment.