Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 11, 2022
1 parent b5438e1 commit 131e2c8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
8 changes: 7 additions & 1 deletion tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@
except ImportError:
Path = None # type: ignore

from monty.io import FileLock, FileLockException, reverse_readfile, reverse_readline, zopen
from monty.io import (
FileLock,
FileLockException,
reverse_readfile,
reverse_readline,
zopen,
)

test_dir = os.path.join(os.path.dirname(__file__), "test_files")

Expand Down
10 changes: 9 additions & 1 deletion tests/test_shutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@
import unittest
from gzip import GzipFile

from monty.shutil import compress_dir, compress_file, copy_r, decompress_dir, decompress_file, gzip_dir, remove
from monty.shutil import (
compress_dir,
compress_file,
copy_r,
decompress_dir,
decompress_file,
gzip_dir,
remove,
)

test_dir = os.path.join(os.path.dirname(__file__), "test_files")

Expand Down
8 changes: 7 additions & 1 deletion tests/test_termcolor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@
import sys
import unittest

from monty.termcolor import cprint, cprint_map, enable, get_terminal_size, stream_has_colours
from monty.termcolor import (
cprint,
cprint_map,
enable,
get_terminal_size,
stream_has_colours,
)


class FuncTest(unittest.TestCase):
Expand Down

0 comments on commit 131e2c8

Please sign in to comment.