Skip to content

Commit

Permalink
pip prod(deps): bump pyright from 1.1.318 to 1.1.320 (#1398)
Browse files Browse the repository at this point in the history
Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from
1.1.318 to 1.1.320.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/RobertCraigie/pyright-python/commit/e66c61966239d2b3b885d75d223f05968c893337"><code>e66c619</code></a>
[pyright updated to 1.1.320] Update Version (<a
href="https://redirect.github.com/RobertCraigie/pyright-python/issues/199">#199</a>)</li>
<li>See full diff in <a
href="https://github.com/RobertCraigie/pyright-python/compare/v1.1.318...v1.1.320">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyright&package-manager=pip&previous-version=1.1.318&new-version=1.1.320)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sasha Lopoukhine <superlopuh@gmail.com>
  • Loading branch information
dependabot[bot] and superlopuh committed Aug 3, 2023
1 parent a97df8e commit 558bc4f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements-optional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ isort==5.12.0
nbconvert>=7.7.2,<8.0.0
# pyright version has to be fixed with `==`. The CI parses this file
# and installs the according version for typechecking.
pyright==1.1.318
pyright==1.1.320
wgpu==0.9.4
2 changes: 1 addition & 1 deletion tests/test_attribute_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ class DataListAttr(AttrConstraint):
elem_constr: AttrConstraint

def verify(self, attr: Attribute, constraint_vars: dict[str, Attribute]) -> None:
attr = cast(ListData[Any], attr)
attr = cast(ListData[Attribute], attr)
for e in attr.data:
self.elem_constr.verify(e, constraint_vars)

Expand Down
1 change: 0 additions & 1 deletion xdsl/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,6 @@ def print_int_or_question(value: IntAttr | NoneAttr) -> None:

if isinstance(attribute, Data):
self.print("<")
attribute = cast(Data[Any], attribute)
attribute.print_parameter(self)
self.print(">")
return
Expand Down

0 comments on commit 558bc4f

Please sign in to comment.