Skip to content

Commit

Permalink
Bump piped from 1bdcdb6 to afe35cb (#984)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>
Co-authored-by: FasterSpeeding <[email protected]>
  • Loading branch information
3 people authored Jan 1, 2025
1 parent 2af24da commit 80d37eb
Show file tree
Hide file tree
Showing 6 changed files with 254 additions and 257 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
echo "GIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_STATE
- name: Push
uses: JamesIves/github-pages-deploy-action@62fec3add6773ec5dbbf18d2ee4260911aa35cf4
uses: JamesIves/github-pages-deploy-action@15de0f09300eea763baee31dff6c6184995c5f6a
with:
branch: docs
commit-message: "${{ steps.doc_info.outputs.GIT_HASH }} docs (${{ github.event.release.tag_name || github.event.ref }})"
Expand Down
2 changes: 1 addition & 1 deletion piped
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ ignore = [
"FIX002", # Line contains TODO, consider resolving the issue
"I001", # [*] Import block is un-sorted or un-formatted
"N818", # Exception name `FailedModuleUnload` should be named with an Error suffix
"PGH003", # Use specific rule codes when ignoring type issues
"PYI041", # Use `float` instead of `int | float`
"S101", # Use of `assert` detected
"SIM105", # Use `contextlib.suppress(Error)` instead of `try`-`except`-`pass`
Expand Down Expand Up @@ -164,7 +165,6 @@ ignore = [
"FBT002", # Boolean default positional argument in function definition
"FBT003", # Boolean positional value in function call
"PLR0915", # Too many statements
"PGH003", # Use specific rule codes when ignoring type issues
"PLR2004", # Magic value used in comparison, consider replacing `` with a constant variable
"SLF001", # Private member accessed: ``
]
Expand All @@ -191,13 +191,11 @@ ignore = [
]
"tests/test_components_future_annotations.py" = [
"B008", # Do not perform function call `` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
"PGH003", # Use specific rule codes when ignoring type issues
"PLW0603", # Using the global statement to update `` is discouraged
"UP007", # [*] Use `X | Y` for type annotations
]
"tests/test_components.py" = [
"B008", # Do not perform function call `` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
"PGH003", # Use specific rule codes when ignoring type issues
"UP007", # [*] Use `X | Y` for type annotations
]
"tests/test_schedules.py" = [
Expand Down
2 changes: 1 addition & 1 deletion tanjun/commands/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ def __init__(
self._names = names
self._parent: tanjun.SlashCommandGroup | None = None
self._tracked_command: hikari.ContextMenuCommand | None = None
self._type: _MenuTypeT = type_ # MyPy bug causes this to need an explicit annotation.
self._type: _MenuTypeT = type_ # type: ignore
self._wrapped_command = _wrapped_command

if typing.TYPE_CHECKING:
Expand Down
2 changes: 1 addition & 1 deletion tanjun/dependencies/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ async def resolve(
if (value := constant.get_value()) is not None:
return value

result = await ctx.call_with_async_di(constant.callback) # type: ignore # noqa: PGH003
result = await ctx.call_with_async_di(constant.callback) # type: ignore
constant.set_value(result)
return result

Expand Down
Loading

0 comments on commit 80d37eb

Please sign in to comment.