Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 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.4.0
rev: v5.0.0
hooks:
- id: check-case-conflict
- id: check-merge-conflict
Expand All @@ -12,25 +12,25 @@ repos:
- id: trailing-whitespace

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

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

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

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.2.0
rev: v2.7.0
hooks:
- id: setup-cfg-fmt
args: ["--min-py3-version", "3.6"]
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ url = https://github.com/pupil-labs/surface-tracker
author = Pupil Labs GmbH
author_email = [email protected]
license = LGPL-3.0
license_file = LICENSE
license_files = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

from setuptools import setup

setup(
Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

from . import utils
from .camera import Camera
from .coordinate_space import CoordinateSpace
Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/coordinate_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import enum


Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/corner.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import enum
import typing as T

Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import enum
import typing as T

Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/image_crop.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import typing as T

import cv2
Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import abc
import logging
import typing as T
Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/marker.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import abc
import typing as T

Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/orientation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

from .corner import CornerId


Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import abc
import collections
import logging
Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import logging
import typing as T

Expand Down
1 change: 1 addition & 0 deletions src/surface_tracker/visual_anchors.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import typing as T

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_corner.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import pytest

from surface_tracker.corner import CornerId
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import pytest

from surface_tracker.utils import left_rotation, right_rotation
Expand Down
1 change: 1 addition & 0 deletions update_license_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
See LICENSE for license details.
---------------------------------------------------------------------------~(*)
"""

import fnmatch
import os
import re
Expand Down