Skip to content

Commit a97f942

Browse files
committed
Python: Autoformat
1 parent 91e6222 commit a97f942

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

python/ql/src/experimental/semmle/python/templates/DjangoTemplate.qll

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ class DjangoTemplateTemplateSink extends SSTISink {
2424

2525
override predicate sinks(TaintKind kind) { kind instanceof ExternalStringKind }
2626
}
27-
28-
// TODO
29-
/**
30-
* Sinks representng the django.template.Template class instantiation.
31-
*
32-
* from django.template import engines
33-
*
34-
* django_engine = engines["django"]
35-
* template = django_engine.from_string(`sink`)
36-
*/
27+
// TODO (intentionally commented out QLDoc, since qlformat will delete those lines otherwise)
28+
// /**
29+
// * Sinks representng the django.template.Template class instantiation.
30+
// *
31+
// * from django.template import engines
32+
// *
33+
// * django_engine = engines["django"]
34+
// * template = django_engine.from_string(`sink`)
35+
// */

0 commit comments

Comments
 (0)