mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-31 12:00:42 +00:00
Enable all pyupgrade checks in ruff
This will help to keep us from using deprecated Python features going forward. Signed-off-by: Tristan Partin <tristan@neon.tech>
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
import numpy as np # type: ignore [import]
|
||||
import pandas as pd # type: ignore [import]
|
||||
import psycopg2
|
||||
from pgvector.psycopg2 import register_vector
|
||||
from pgvector.psycopg2 import register_vector # type: ignore [import]
|
||||
from psycopg2.extras import execute_values
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user