File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
test/query-tests/Diagnostics Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
/**
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.
5
4
* @kind diagnostic
6
5
* @id py/diagnostics/successfully-extracted-files
7
6
* @tags successfully-extracted-files
10
9
import python
11
10
12
11
from File file
13
- where
14
- not exists ( SyntaxError e | e .getFile ( ) = file ) and
15
- exists ( file .getRelativePath ( ) )
12
+ where exists ( file .getRelativePath ( ) )
16
13
select file , ""
Original file line number Diff line number Diff line change
1
+ | bad_encoding.py:0:0:0:0 | bad_encoding.py | |
1
2
| good_file.py:0:0:0:0 | good_file.py | |
3
+ | syntax_error.py:0:0:0:0 | syntax_error.py | |
You can’t perform that action at this time.
0 commit comments