Skip to content

Commit

Permalink
Bump the all group across 1 directory with 5 updates (#23)
Browse files Browse the repository at this point in the history
* Bump the all group across 1 directory with 5 updates

Bumps the all group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) | `4.12.3` | `4.13.3` |
| [types-beautifulsoup4](https://github.com/python/typeshed) | `4.12.0.20241020` | `4.12.0.20250204` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.124.7` | `6.125.2` |
| [pyright](https://github.com/RobertCraigie/pyright-python) | `1.1.392.post0` | `1.1.393` |
| [ruff](https://github.com/astral-sh/ruff) | `0.9.3` | `0.9.5` |



Updates `beautifulsoup4` from 4.12.3 to 4.13.3

Updates `types-beautifulsoup4` from 4.12.0.20241020 to 4.12.0.20250204
- [Commits](https://github.com/python/typeshed/commits)

Updates `hypothesis` from 6.124.7 to 6.125.2
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.124.7...hypothesis-python-6.125.2)

Updates `pyright` from 1.1.392.post0 to 1.1.393
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](RobertCraigie/pyright-python@v1.1.392.post0...v1.1.393)

Updates `ruff` from 0.9.3 to 0.9.5
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.9.3...0.9.5)

---
updated-dependencies:
- dependency-name: beautifulsoup4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: types-beautifulsoup4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: hypothesis
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: pyright
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix type error

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tomáš Režňák <[email protected]>
  • Loading branch information
dependabot[bot] and reznakt authored Feb 7, 2025
1 parent c2fe566 commit 0a2809a
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 38 deletions.
73 changes: 37 additions & 36 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions svglab/attrparse/d.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,14 +581,14 @@ def from_str(cls, text: str) -> Self:
@classmethod
def _validate(
cls, value: object, info: pydantic_core.core_schema.ValidationInfo
) -> Self:
) -> D:
del info

match value:
case str():
return cls.from_str(value)
case D():
return cast(cls, value)
return value
case _:
msg = f"Expected str or D, got {type(value)}"
raise TypeError(msg)
Expand Down

0 comments on commit 0a2809a

Please sign in to comment.