From 4597b79c520f421234d4b8a890d9b9185b8c2890 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 21 Nov 2024 12:38:23 -0600 Subject: Fix linting and mypy errors --- mypy.ini | 5 +++++ tests/unit/test_mysqldb.py | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 mypy.ini 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 -- cgit v1.2.3