mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
Upgrade pyright to 1.1.305 (#4042)
This commit is contained in:
parent
2be3ea1cc7
commit
4d629f04cc
@ -49,6 +49,7 @@ No changes to highlight.
|
||||
## Testing and Infrastructure Changes:
|
||||
|
||||
- CI: Simplified Python CI workflow by [@akx](https://github.com/akx) in [PR 3982](https://github.com/gradio-app/gradio/pull/3982)
|
||||
- Upgrade pyright to 1.1.305 by [@akx](https://github.com/akx) in [PR 4042](https://github.com/gradio-app/gradio/pull/4042)
|
||||
|
||||
## Breaking Changes:
|
||||
|
||||
|
@ -2,5 +2,5 @@ black==22.6.0
|
||||
pytest-asyncio
|
||||
pytest==7.1.2
|
||||
ruff==0.0.263
|
||||
pyright==1.1.298
|
||||
pyright==1.1.305
|
||||
gradio
|
||||
|
@ -418,7 +418,7 @@ class HuggingFaceDatasetSaver(FlaggingCallback):
|
||||
row.append(Path(deserialized).name)
|
||||
|
||||
# If component is eligible for a preview, add the URL of the file
|
||||
if isinstance(component, tuple(FILE_PREVIEW_TYPES)):
|
||||
if isinstance(component, tuple(FILE_PREVIEW_TYPES)): # type: ignore
|
||||
for _component, _type in FILE_PREVIEW_TYPES.items():
|
||||
if isinstance(component, _component):
|
||||
features[label + " file"] = {"_type": _type}
|
||||
|
@ -163,7 +163,7 @@ pygments==2.12.0
|
||||
# via ipython
|
||||
pyparsing==3.0.9
|
||||
# via packaging
|
||||
pyright==1.1.298
|
||||
pyright==1.1.305
|
||||
pyrsistent==0.18.1
|
||||
# via jsonschema
|
||||
pytest==7.1.2
|
||||
|
@ -168,7 +168,7 @@ python-dateutil==2.8.2
|
||||
# via
|
||||
# botocore
|
||||
# pandas
|
||||
pyright==1.1.298
|
||||
pyright==1.1.305
|
||||
pytz==2022.1
|
||||
# via pandas
|
||||
pywavelets==1.3.0
|
||||
|
Loading…
Reference in New Issue
Block a user