We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5c8d05 commit f141c90Copy full SHA for f141c90
jumpsuite/jumpsuite.py
@@ -39,6 +39,7 @@ def load_exclude_file():
39
or_this_file.py
40
41
lib/*.py
42
+ # some comment
43
some_function_to_ignore
44
another_function
45
@@ -50,7 +51,9 @@ def load_exclude_file():
50
51
last_file = []
52
if os.path.exists(exclude_file):
53
for line in open(exclude_file):
- if line.startswith('\t') or line.startswith(' '):
54
+ if line.strip().startswith('#'):
55
+ pass # comment
56
+ elif line.startswith('\t') or line.startswith(' '):
57
last_file.append(line.strip())
58
elif line.strip():
59
last_file = excludes[line.strip()] = []
0 commit comments