mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Python: Autoformat everything using qlformat.
Will need subsequent PRs fixing up test failures (due to deprecated methods moving around), but other than that everything should be straight-forward.
This commit is contained in:
@@ -18,10 +18,10 @@ import Expressions.CallArgs
|
||||
|
||||
from Call call, FunctionObject func, string name
|
||||
where
|
||||
illegally_named_parameter_objectapi(call, func, name) and
|
||||
not func.isAbstract() and
|
||||
not exists(FunctionObject overridden |
|
||||
func.overrides(overridden) and overridden.getFunction().getAnArg().(Name).getId() = name
|
||||
)
|
||||
illegally_named_parameter_objectapi(call, func, name) and
|
||||
not func.isAbstract() and
|
||||
not exists(FunctionObject overridden |
|
||||
func.overrides(overridden) and overridden.getFunction().getAnArg().(Name).getId() = name
|
||||
)
|
||||
select call, "Keyword argument '" + name + "' is not a supported parameter name of $@.", func,
|
||||
func.descriptiveString()
|
||||
func.descriptiveString()
|
||||
|
||||
Reference in New Issue
Block a user