Skip to content

Commit

Permalink
fix mypy test case
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Mar 29, 2022
1 parent 8a63df2 commit 031f7ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .automation/test/python_mypy/python_good_1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# mypy: disallow-any-generics
import json
import sys
from os import getenv, path
Expand Down Expand Up @@ -196,4 +197,4 @@ def copy_labels(source_repo, target_repo, dry):
if __name__ == "__main__":
# Pylint doesn't know that @click.command takes care of injecting the
# function parameters. Disabling Pylint error.
copy_labels() # pylint: disable=no-value-for-parameter
copy_labels("wesh","weshwesh","") # pylint: disable=no-value-for-parameter
3 changes: 2 additions & 1 deletion .automation/test/python_mypy/python_good_2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# mypy: disallow-any-generics
import json
import sys
from os import getenv, path
Expand Down Expand Up @@ -196,4 +197,4 @@ def copy_labels(source_repo, target_repo, dry):
if __name__ == "__main__":
# Pylint doesn't know that @click.command takes care of injecting the
# function parameters. Disabling Pylint error.
copy_labels() # pylint: disable=no-value-for-parameter
copy_labels("wesh","weshwesh","") # pylint: disable=no-value-for-parameter

0 comments on commit 031f7ba

Please sign in to comment.