Skip to content

Commit 78aff29

Browse files
committed
Bumping dependencies and pre-commit hooks.
1 parent 5b74c3e commit 78aff29

8 files changed

+17
-12
lines changed

.pre-commit-config.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22

33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.4.0
4+
rev: v4.5.0
55
hooks:
66
- id: check-yaml
77
- id: end-of-file-fixer
@@ -16,28 +16,28 @@ repos:
1616

1717
# General Project code formatter.
1818
- repo: https://github.com/psf/black
19-
rev: 22.12.0
19+
rev: 24.1.0
2020
hooks:
2121
- id: black
2222

2323
# Sorts python imports.
2424
- repo: https://github.com/PyCQA/isort
2525
# Note - on black update blacken-docs pin should also be updated.
26-
rev: 5.11.4
26+
rev: 5.13.2
2727
hooks:
2828
- id: isort
2929
args: ['--profile=black']
3030

3131

3232
# Formats python docstrings.
3333
- repo: https://github.com/PyCQA/docformatter
34-
rev: v1.5.1
34+
rev: v1.7.5
3535
hooks:
3636
- id: docformatter
3737

3838
# Used to detect unintentionally unused code.
3939
- repo: https://github.com/asottile/dead
40-
rev: v1.5.0
40+
rev: v1.5.2
4141
hooks:
4242
- id: dead
4343
args: [
@@ -46,7 +46,7 @@ repos:
4646

4747
# Lint code in pre-commit env, note: This ignores import checks.
4848
- repo: https://github.com/PyCQA/pylint
49-
rev: v2.15.9
49+
rev: v3.0.3
5050
hooks:
5151
- id: pylint
5252
args: [
@@ -56,7 +56,7 @@ repos:
5656

5757
# Lint code for security flaws.
5858
- repo: https://github.com/PyCQA/bandit
59-
rev: 1.7.4
59+
rev: 1.7.7
6060
hooks:
6161
- id: bandit
6262
args: [
@@ -67,7 +67,7 @@ repos:
6767
# Lint docstrings.
6868
- repo: https://github.com/PyCQA/pydocstyle
6969
# Waiting for a 3.10 release on pypi
70-
rev: "6.2.0"
70+
rev: "6.3.0"
7171
hooks:
7272
- id: pydocstyle
7373
additional_dependencies:
@@ -76,6 +76,6 @@ repos:
7676

7777
# Static typehint linting.
7878
- repo: https://github.com/pre-commit/mirrors-mypy
79-
rev: v0.991
79+
rev: v1.8.0
8080
hooks:
8181
- id: mypy

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
clipy-hooks==0.2.0
1+
clipy-hooks==0.2.1

requirements_development.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pre-commit==2.21.0
2-
pytest==7.2.0
1+
pre-commit==3.6.0
2+
pytest==7.4.4

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""For building the project."""
2+
23
from setuptools import setup
34

45
setup()

tests/conftest.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Configuring pytest fixtures for use in the test suite."""
2+
23
import pytest
34
from clipy_hooks.cli import Command
45

tests/test_arduino_cli.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Module for checking the functionality of the arduino-cli hook."""
2+
23
import contextlib
34
import os
45
from pathlib import Path

tests/test_arduino_lint.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Module for checking the functionality of the arduino-lint hook."""
2+
23
import contextlib
34
import os
45
from pathlib import Path

tests/test_sketch_behaviour.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests the upstream sketch examples against applicable cli tools."""
2+
23
import contextlib
34
import os
45
from pathlib import Path

0 commit comments

Comments
 (0)