Skip to content

Commit fb660b8

Browse files
committed
Py: Report any extracted file as successfully extracted
1 parent e30a0d1 commit fb660b8

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
2-
* @name Successfully extracted Python files
3-
* @description Lists all Python files in the source code directory that were extracted
4-
* without encountering an error.
2+
* @name Extracted Python files
3+
* @description Lists all Python files in the source code directory that were extracted.
54
* @kind diagnostic
65
* @id py/diagnostics/successfully-extracted-files
76
* @tags successfully-extracted-files
@@ -10,7 +9,5 @@
109
import python
1110

1211
from File file
13-
where
14-
not exists(SyntaxError e | e.getFile() = file) and
15-
exists(file.getRelativePath())
12+
where exists(file.getRelativePath())
1613
select file, ""
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
| bad_encoding.py:0:0:0:0 | bad_encoding.py | |
12
| good_file.py:0:0:0:0 | good_file.py | |
3+
| syntax_error.py:0:0:0:0 | syntax_error.py | |

0 commit comments

Comments
 (0)