From 9cafc21d3ffcf12f5eff499872d16cb0a79e625f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 20:36:04 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v5.0.0) - [github.com/PyCQA/flake8: 4.0.1 → 7.3.0](https://github.com/PyCQA/flake8/compare/4.0.1...7.3.0) - https://github.com/pre-commit/mirrors-autopep8 → https://github.com/hhatto/autopep8 - [github.com/hhatto/autopep8: v1.5.7 → v2.3.2](https://github.com/hhatto/autopep8/compare/v1.5.7...v2.3.2) - https://github.com/asottile/reorder_python_imports → https://github.com/asottile/reorder-python-imports - [github.com/asottile/reorder-python-imports: v2.6.0 → v3.15.0](https://github.com/asottile/reorder-python-imports/compare/v2.6.0...v3.15.0) - [github.com/asottile/pyupgrade: v2.29.1 → v3.20.0](https://github.com/asottile/pyupgrade/compare/v2.29.1...v3.20.0) - [github.com/asottile/add-trailing-comma: v2.2.1 → v3.2.0](https://github.com/asottile/add-trailing-comma/compare/v2.2.1...v3.2.0) - [github.com/Lucas-C/pre-commit-hooks: v1.1.10 → v1.5.5](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.1.10...v1.5.5) --- .pre-commit-config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c4e1947..cc2476b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: ^vendor/|^\.activate.sh repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -28,29 +28,29 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.3.0 hooks: - id: flake8 -- repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.5.7 +- repo: https://github.com/hhatto/autopep8 + rev: v2.3.2 hooks: - id: autopep8 -- repo: https://github.com/asottile/reorder_python_imports - rev: v2.6.0 +- repo: https://github.com/asottile/reorder-python-imports + rev: v3.15.0 hooks: - id: reorder-python-imports - repo: https://github.com/asottile/pyupgrade - rev: v2.29.1 + rev: v3.20.0 hooks: - id: pyupgrade args: ['--py36-plus'] - repo: https://github.com/asottile/add-trailing-comma - rev: v2.2.1 + rev: v3.2.0 hooks: - id: add-trailing-comma args: ['--py36-plus'] - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.1.10 + rev: v1.5.5 hooks: - id: remove-tabs - id: remove-crlf From 56aa4f4936e84584f0a3d2d4896ad015af14cae7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 20:36:27 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- slackbridge/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slackbridge/main.py b/slackbridge/main.py index 6ebe3e0..e60a908 100644 --- a/slackbridge/main.py +++ b/slackbridge/main.py @@ -85,7 +85,7 @@ def main() -> None: channel['members'] += results['members'] # Make sure all members have been added successfully - assert(len(channel['members']) >= channel['num_members']) + assert (len(channel['members']) >= channel['num_members']) # Get all users from Slack, but don't select bots, deactivated users, or # slackbot, since they don't need IRC bots (they aren't users)