diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58543c8..4883ac3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-case-conflict - id: check-merge-conflict @@ -12,7 +12,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.17.0 hooks: - id: pyupgrade name: PyUpgrade 3.6+ @@ -20,22 +20,22 @@ repos: exclude: ^bin/ - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 7.1.1 hooks: - id: flake8 - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: [--profile, black] - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.8.0 hooks: - id: black - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.2.0 + rev: v2.5.0 hooks: - id: setup-cfg-fmt diff --git a/setup.cfg b/setup.cfg index 0ba0cce..eea394f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ url = https://github.com/pupil-labs/lsl-relay/ author = Pupil Labs GmbH author_email = info@pupil-labs.com license = MIT -license_file = LICENSE +license_files = LICENSE classifiers = Development Status :: 5 - Production/Stable Intended Audience :: Developers diff --git a/src/pupil_labs/lsl_relay/linear_time_model.py b/src/pupil_labs/lsl_relay/linear_time_model.py index 848b1d9..8c014d7 100644 --- a/src/pupil_labs/lsl_relay/linear_time_model.py +++ b/src/pupil_labs/lsl_relay/linear_time_model.py @@ -21,12 +21,10 @@ class TimeAlignmentModels: lsl_to_cloud: linear_model.LinearRegression @overload - def to_json(self, path: Union[str, Path]) -> None: - ... + def to_json(self, path: Union[str, Path]) -> None: ... @overload - def to_json(self, path: None) -> str: - ... + def to_json(self, path: None) -> str: ... def to_json(self, path: Union[None, str, Path] = None) -> Optional[str]: mapping_parameters = {