Move 'snippet' queries to 'snippets' folders

This commit is contained in:
Arthur Baars
2019-07-25 15:38:25 +02:00
parent 30860daac4
commit bdce7d07c1
151 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
/**
* @name Empty blocks
* @description Finds the first statement in a block consisting of nothing but Pass statements
* @tags empty
* block
* statement
*/
import python
from StmtList blk
where not exists(Stmt s | not s instanceof Pass)
select blk.getItem(0)