Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ ci:

repos:
- repo: https://github.com/psf/black
rev: 23.9.1
rev: 24.10.0
hooks:
- id: black
name: Running black in all files.

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--extend-skip", "examples"]
Expand All @@ -23,7 +23,7 @@ repos:
files: ^examples/

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-ast
name: Check if python files are valid syntax for the ast parser
Expand Down
3 changes: 1 addition & 2 deletions nextcord/ext/menus/menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ def action(self, value: Callable[..., Coroutine[Any, Any, Any]]):
def __call__(self, menu: "Menu", payload: nextcord.RawReactionActionEvent):
if self.skip_if is not None and self.skip_if(menu):

async def dummy():
...
async def dummy(): ...

return dummy()
return self._action(menu, payload)
Expand Down
Loading