Skip to content

Commit

Permalink
Fix pylint issues. (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbassett-tibco committed Jun 4, 2024
1 parent 9b28ac8 commit a91b825
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ types = [
"types-seaborn",
]
lint = [
"pylint == 3.0.3",
"pylint == 3.2.2",
"mypy == 1.8.0", "spotfire[types]",
"cython-lint == 0.16.0",
"cpplint == 1.6.1",
Expand All @@ -88,7 +88,7 @@ fail-under = 10
# from-stdin =
ignore = ["CVS"]
# ignore-paths =
# ignore-patterns =
ignore-patterns = [".*.pyi"]
# ignored-modules =
# init-hook =
jobs = 1
Expand Down
3 changes: 1 addition & 2 deletions spotfire/data_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


_ExceptionInfo = typing.Union[
tuple[typing.Type[BaseException], BaseException, types.TracebackType],
tuple[type[BaseException], BaseException, types.TracebackType],
tuple[None, None, None]
]
_Globals = dict[str, typing.Any]
Expand Down Expand Up @@ -377,7 +377,6 @@ def _compile_script(self, result: AnalyticResult) -> None:
self.debug_write_script()
self.debug("--- script ---")
result.fail_with_exception(sys.exc_info())
return

def _read_inputs(self, result: AnalyticResult) -> None:
"""read inputs"""
Expand Down

0 comments on commit a91b825

Please sign in to comment.