@@ -10,7 +10,7 @@ requires-python = ">=3.9, <4.0"
1010version = " 0.7.1"
1111
1212[project .optional-dependencies ]
13- adbc = [" adbc-driver-manager " , " pyarrow" ]
13+ adbc = [" adbc_driver_manager " , " pyarrow" ]
1414aioodbc = [" aioodbc" ]
1515aiosqlite = [" aiosqlite" ]
1616asyncmy = [" asyncmy" ]
@@ -35,9 +35,7 @@ uuid = ["uuid-utils>=0.6.1"]
3535[dependency-groups ]
3636build = [" bump-my-version" ]
3737dev = [
38- " adbc-driver-sqlite" ,
39- " adbc-driver-postgresql" ,
40- " adbc-driver-flightsql" ,
38+ { include-group = " extras" },
4139 { include-group = " lint" },
4240 { include-group = " doc" },
4341 { include-group = " test" },
@@ -59,6 +57,15 @@ doc = [
5957 " myst-parser" ,
6058 " sphinx-autodoc-typehints" ,
6159]
60+ extras = [
61+ " adbc_driver_manager" ,
62+ " pyarrow" ,
63+ " polars" ,
64+ " adbc_driver_sqlite" ,
65+ " adbc_driver_postgresql" ,
66+ " adbc_driver_flightsql" ,
67+ " adbc_driver_bigquery" ,
68+ ]
6269lint = [
6370 " mypy>=1.13.0" ,
6471 " pre-commit>=3.5.0" ,
@@ -75,7 +82,7 @@ test = [
7582 " pytest>=8.0.0" ,
7683 " pytest-asyncio>=0.23.8" ,
7784 " pytest-cov>=5.0.0" ,
78- " pytest-databases>=0.10.0 " ,
85+ " pytest-databases[postgres,oracle,mysql,bigquery,spanner] >=0.12.2 " ,
7986 " pytest-mock>=3.14.0" ,
8087 " pytest-sugar>=1.0.0" ,
8188 " pytest-xdist>=3.6.1" ,
@@ -217,10 +224,17 @@ module = [
217224
218225[tool .pyright ]
219226disableBytesTypePromotions = true
220- exclude = [" tools" , " docs" ]
227+ exclude = [" **/node_modules " , " **/__pycache__ " , " .venv " , " tools" , " docs" ]
221228include = [" sqlspec" , " tests" ]
222229pythonVersion = " 3.9"
230+ reportMissingTypeStubs = false
231+ reportPrivateImportUsage = false
232+ reportPrivateUsage = false
233+ reportUnknownArgumentType = false
234+ reportUnknownMemberType = false
235+ reportUnknownVariableType = false
223236reportUnnecessaryTypeIgnoreComments = true
237+ root = " ."
224238
225239
226240[tool .slotscheck ]
@@ -269,6 +283,7 @@ ignore = [
269283 " CPY001" , # pycodestyle - Missing Copywrite notice at the top of the file
270284 " RUF029" , # Ruff - function is declared as async but has no awaitable calls
271285 " COM812" , # flake8-comma - Missing trailing comma
286+ " PGH003" , # Use Specific ignore for pyright
272287]
273288select = [" ALL" ]
274289
0 commit comments