diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dc2d859..c8d93c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/heisenbridge/channel_room.py b/heisenbridge/channel_room.py index c1e792c..c603f36 100644 --- a/heisenbridge/channel_room.py +++ b/heisenbridge/channel_room.py @@ -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.") diff --git a/setup.cfg b/setup.cfg index eb69ccf..40994f7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,4 +38,4 @@ test = [flake8] max-line-length = 132 -extend-ignore = E203 +extend-ignore = E203, E721