Skip to content

Commit

Permalink
Addressing McCabe and Prospector warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhelle committed Nov 10, 2021
1 parent bdae992 commit 34af0da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion msticnb/nb/azsent/host/host_logons_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def run(
timespan: Optional[TimeSpan] = None,
options: Optional[Iterable[str]] = None,
**kwargs,
) -> HostLogonsSummaryResult:
) -> HostLogonsSummaryResult: # noqa:MC0001
"""
Return host summary data.
Expand Down
2 changes: 1 addition & 1 deletion msticnb/nb/azsent/host/host_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class HostSummary(Notebooklet):

# pylint: disable=too-many-branches
@set_text(docs=_CELL_DOCS, key="run") # noqa MC0001
def run(
def run( # noqa:MC0001
self,
value: Any = None,
data: Optional[pd.DataFrame] = None,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import setuptools


with open("requirements.txt", "r") as fh:
with open("requirements.txt", "r", encoding="utf-8") as fh:
INSTALL_REQUIRES = fh.readlines()

# pylint: disable=locally-disabled, invalid-name
Expand Down

0 comments on commit 34af0da

Please sign in to comment.