Skip to content

Commit daf4186

Browse files
committed
Python: Make all PEP249 implementations private
Since we're still sticking with `private by default` at least for a while longer.
1 parent 31d4ea7 commit daf4186

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

python/ql/src/semmle/python/frameworks/MySQLdb.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private import PEP249
1717
* - https://mysqlclient.readthedocs.io/index.html
1818
* - https://pypi.org/project/MySQL-python/
1919
*/
20-
module MySQLdb {
20+
private module MySQLdb {
2121
// ---------------------------------------------------------------------------
2222
// MySQLdb
2323
// ---------------------------------------------------------------------------

python/ql/src/semmle/python/frameworks/MysqlConnectorPython.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private import PEP249
1717
* - https://dev.mysql.com/doc/connector-python/en/
1818
* - https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
1919
*/
20-
module MysqlConnectorPython {
20+
private module MysqlConnectorPython {
2121
// ---------------------------------------------------------------------------
2222
// mysql
2323
// ---------------------------------------------------------------------------

python/ql/src/semmle/python/frameworks/Psycopg2.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private import PEP249
1717
* - https://www.psycopg.org/docs/
1818
* - https://pypi.org/project/psycopg2/
1919
*/
20-
module Psycopg2 {
20+
private module Psycopg2 {
2121
// ---------------------------------------------------------------------------
2222
// Psycopg
2323
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)