Skip to content

Commit

Permalink
pre-commit auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 2, 2024
1 parent a9568da commit 60f6b49
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import os

import pytest

from monty.collections import AttrDict, FrozenAttrDict, Namespace, frozendict, tree

TEST_DIR = os.path.join(os.path.dirname(__file__), "test_files")
Expand Down
1 change: 1 addition & 0 deletions tests/test_design_patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from typing import Any

import pytest

from monty.design_patterns import cached_class, singleton


Expand Down
1 change: 1 addition & 0 deletions tests/test_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from unittest.mock import patch

import pytest

from monty.dev import deprecated, install_excepthook, requires

# Set all warnings to always be triggered.
Expand Down
1 change: 1 addition & 0 deletions tests/test_fractions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

import pytest

from monty.fractions import gcd, gcd_float, lcm


Expand Down
1 change: 1 addition & 0 deletions tests/test_functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import unittest

import pytest

from monty.functools import (
TimeoutError,
lazy_property,
Expand Down
1 change: 1 addition & 0 deletions tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from unittest.mock import patch

import pytest

from monty.io import (
FileLock,
FileLockException,
Expand Down
1 change: 1 addition & 0 deletions tests/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
ObjectId = None

import pytest

from monty.json import (
MontyDecoder,
MontyEncoder,
Expand Down
1 change: 1 addition & 0 deletions tests/test_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from pathlib import Path

import pytest

from monty.os import cd, makedirs_p
from monty.os.path import find_exts, zpath

Expand Down
1 change: 1 addition & 0 deletions tests/test_shutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from pathlib import Path

import pytest

from monty.shutil import (
compress_dir,
compress_file,
Expand Down
1 change: 1 addition & 0 deletions tests/test_tempfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import shutil

import pytest

from monty.tempfile import ScratchDir

TEST_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_files")
Expand Down

0 comments on commit 60f6b49

Please sign in to comment.