diff options
| -rw-r--r-- | .travis.yml | 17 | ||||
| -rw-r--r-- | CHANGELOG.md | 14 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | pyproject.toml | 4 | ||||
| -rw-r--r-- | tox.ini | 9 |
5 files changed, 27 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml index 21aebf9..603bc53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,10 @@ language: python +os: linux -stages: - - test +python: + - "3.6" + - "3.7" + - "3.8" -matrix: - include: - - stage: test - python: 3.8 - install: pip install --upgrade pip tox poetry codecov - script: tox - env: - TOXENV: py38
\ No newline at end of file +install: pip install --upgrade pip tox-travis poetry codecov +script: tox
\ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b9f3bbd..9df2ae4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +Changed + + - Bumped down python version requirement to 3.6. + ## 0.5.0 - 2020-01-19 - - Add support for retrieving entire sections as a `dict` with `get()`. +Added + + - Support for retrieving entire sections as a `dict` with `get()`. ## 0.4.0 - 2020-01-19 - - Add `reset()` and `save()` methods to `ConfigFile`. This allows you to reset your +Added + + - `reset()` and `save()` methods to `ConfigFile`. This allows you to reset your configuration file to an "original state," given the original config file path. However, say you have a `config/config.json` file. Then it will automatically try to look for `config/config.original.json` if no file path is specified. The `save()` @@ -2,7 +2,7 @@ > Manage and manipulate your configuration files -[](https://www.python.org/downloads/release/python-380/) + [](https://pypi.org/project/config-file/) [](https://pypi.org/project/black/) [](https://travis-ci.com/eugenetriguba/config_file) diff --git a/pyproject.toml b/pyproject.toml index 2f38381..19aac32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,13 +11,13 @@ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ] [tool.poetry.dependencies] -python = "^3.8" +python = "^3.6" toml = "^0.10.0" pyyaml = "^5.2" @@ -1,12 +1,13 @@ [tox] isolated_build = true -envlist = py38 +envlist = py{36, 37, 38} +recreate = True [testenv] -passenv = CI TRAVIS TRAVIS_* -deps = codecov +passenv = TOXENV CI TRAVIS TRAVIS_* CODECOV_* +deps = codecov>=1.4.0 whitelist_externals = poetry commands = poetry install -v poetry run pytest --cov=config_file/ tests/ - codecov
\ No newline at end of file + codecov -e TOXENV
\ No newline at end of file |