Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Apr 11, 2024
1 parent d1b2627 commit 34a2979
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dplib/plugins/sql/models/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def from_dp(
SQL Field
"""
Check = sa.CheckConstraint
checks: List[Check] = []
checks: List[sa.CheckConstraint] = []
comment = field.description
dialect_obj = registry.load(dialect)()
nullable = not field.constraints.required
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,15 @@ dependencies = [
]

[project.optional-dependencies]
cli = ["typer[standard]>=0.12", "rich>=10.0"]
cli = ["typer>=0.12", "rich>=10.0"]
dcat = ["rdflib>=6.0"]
pandas = ["pandas>=1.0", "pandas-stubs>=1.0", "numpy>=1.0", "isodate>=0.6"]
polars = ["polars-lts-cpu>=0.10"]
sql = ["sqlalchemy>=1.4"]
dev = [
"moto",
"ruff",
"isort",
"httpx",
"hatch",
"yattag",
Expand Down Expand Up @@ -93,10 +94,11 @@ build = [
"mkdocs build",
]
format = [
"ruff check dplib --fix",
"isort dplib",
"ruff format dplib",
]
lint = [
"isort dplib --check",
"ruff check dplib",
]
release = [
Expand Down

0 comments on commit 34a2979

Please sign in to comment.