diff options
author | Frederick Muriuki Muriithi | 2024-11-21 12:38:23 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-11-21 12:38:23 -0600 |
commit | 4597b79c520f421234d4b8a890d9b9185b8c2890 (patch) | |
tree | caf79ff1a8fe3f64f9829a61b03238c95d7f4ff0 | |
parent | a5d92a267d6798f2bb3c2e26a2adedb88b657a9d (diff) | |
download | gn-libs-4597b79c520f421234d4b8a890d9b9185b8c2890.tar.gz |
Fix linting and mypy errors
-rw-r--r-- | mypy.ini | 5 | ||||
-rw-r--r-- | tests/unit/test_mysqldb.py | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 0000000..acf7e33 --- /dev/null +++ b/mypy.ini @@ -0,0 +1,5 @@ +[mypy] +mypy_path = stubs + +[mypy-MySQLdb.*] +ignore_missing_imports = True
\ No newline at end of file diff --git a/tests/unit/test_mysqldb.py b/tests/unit/test_mysqldb.py index d880e6c..5beaae3 100644 --- a/tests/unit/test_mysqldb.py +++ b/tests/unit/test_mysqldb.py @@ -1,5 +1,4 @@ -"""Tests for function in ....mysqldb module""" -"""module contains test for db_utils""" +"""Tests for function in gn_libs.mysqldb module""" from unittest import mock import pytest |