Improve CI: drop testing pytest master on py27, use py37

* Use Python 3.7 as preferred Python 3 interpreter
* Do not test pytest `master` and `features` branches on
  Python 2.7, as those branches no longer support Python 2.7/3.4
This commit is contained in:
Bruno Oliveira
2019-06-06 16:57:04 -03:00
parent 9fcf8fa636
commit abec5e60a2
4 changed files with 17 additions and 23 deletions

View File

@@ -4,7 +4,7 @@ repos:
hooks:
- id: black
args: [--safe, --quiet]
language_version: python3.6
language_version: python3.7
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0
hooks:
@@ -21,4 +21,4 @@ repos:
files: ^(CHANGELOG.rst|HOWTORELEASE.rst|README.rst|changelog/.*)$
language: python
additional_dependencies: [pygments, restructuredtext_lint]
python_version: python3.6
python_version: python3.7