Skip to content

Commit

Permalink
Ignore mypy check for bcrypt and click.
Browse files Browse the repository at this point in the history
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
  • Loading branch information
BonfaceKilz committed Oct 26, 2023
1 parent 972320b commit 545a629
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gn3/auth/authentication/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Handle authentication requests"""

import bcrypt
import bcrypt # type: ignore

def credentials_in_database(cursor, email: str, password: str) -> bool:
"""Check whether credentials are in the database."""
Expand Down
2 changes: 1 addition & 1 deletion scripts/migrate_existing_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from pathlib import Path
from uuid import UUID, uuid4

import click
import click # type: ignore
from MySQLdb.cursors import DictCursor

from gn3 import db_utils as biodb
Expand Down
2 changes: 1 addition & 1 deletion scripts/register_sys_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import getpass
from pathlib import Path

import click
import click # type: ignore
from email_validator import validate_email, EmailNotValidError

from gn3.auth import db
Expand Down

0 comments on commit 545a629

Please sign in to comment.