Skip to content

Commit daf5329

Browse files
authored
refactor: update pre-commit hooks (#136)
1 parent 21f817d commit daf5329

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ fail_fast: true
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.4.0
5+
rev: v4.5.0
66
hooks:
77
- id: check-ast
88
- id: check-json
@@ -14,43 +14,43 @@ repos:
1414
- id: trailing-whitespace
1515

1616
- repo: https://github.com/PyCQA/isort
17-
rev: 5.12.0
17+
rev: 5.13.2
1818
hooks:
1919
- id: isort
2020
args: ["--profile", "black"]
2121

2222
- repo: https://github.com/asottile/pyupgrade
23-
rev: v3.10.1
23+
rev: v3.15.0
2424
hooks:
2525
- id: pyupgrade
2626

2727
- repo: https://github.com/psf/black
28-
rev: 23.7.0
28+
rev: 24.1.1
2929
hooks:
3030
- id: black
3131
args: [--line-length=120]
3232

3333
- repo: https://github.com/PyCQA/flake8
34-
rev: 6.1.0
34+
rev: 7.0.0
3535
hooks:
3636
- id: flake8
3737
args: [--max-line-length=120]
3838

3939
- repo: https://github.com/PyCQA/bandit
40-
rev: '1.7.5'
40+
rev: '1.7.7'
4141
hooks:
4242
- id: bandit
4343
exclude: tests/
4444

4545
- repo: https://github.com/astral-sh/ruff-pre-commit
4646
# Ruff version.
47-
rev: v0.0.285
47+
rev: v0.1.15
4848
hooks:
4949
- id: ruff
5050
args: [--line-length=120]
5151

5252
- repo: https://github.com/pre-commit/mirrors-mypy
53-
rev: v1.5.1
53+
rev: v1.8.0
5454
hooks:
5555
- id: mypy
5656
additional_dependencies: [types-requests]

tests/fixtures/responses.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ def test_client_get_sectors_status(server):
1717
# Continue with the test...
1818
"""
1919

20-
2120
LOGIN = """
2221
{
2322
"SessionId": "00000000-0000-0000-0000-000000000000",

0 commit comments

Comments
 (0)