Merge pull request #3156 from tausbn/python-autoformat-all-ql-files

Python: Autoformat all `.ql` files.
This commit is contained in:
Rasmus Wriedt Larsen
2020-03-30 16:24:18 +02:00
committed by GitHub
502 changed files with 2667 additions and 2767 deletions

View File

@@ -12,7 +12,6 @@
*/
import python
import Lexical.CommentedOutCode
from CommentedOutCodeBlock c

View File

@@ -11,10 +11,8 @@
import python
import Lexical.CommentedOutCode
import python
from File f, int n
where n = count(CommentedOutCodeLine c | not c.maybeExampleCode() and c.getLocation().getFile() = f)
select f, n
order by n desc
select f, n order by n desc

View File

@@ -12,8 +12,7 @@
import python
predicate is_old_octal(IntegerLiteral i) {
exists(string text |
text = i.getText() |
exists(string text | text = i.getText() |
text.charAt(0) = "0" and
not text = "00" and
exists(text.charAt(1).toInt()) and