Skip to content
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
12 changes: 6 additions & 6 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: v6.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.21.2
hooks:
- id: pyupgrade
name: PyUpgrade 3.6+
args: ["--py36-plus"]
exclude: ^bin/

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

- repo: https://github.com/psf/black
rev: 23.1.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
hooks:
- id: black

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.2.0
rev: v3.2.0
hooks:
- id: setup-cfg-fmt
args: ["--min-py3-version", "3.6"]
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
Loading