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

Merged
merged 3 commits into from
Oct 30, 2023
Merged
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 @@ -5,7 +5,7 @@ ci:

repos:
- repo: https://github.com/asottile/add-trailing-comma.git
rev: v3.0.0
rev: v3.1.0
hooks:
- id: add-trailing-comma

Expand All @@ -20,7 +20,7 @@ repos:
types: [file]

- repo: https://github.com/Lucas-C/pre-commit-hooks.git
rev: v1.5.1
rev: v1.5.4
hooks:
- id: remove-tabs

Expand Down Expand Up @@ -84,7 +84,7 @@ repos:
- --strict

- repo: https://github.com/PyCQA/flake8.git
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
alias: flake8-no-wps
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/version_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ def test_dunder_version():

def test_dunder_version_info():
"""Check that the version info tuple looks legitimate."""
assert type(__version_info__) == tuple # noqa: WPS516
assert isinstance(__version_info__, tuple)
assert len(__version_info__) >= 3
assert all(
type(digit) == int # noqa: WPS516
isinstance(digit, int)
for digit in __version_info__[:2]
)

Expand Down