Skip to content

Commit

Permalink
Merge branch 'orjson_integration' of https://github.com/munrojm/monty
Browse files Browse the repository at this point in the history
…into orjson_integration
  • Loading branch information
munrojm committed Mar 11, 2022
2 parents a01a6aa + 131e2c8 commit 4d37690
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
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
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
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 4d37690

Please sign in to comment.