From aa44fe7a60a4f3326cc47877b3e246b56d46d6ac Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 20 Jun 2020 13:41:35 -0500 Subject: Add python 3.5 support, ConfigFileError, and more type hints Also, get_all, set_all, and delete_all in JsonParser have been renamed to just all. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 1098700..1a1512f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = true -envlist = py{36, 37, 38} +envlist = py{35, 36, 37, 38} recreate = True [testenv] -- cgit v1.2.3 From 8d377a1edf2ac2343fa374cb51a07a72a0316ed2 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 20 Jun 2020 13:47:27 -0500 Subject: Remove taskipy from tox & add default to parser in __determine_parser Taskipy uses f-strings which break on 3.5. --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 1a1512f..6b849bc 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,6 @@ deps = codecov>=1.4.0 whitelist_externals = poetry commands = poetry install -v --no-dev -E toml -E yaml - pip install pytest pytest-cov requests taskipy - poetry run task test + pip install pytest pytest-cov requests + poetry run pytest -v --cov=config_file/ --cov-report term-missing tests/ codecov -e TOXENV -- cgit v1.2.3 From 58808235ea6880c3a0ecfa976a700c81431dc902 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 20 Jun 2020 15:30:11 -0500 Subject: Revert Python 3.5 support --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 6b849bc..1098700 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = true -envlist = py{35, 36, 37, 38} +envlist = py{36, 37, 38} recreate = True [testenv] @@ -9,6 +9,6 @@ deps = codecov>=1.4.0 whitelist_externals = poetry commands = poetry install -v --no-dev -E toml -E yaml - pip install pytest pytest-cov requests - poetry run pytest -v --cov=config_file/ --cov-report term-missing tests/ + pip install pytest pytest-cov requests taskipy + poetry run task test codecov -e TOXENV -- cgit v1.2.3 From ca7482827d61bc22bf255258fd0a5397aff63969 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 20 Jun 2020 16:14:00 -0500 Subject: Remove travis and tox in favor of github actions --- tox.ini | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 tox.ini (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 1098700..0000000 --- a/tox.ini +++ /dev/null @@ -1,14 +0,0 @@ -[tox] -isolated_build = true -envlist = py{36, 37, 38} -recreate = True - -[testenv] -passenv = TOXENV CI TRAVIS TRAVIS_* CODECOV_* -deps = codecov>=1.4.0 -whitelist_externals = poetry -commands = - poetry install -v --no-dev -E toml -E yaml - pip install pytest pytest-cov requests taskipy - poetry run task test - codecov -e TOXENV -- cgit v1.2.3