@@ -939,7 +939,7 @@ def _eval_where(
939939 return True
940940 if isinstance (predicate , str ):
941941 return bool (
942- eval ( # skipcq: PYL-W0123, # noqa: PGH001, S307
942+ eval ( # skipcq: PYL-W0123, # noqa: S307
943943 predicate ,
944944 PY_GLOBALS ,
945945 {"props" : properties },
@@ -1513,7 +1513,7 @@ def select_values(
15131513
15141514 if isinstance (select , str ):
15151515 py_locals = {"props" : annotation .properties }
1516- return eval ( # skipcq: PYL-W0123, # noqa: PGH001, S307
1516+ return eval ( # skipcq: PYL-W0123, # noqa: S307
15171517 select ,
15181518 PY_GLOBALS ,
15191519 py_locals ,
@@ -2817,7 +2817,7 @@ def _initialize_query_string_parameters(
28172817 query_parameters ["where" ] = where
28182818 # Predicate is a string
28192819 if isinstance (where , str ):
2820- sql_predicate = eval ( # skipcq: PYL-W0123, # noqa: PGH001, S307
2820+ sql_predicate = eval ( # skipcq: PYL-W0123, # noqa: S307
28212821 where ,
28222822 SQL_GLOBALS ,
28232823 {},
@@ -3427,7 +3427,7 @@ def pquery(
34273427 return_columns .append ("[key]" )
34283428 if is_str_query and not is_star_query :
34293429 select = cast (str , select )
3430- select_names = eval ( # skipcq: PYL-W0123, # noqa: PGH001, S307
3430+ select_names = eval ( # skipcq: PYL-W0123, # noqa: S307
34313431 select ,
34323432 SQL_GLOBALS ,
34333433 {},
@@ -3855,7 +3855,7 @@ def create_index(
38553855 if not isinstance (where , str ):
38563856 msg = f"Invalid type for `where` ({ type (where )} )."
38573857 raise TypeError (msg )
3858- sql_predicate = eval ( # skipcq: PYL-W0123, # noqa: PGH001, S307
3858+ sql_predicate = eval ( # skipcq: PYL-W0123, # noqa: S307
38593859 where ,
38603860 SQL_GLOBALS ,
38613861 )
0 commit comments