(filename, exclude, include)
| 193 | |
| 194 | |
| 195 | def _is_excluded(filename, exclude, include): |
| 196 | if include: |
| 197 | for included in include: |
| 198 | if match_glob(filename, included): |
| 199 | return False |
| 200 | return True |
| 201 | elif exclude: |
| 202 | for excluded in exclude: |
| 203 | if match_glob(filename, excluded): |
| 204 | return True |
| 205 | return False |
| 206 | else: |
| 207 | return False |
| 208 | |
| 209 | |
| 210 | def _walk_tree(root, *, |
no test coverage detected
searching dependent graphs…