From 89054cb5c8c2d37a1b644a96cf98d8da06468518 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 20:19:23 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- oteapi_asmod/strategies/function.py | 1 + oteapi_asmod/strategies/parse.py | 1 + setup.py | 1 + tasks.py | 1 + tests/conftest.py | 1 + 5 files changed, 5 insertions(+) diff --git a/oteapi_asmod/strategies/function.py b/oteapi_asmod/strategies/function.py index c80724d..921f355 100644 --- a/oteapi_asmod/strategies/function.py +++ b/oteapi_asmod/strategies/function.py @@ -1,4 +1,5 @@ """Function strategy class for mapping ase.Atoms to dlite metadata.""" + # pylint: disable=no-self-use,unused-argument import pathlib from dataclasses import dataclass diff --git a/oteapi_asmod/strategies/parse.py b/oteapi_asmod/strategies/parse.py index 6824381..694ec65 100644 --- a/oteapi_asmod/strategies/parse.py +++ b/oteapi_asmod/strategies/parse.py @@ -1,4 +1,5 @@ """Demo strategy class for text/json.""" + # pylint: disable=no-self-use,unused-argument from dataclasses import dataclass from typing import TYPE_CHECKING, Optional diff --git a/setup.py b/setup.py index 17021d0..e8d228e 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """Setup for OTE-API AtomScale MODels.""" + import re from pathlib import Path diff --git a/tasks.py b/tasks.py index b41ab8a..5bd447e 100644 --- a/tasks.py +++ b/tasks.py @@ -2,6 +2,7 @@ More information on `invoke` can be found at http://www.pyinvoke.org/. """ + # pylint: disable=import-outside-toplevel,too-many-locals import re import sys diff --git a/tests/conftest.py b/tests/conftest.py index 70c0030..3f4c5a3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,5 @@ """Pytest fixtures for `strategies/`.""" + from pathlib import Path import pytest