Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mypy version #258

Merged
merged 1 commit into from
Dec 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Bump mypy version
  • Loading branch information
schustmi committed Dec 21, 2021
commit 2a3ee6131983212c8aa837793096c50cba6d5869
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ tabulate = "^0.8.9"

[tool.poetry.dev-dependencies]
pytest = "^6.2.4"
mypy = "^0.910"
mypy = "^0.920"
flake8 = "^3.9.2"
black = "^21.7b0"
interrogate = "^1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion src/zenml/utils/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def run_as_daemon(
f.write(f"{os.getpid()}\n")

# register actions in case this process exits/gets killed
def sigterm(signum: signal.Signals, frame: types.FrameType) -> None:
def sigterm(signum: int, frame: Optional[types.FrameType]) -> None:
"""Removes the PID file."""
os.remove(pid_file)

Expand Down