Skip to content

Commit c0def6c

Browse files
jakob1379Jakob Guldberg Aaes
andauthored
chore: fixed some typos in comments (#1351)
Co-authored-by: Jakob Guldberg Aaes <jakob1379@gmali.com>
1 parent 765f00d commit c0def6c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bandit/cli/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ def _log_option_source(default_val, arg_val, ini_val, option_name):
9393
return ini_val
9494
else:
9595
return None
96-
# No value passed to commad line and default value is used
96+
# No value passed to command line and default value is used
9797
elif default_val == arg_val:
9898
return ini_val if ini_val else arg_val
99-
# Certainly a value is passed to commad line
99+
# Certainly a value is passed to command line
100100
else:
101101
return arg_val
102102

bandit/core/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def discover_files(self, targets, recursive=False, excluded_paths=""):
204204
:param recursive: True/False - whether to add all files from dirs
205205
:return:
206206
"""
207-
# We'll mantain a list of files which are added, and ones which have
207+
# We'll maintain a list of files which are added, and ones which have
208208
# been explicitly excluded
209209
files_list = set()
210210
excluded_files = set()

bandit/plugins/injection_shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from bandit.core import test_properties as test
1111

1212
# yuck, regex: starts with a windows drive letter (eg C:)
13-
# or one of our path delimeter characters (/, \, .)
13+
# or one of our path delimiter characters (/, \, .)
1414
full_path_match = re.compile(r"^(?:[A-Za-z](?=\:)|[\\\/\.])")
1515

1616

0 commit comments

Comments
 (0)