Skip to content

Commit f8ab718

Browse files
authored
Merge pull request #19 from tekktrik/dev/pre-commit-patch
Updated pre-commit, linted
2 parents 3d3c316 + accbb99 commit f8ab718

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44

55
repos:
66
- repo: https://github.com/python/black
7-
rev: 22.3.0
7+
rev: 23.3.0
88
hooks:
99
- id: black
1010
- repo: https://github.com/fsfe/reuse-tool
11-
rev: v0.14.0
11+
rev: v1.1.2
1212
hooks:
1313
- id: reuse
1414
- repo: https://github.com/pre-commit/pre-commit-hooks
15-
rev: v4.2.0
15+
rev: v4.4.0
1616
hooks:
1717
- id: check-yaml
1818
- id: end-of-file-fixer
1919
- id: trailing-whitespace
2020
- repo: https://github.com/pycqa/pylint
21-
rev: v2.15.5
21+
rev: v2.17.4
2222
hooks:
2323
- id: pylint
2424
name: pylint (library code)

examples/ov5640_directio_kaluga1_3_ili9341.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ def test_modes(cam_obj):
176176

177177

178178
def main():
179+
deadline = 0
180+
effects = iter((None,))
181+
179182
display.auto_refresh = False
180183
display_bus.send(42, struct.pack(">hh", 0, bitmap.width - 1))
181184
display_bus.send(43, struct.pack(">hh", 0, bitmap.height - 1))

0 commit comments

Comments
 (0)