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 #146

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
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -28,29 +28,29 @@ repos:
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 7.1.1
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.14.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/asottile/pyupgrade
rev: v2.29.1
rev: v3.19.1
hooks:
- id: pyupgrade
args: ['--py36-plus']
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.2.1
rev: v3.1.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
2 changes: 1 addition & 1 deletion slackbridge/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down