Files
codeql/python/ql/test/query-tests/Summary/not_python
Rasmus Wriedt Larsen 354dee1b09 Python: Add non-alert data for lines of code
`py/summary/lines-of-code` is just a port of the C++/JS queries added in:

- https://github.com/github/codeql/pull/5271 (C++)
- https://github.com/github/codeql/pull/5304 (JS)

We are the first to implement the `lines-of-user-code` query, so nothing to
compare with in other languages -- but it makes a lot of sense to do for Python 👍
2021-04-23 13:22:18 +02:00

6 lines
99 B
Bash
Executable File

#!/bin/bash
# Although this is valid python code, it should not be counted as such.
print("foo")