Skip to content

Commit 1955dd3

Browse files
committed
👷 Upgrade pre-commit versions
1 parent 3681bc4 commit 1955dd3

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
exclude: ^(octoprint_pi_support/translations|extras/|translations/|.*\.css|.*\.svg)
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.1.0
4+
rev: v4.4.0
55
hooks:
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
@@ -13,7 +13,7 @@ repos:
1313
- id: fix-encoding-pragma
1414
args: ["--remove"]
1515
- repo: https://github.com/asottile/pyupgrade
16-
rev: v2.31.0
16+
rev: v3.3.1
1717
hooks:
1818
- id: pyupgrade
1919
args: ["--py37-plus"]
@@ -26,24 +26,24 @@ repos:
2626
hooks:
2727
- id: isort
2828
- repo: https://github.com/psf/black
29-
rev: 22.1.0
29+
rev: 23.1.0
3030
hooks:
3131
- id: black
3232
args: ["--config", "black.toml"]
3333
additional_dependencies:
3434
- click==8.0.4
3535
- repo: https://github.com/pycqa/flake8
36-
rev: 3.9.2
36+
rev: 6.0.0
3737
hooks:
3838
- id: flake8
3939
additional_dependencies:
4040
- flake8-bugbear
4141
- repo: https://github.com/pre-commit/mirrors-prettier
42-
rev: v2.5.1
42+
rev: v3.0.0-alpha.4
4343
hooks:
4444
- id: prettier
4545
- repo: https://github.com/pre-commit/mirrors-eslint
46-
rev: v8.8.0
46+
rev: v8.33.0
4747
hooks:
4848
- id: eslint
4949
additional_dependencies:

octoprint_pi_support/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ class PiSupportPlugin(
264264
octoprint.plugin.StartupPlugin,
265265
octoprint.plugin.SettingsPlugin,
266266
):
267-
268267
# noinspection PyMissingConstructor
269268
def __init__(self):
270269
self._throttle_state = ThrottleState()

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ universal = 1
66

77
[flake8]
88
max-line-length = 90
9-
extend-ignore = E203, E231, E265, E266, E402, E501, E731
9+
extend-ignore = E203, E231, E265, E266, E402, E501, E731, B950, W503, W504, W605
1010
select = B,C,E,F,W,T4,B9
1111

1212
[isort]

0 commit comments

Comments
 (0)