Skip to content

Commit

Permalink
mypy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andgineer committed Sep 4, 2021
1 parent 5b79e7f commit ecbf673
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#

VENV_FOLDER="venv"
PYTHON="python3.7"
PYTHON="python3"

RED='\033[1;31m'
GREEN='\033[1;32m'
Expand Down
4 changes: 2 additions & 2 deletions bombard/mock_globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
That defines globals so you have valid code and code autocomplete in your IDE editor.
All strings with `bombard.examples.mock_globals` will be automatically removed before running bombard scripts.
"""
import os.path # pyflakes.ignore # do not remove. we use it to simplify import lines in examples #NOSONAR
import os.path # pylint: disable=unused-import # do not remove. we use it to simplify import lines in examples #NOSONAR

from bombard.campaign_yaml import yaml
from bombard.expand_file_name import expand_relative_file_name

resp = {}


def reload(requests, repeat=None, **kwargs):
def reload(requests, repeat=None, **kwargs): # pylint: disable=unused-argument
pass


Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ pyyaml>=5.1
pygments
colorama
types-PyYAML
mypy
2 changes: 1 addition & 1 deletion tests/test_doctests.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
PY_EXT = ".py"


def load_tests(loader, tests, ignore) -> None:
def load_tests(loader, tests, ignore) -> None: # pylint: disable=unused-argument
"""
Unittest hook to add tests to auto-discovered ones
https://docs.python.org/3/library/unittest.html#load-tests-protocol
Expand Down

0 comments on commit ecbf673

Please sign in to comment.