Skip to content

Commit

Permalink
Bump the python-dependencies group with 2 updates (#354)
Browse files Browse the repository at this point in the history
* Bump the python-dependencies group with 2 updates

Bumps the python-dependencies group with 2 updates: [mypy](https://github.com/python/mypy) and [django-stubs](https://github.com/typeddjango/django-stubs).


Updates `mypy` from 1.11.2 to 1.13.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.11.2...v1.13.0)

Updates `django-stubs` from 5.1.0 to 5.1.1
- [Release notes](https://github.com/typeddjango/django-stubs/releases)
- [Commits](typeddjango/django-stubs@5.1.0...5.1.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: django-stubs
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
...

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

* Remove unused `# type: ignore` pragmas

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Norton <[email protected]>
  • Loading branch information
dependabot[bot] and CarrotManMatt authored Oct 28, 2024
1 parent 6fc739b commit 60783fd
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 41 deletions.
82 changes: 44 additions & 38 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ setuptools = "^70.3"

[tool.poetry.group.dev.dependencies]
pre-commit = "^4.0"
mypy = "~1.11"
mypy = "~1.13"
django-stubs = {extras = ["compatible-mypy"], version = "~5.1"}
types-beautifulsoup4 = "^4.12"
pytest = "^8.3"
Expand Down
4 changes: 2 additions & 2 deletions utils/tex_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def group_full_name(self) -> str:
The group-full-name is either retrieved from the provided environment variable
or automatically identified from the name of your group's Discord guild.
"""
return ( # type: ignore[no-any-return]
return (
settings["_GROUP_FULL_NAME"]
if settings["_GROUP_FULL_NAME"]
else (
Expand All @@ -312,7 +312,7 @@ def group_short_name(self) -> str:
This defaults to `TeXBot.group_full_name`,
if no group-short-name is provided/could not be determined.
"""
return ( # type: ignore[no-any-return]
return (
settings["_GROUP_SHORT_NAME"]
if settings["_GROUP_SHORT_NAME"]
else (
Expand Down

0 comments on commit 60783fd

Please sign in to comment.