Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma-Fi-94 authored Dec 1, 2024
1 parent f390d04 commit 2897a67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ enable=c-extension-no-member
[EXCEPTIONS]

# Exceptions that will emit a warning when caught.
overgeneral-exceptions=BaseException,
Exception
overgeneral-exceptions=builtins.BaseException,
builtins.Exception


[TYPECHECK]
Expand Down
6 changes: 3 additions & 3 deletions yaptool.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def ticklabelsize(ax: plt.Axes, which: str = "both", size: float = 30) -> None:
Returns:
None
"""
if not which in ["x", "y", "xy", "yx", "both"]:
if which not in ["x", "y", "xy", "yx", "both"]:
raise ValueError(
'Parameter which must be one of "x", "y", "xy", "yx", "both".')

Expand Down Expand Up @@ -482,7 +482,7 @@ def ticks_and_labels(ax: plt.Axes,
None
"""

if not which in ["x", "y", "xy", "yx", "both"]:
if which not in ["x", "y", "xy", "yx", "both"]:
raise ValueError(
'Parameter which must be one of "x", "y", "xy", "yx", "both".')

Expand Down Expand Up @@ -516,7 +516,7 @@ def rotate_ticklabels(ax: plt.Axes, which: str, rotation: float) -> None:
None
"""

if not which in ["x", "y", "xy", "yx", "both"]:
if which not in ["x", "y", "xy", "yx", "both"]:
raise ValueError(
'Parameter which must be one of "x", "y", "xy", "yx", "both".')

Expand Down

0 comments on commit 2897a67

Please sign in to comment.