We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2194cd8 commit fc44784Copy full SHA for fc44784
scripts/testing/runtest
@@ -333,6 +333,10 @@ class Gather:
333
return True
334
return False
335
336
+ @staticmethod
337
+ def is_file_statically_ignored(src):
338
+ return os.path.basename(src).startswith('.#')
339
+
340
@classmethod
341
def gather(cls, obj):
342
try:
@@ -376,7 +380,11 @@ class Gather:
376
380
dirs = map(cls.gather, dirs)
377
381
378
382
files = list(itertools.chain.from_iterable(dirs))
379
- files = [x for x in files if not cls.is_file_excluded(x.filename, scenario.fexclude)]
383
+ files = [
384
+ x for x in files if
385
+ not cls.is_file_statically_ignored(x.filename) and
386
+ not cls.is_file_excluded(x.filename, scenario.fexclude)
387
+ ]
388
389
return files
390
0 commit comments