Skip to content

Commit

Permalink
Merge pull request #19 from tekktrik/dev/pre-commit-patch
Browse files Browse the repository at this point in the history
Updated pre-commit, linted
  • Loading branch information
dhalbert authored May 11, 2023
2 parents 3d3c316 + accbb99 commit f8ab718
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@

repos:
- repo: https://github.com/python/black
rev: 22.3.0
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/fsfe/reuse-tool
rev: v0.14.0
rev: v1.1.2
hooks:
- id: reuse
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/pylint
rev: v2.15.5
rev: v2.17.4
hooks:
- id: pylint
name: pylint (library code)
Expand Down
3 changes: 3 additions & 0 deletions examples/ov5640_directio_kaluga1_3_ili9341.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ def test_modes(cam_obj):


def main():
deadline = 0
effects = iter((None,))

display.auto_refresh = False
display_bus.send(42, struct.pack(">hh", 0, bitmap.width - 1))
display_bus.send(43, struct.pack(">hh", 0, bitmap.height - 1))
Expand Down

0 comments on commit f8ab718

Please sign in to comment.