Skip to content

Commit

Permalink
Update pre-commit repos
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Aug 9, 2024
1 parent d09cdb3 commit d550551
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
exclude: 'README.md'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.1.0
rev: v3.13.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.14.3
rev: 0.29.1
hooks:
- id: check-github-workflows
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 7.1.1
hooks:
- id: flake8
2 changes: 1 addition & 1 deletion heisenbridge/channel_room.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def on_endofnames(self, conn, event) -> None:
self.send_notice(f"Users: {', '.join(others)}")

if self.member_sync == "full":
for (irc_user_id, nick) in to_add:
for irc_user_id, nick in to_add:
self._add_puppet(nick)
else:
self.send_notice(f"Member sync is set to {self.member_sync}, skipping invites.")
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ test =

[flake8]
max-line-length = 132
extend-ignore = E203
extend-ignore = E203, E721

0 comments on commit d550551

Please sign in to comment.