mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
Python: Autoformat all .ql files.
This commit is contained in:
@@ -16,4 +16,6 @@ import python
|
||||
|
||||
from ClassObject c
|
||||
where not c.isC() and not c.isContextManager() and exists(c.declaredAttribute("__del__"))
|
||||
select c, "Class " + c.getName() + " implements __del__ (presumably to release some resource). Consider making it a context manager."
|
||||
select c,
|
||||
"Class " + c.getName() +
|
||||
" implements __del__ (presumably to release some resource). Consider making it a context manager."
|
||||
|
||||
Reference in New Issue
Block a user