From: Matthew Fernandez Date: Tue, 29 Jun 2021 02:41:49 +0000 (-0700) Subject: squash Pylint warning in deploy script X-Git-Tag: 2.48.0~19^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adc0d293a04ecece39e77c847a396a063b6cdb34;p=graphviz squash Pylint warning in deploy script With this tweak, deploy.py is Pylint-warning-free. I do not think it makes sense to write docstrings on a main function. --- diff --git a/ci/deploy.py b/ci/deploy.py index 71ccad0d0..e526be1bf 100644 --- a/ci/deploy.py +++ b/ci/deploy.py @@ -90,7 +90,7 @@ def is_windows_artifact(path: Path) -> bool: """is this a deployment artifact for Windows?""" return re.search(r"\bwindows\b", str(path)) is not None -def main(args: List[str]) -> int: +def main(args: List[str]) -> int: # pylint: disable=missing-function-docstring # setup logging to print to stderr global log