@@ -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 ,
@@ -2831,7 +2831,7 @@ def _initialize_query_string_parameters(
28312831 query_parameters ["where" ] = where
28322832 # Predicate is a string
28332833 if isinstance (where , str ):
2834- sql_predicate = eval ( # skipcq: PYL-W0123, # noqa: PGH001, S307
2834+ sql_predicate = eval ( # skipcq: PYL-W0123, # noqa: S307
28352835 where ,
28362836 SQL_GLOBALS ,
28372837 {},
@@ -3441,7 +3441,7 @@ def pquery(
34413441 return_columns .append ("[key]" )
34423442 if is_str_query and not is_star_query :
34433443 select = cast (str , select )
3444- select_names = eval ( # skipcq: PYL-W0123, # noqa: PGH001, S307
3444+ select_names = eval ( # skipcq: PYL-W0123, # noqa: S307
34453445 select ,
34463446 SQL_GLOBALS ,
34473447 {},
@@ -3869,7 +3869,7 @@ def create_index(
38693869 if not isinstance (where , str ):
38703870 msg = f"Invalid type for `where` ({ type (where )} )."
38713871 raise TypeError (msg )
3872- sql_predicate = eval ( # skipcq: PYL-W0123, # noqa: PGH001, S307
3872+ sql_predicate = eval ( # skipcq: PYL-W0123, # noqa: S307
38733873 where ,
38743874 SQL_GLOBALS ,
38753875 )
0 commit comments