-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #195 from jvanderaa/drop_py36
Updates to Drop Python 3.6
- Loading branch information
Showing
11 changed files
with
1,314 additions
and
1,170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[flake8] | ||
# E501: Line length is enforced by Black, so flake8 doesn't need to check it | ||
# W503: Black disagrees with this rule, as does PEP 8; Black wins | ||
ignore = E501, W503 | ||
# E701: Colon multi-line indicator, but is just used for model definition. Unable to fix in file. | ||
ignore = E501, W503, E701 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,31 @@ | ||
"""Circuit Maintenance plugin jobs.""" | ||
# from nautobot.extras.models import Job | ||
|
||
from .handle_notifications.handler import HandleCircuitMaintenanceNotifications | ||
|
||
|
||
# class FindSitesWithoutRedundancy(Job): | ||
# """Nautobot Job definition for finding sites without redundant circuit for impactful maintenance. | ||
|
||
# Args: | ||
# Job (Nautobot Job): Nautobot Job import. | ||
# """ | ||
|
||
# class Meta: | ||
# """Meta definition for the Job.""" | ||
|
||
# name = "Find Sites Without Redundancy" | ||
# description = "Search for sites with multiple circuits, 1 or more circuit impacts." | ||
# read_only = True | ||
|
||
# def run(self, data=None, commit=None): | ||
# """Executes the Job. | ||
|
||
# Args: | ||
# data (_type_, optional): _description_. Defaults to None. | ||
# commit (_type_, optional): _description_. Defaults to None. | ||
# """ | ||
# pass | ||
|
||
|
||
jobs = [HandleCircuitMaintenanceNotifications] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.