Skip to content

Commit

Permalink
noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Jul 12, 2024
1 parent f9d211e commit f53815b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gene/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import logging
import os
from ast import literal_eval
from collections.abc import Collection
from pathlib import Path
from timeit import default_timer as timer
Expand Down Expand Up @@ -201,7 +200,7 @@ def _load_source(
f"Encountered ModuleNotFoundError attempting to import {e.name}. {_etl_dependency_help}"
)
click.get_current_context().exit()
SourceClass = literal_eval(n.value) # noqa: N806
SourceClass = eval(n.value) # noqa: N806, S307

source = SourceClass(database=db, silent=False)
try:
Expand Down

0 comments on commit f53815b

Please sign in to comment.