Skip to content

Commit

Permalink
Merge pull request #146 from pupil-labs/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
papr authored Feb 7, 2023
2 parents 78ecde3 + caaf836 commit 57cd635
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-case-conflict
- id: check-merge-conflict
Expand All @@ -12,24 +12,25 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/asottile/pyupgrade
rev: v2.37.3
rev: v3.3.1
hooks:
- id: pyupgrade
name: PyUpgrade 3.6+
args: ["--py36-plus"]
exclude: ^bin/

- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 22.6.0
rev: 23.1.0
hooks:
- id: black

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.0.0
rev: v2.2.0
hooks:
- id: setup-cfg-fmt
args: ["--min-py3-version", "3.6"]
3 changes: 0 additions & 3 deletions example/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def _draw_circle_filled(screen_point, size: float, color: RGBA, num_points: int


def _draw_circle_marker_polygon(position):

r2 = 2
screen_point = position

Expand Down Expand Up @@ -130,7 +129,6 @@ def _draw_circle_marker_polygon(position):


def _draw_circle_marker_pointshader(position):

r2 = 2 * 2
screen_point = position
alpha = 1
Expand Down Expand Up @@ -230,7 +228,6 @@ def on_close(window):
t_poll = Timer()

while not quit:

with t_pointshader:
_draw_circle_marker_pointshader((320, 320))
with t_polygon:
Expand Down

0 comments on commit 57cd635

Please sign in to comment.