Parameters ---------- exclude_patterns : sequence of strings, optional Filenames containing these patterns (as raw strings, not as regular expressions) are excluded from the tests.
(self, exclude_patterns=None)
| 244 | score = 3000 # Should come before any other plugins |
| 245 | |
| 246 | def __init__(self, exclude_patterns=None): |
| 247 | """ |
| 248 | Parameters |
| 249 | ---------- |
| 250 | |
| 251 | exclude_patterns : sequence of strings, optional |
| 252 | Filenames containing these patterns (as raw strings, not as regular |
| 253 | expressions) are excluded from the tests. |
| 254 | """ |
| 255 | self.exclude_patterns = exclude_patterns or [] |
| 256 | super(ExclusionPlugin, self).__init__() |
| 257 | |
| 258 | def options(self, parser, env=os.environ): |
| 259 | Plugin.options(self, parser, env) |