Skip to content

Commit 7dcbf49

Browse files
committed
Move ty to dev dependencies
1 parent 455a2a2 commit 7dcbf49

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

litecli/packages/special/iocommands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def execute_favorite_query(cur: Any, arg: str, verbose: bool = False, **_: Any)
195195
if arg_error:
196196
yield (None, None, None, arg_error)
197197
else:
198+
assert query, "query should be non-empty"
198199
for sql in sqlparse.split(query):
199200
sql = sql.rstrip(";")
200201
title = "> %s" % (sql) if verbose else None

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ dependencies = [
1818
"setuptools", # Required by llm commands to install models
1919
"pip",
2020
"llm>=0.25.0",
21-
"ty>=0.0.4",
2221
]
2322

2423
[build-system]
@@ -47,6 +46,7 @@ dev = [
4746
"tox>=4.8.0",
4847
"pdbpp>=0.10.3",
4948
"llm>=0.19.0",
49+
"ty>=0.0.4",
5050
]
5151

5252
[tool.setuptools.packages.find]
@@ -104,5 +104,5 @@ exclude = [
104104
'**/.mypy_cache/',
105105
'**/.pytest_cache/',
106106
'**/.ruff_cache/',
107-
'tests/**'
107+
'**/tests/**'
108108
]

0 commit comments

Comments
 (0)