| Conditions | 3 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | #!/usr/bin/python |
||
| 12 | def include(self, filepath): |
||
| 13 | """Whether the file is to be included in discovery. |
||
| 14 | |||
| 15 | Args: |
||
| 16 | filepath (str): The full path of the file. |
||
| 17 | |||
| 18 | Returns: |
||
| 19 | bool: True if the file should be included. |
||
| 20 | """ |
||
| 21 | for filt in self.filters: |
||
| 22 | if filt in filepath: |
||
| 23 | return True |
||
| 24 | return False |
||
| 25 |