aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml17
-rw-r--r--CHANGELOG.md14
-rw-r--r--README.md2
-rw-r--r--pyproject.toml4
-rw-r--r--tox.ini9
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()`
diff --git a/README.md b/README.md
index 708ad83..cf81e5d 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
> Manage and manipulate your configuration files
-[![Python 3.8.0|](https://img.shields.io/badge/python-3.8.0-blue.svg)](https://www.python.org/downloads/release/python-380/)
+![Python Verisons](https://img.shields.io/pypi/pyversions/config-file.svg)
[![Version](https://img.shields.io/pypi/v/config-file)](https://pypi.org/project/config-file/)
[![Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://pypi.org/project/black/)
[![Build Status](https://travis-ci.com/eugenetriguba/config_file.svg?branch=master)](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"
diff --git a/tox.ini b/tox.ini
index d94f733..eb607cf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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