Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Commit

Permalink
Require Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
spbnick committed Feb 14, 2019
1 parent e767e96 commit 20465cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
@@ -1,7 +1,7 @@
language: python
dist: xenial
python:
- "2.7"
- "3.6"
- "3.7"
env:
- TOX_ENV=flake8,pylint
install:
Expand Down
8 changes: 2 additions & 6 deletions setup.cfg
Expand Up @@ -11,19 +11,15 @@ classifiers =
License :: OSI Approved :: GPLv2+
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Topic :: Software Development :: Libraries :: Python Modules

[options]
# Automatically find all files beneath the kpet directory and include them.
packages = find:
# Parse the MANIFEST.in file and include those files, too.
include_package_data = True
python_requires = >= 2.7, != 3.0.*, != 3.1.*, != 3.2.*
python_requires = ~=3.7
test_suite = tests
install_requires = requests
Jinja2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright (c) 2018 Red Hat, Inc. All rights reserved. This copyrighted
# material is made available to anyone wishing to use, modify, copy, or
# redistribute it subject to the terms and conditions of the GNU General
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -17,15 +17,15 @@ commands =
[testenv:flake8]
passenv = CI TRAVIS TRAVIS_*
basepython =
python2.7
python3.7
whitelist_externals = flake8
commands =
flake8 --show-source .

[testenv:pylint]
passenv = CI TRAVIS TRAVIS_*
basepython =
python2.7
python3.7
whitelist_externals = pylint
commands =
# Disable R0801 in pylint that checks for duplicate content in multiple
Expand Down

0 comments on commit 20465cf

Please sign in to comment.