File tree 8 files changed +17
-12
lines changed
8 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
3
3
- repo : https://github.com/pre-commit/pre-commit-hooks
4
- rev : v4.4 .0
4
+ rev : v4.5 .0
5
5
hooks :
6
6
- id : check-yaml
7
7
- id : end-of-file-fixer
@@ -16,28 +16,28 @@ repos:
16
16
17
17
# General Project code formatter.
18
18
- repo : https://github.com/psf/black
19
- rev : 22.12 .0
19
+ rev : 24.1 .0
20
20
hooks :
21
21
- id : black
22
22
23
23
# Sorts python imports.
24
24
- repo : https://github.com/PyCQA/isort
25
25
# Note - on black update blacken-docs pin should also be updated.
26
- rev : 5.11.4
26
+ rev : 5.13.2
27
27
hooks :
28
28
- id : isort
29
29
args : ['--profile=black']
30
30
31
31
32
32
# Formats python docstrings.
33
33
- repo : https://github.com/PyCQA/docformatter
34
- rev : v1.5.1
34
+ rev : v1.7.5
35
35
hooks :
36
36
- id : docformatter
37
37
38
38
# Used to detect unintentionally unused code.
39
39
- repo : https://github.com/asottile/dead
40
- rev : v1.5.0
40
+ rev : v1.5.2
41
41
hooks :
42
42
- id : dead
43
43
args : [
46
46
47
47
# Lint code in pre-commit env, note: This ignores import checks.
48
48
- repo : https://github.com/PyCQA/pylint
49
- rev : v2.15.9
49
+ rev : v3.0.3
50
50
hooks :
51
51
- id : pylint
52
52
args : [
56
56
57
57
# Lint code for security flaws.
58
58
- repo : https://github.com/PyCQA/bandit
59
- rev : 1.7.4
59
+ rev : 1.7.7
60
60
hooks :
61
61
- id : bandit
62
62
args : [
67
67
# Lint docstrings.
68
68
- repo : https://github.com/PyCQA/pydocstyle
69
69
# Waiting for a 3.10 release on pypi
70
- rev : " 6.2 .0"
70
+ rev : " 6.3 .0"
71
71
hooks :
72
72
- id : pydocstyle
73
73
additional_dependencies :
76
76
77
77
# Static typehint linting.
78
78
- repo : https://github.com/pre-commit/mirrors-mypy
79
- rev : v0.991
79
+ rev : v1.8.0
80
80
hooks :
81
81
- id : mypy
Original file line number Diff line number Diff line change 1
- clipy-hooks == 0.2.0
1
+ clipy-hooks == 0.2.1
Original file line number Diff line number Diff line change 1
- pre-commit==2.21 .0
2
- pytest==7.2.0
1
+ pre-commit==3.6 .0
2
+ pytest==7.4.4
Original file line number Diff line number Diff line change 1
1
"""For building the project."""
2
+
2
3
from setuptools import setup
3
4
4
5
setup ()
Original file line number Diff line number Diff line change 1
1
"""Configuring pytest fixtures for use in the test suite."""
2
+
2
3
import pytest
3
4
from clipy_hooks .cli import Command
4
5
Original file line number Diff line number Diff line change 1
1
"""Module for checking the functionality of the arduino-cli hook."""
2
+
2
3
import contextlib
3
4
import os
4
5
from pathlib import Path
Original file line number Diff line number Diff line change 1
1
"""Module for checking the functionality of the arduino-lint hook."""
2
+
2
3
import contextlib
3
4
import os
4
5
from pathlib import Path
Original file line number Diff line number Diff line change 1
1
"""Tests the upstream sketch examples against applicable cli tools."""
2
+
2
3
import contextlib
3
4
import os
4
5
from pathlib import Path
You can’t perform that action at this time.
0 commit comments