aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-06-20 15:35:05 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-06-20 15:35:05 -0500
commit3fc0b5a1a4281b21132ceb2fb6b1859c55be6e04 (patch)
treeb1aed875812ce8bd99e3ef5d4c648ab4bc8f5963 /tests
parentRevert Python 3.5 support (diff)
downloadconfig-file-3fc0b5a1a4281b21132ceb2fb6b1859c55be6e04.zip
Add more type hints to ConfigFile and lint all files
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ini_parser.py2
-rw-r--r--tests/test_json_parser.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ini_parser.py b/tests/test_ini_parser.py
index 1b2fd3b..fb92373 100644
--- a/tests/test_ini_parser.py
+++ b/tests/test_ini_parser.py
@@ -1,7 +1,7 @@
import pytest
-from config_file.parsers.ini_parser import IniParser
from config_file.exceptions import ParsingError
+from config_file.parsers.ini_parser import IniParser
@pytest.mark.parametrize("ini_file", ["blahblahblah", "{ 'key1': 5 }"])
diff --git a/tests/test_json_parser.py b/tests/test_json_parser.py
index 9a8ac09..42a0ba9 100644
--- a/tests/test_json_parser.py
+++ b/tests/test_json_parser.py
@@ -2,8 +2,8 @@ import json
import pytest
-from config_file.parsers.json_parser import JsonParser
from config_file.exceptions import ParsingError
+from config_file.parsers.json_parser import JsonParser
@pytest.mark.parametrize("test_json", ["{'test': }", "[section]\nblah = value\n\n"])