forked from jazkarta/obsolete-ccx-keys
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Python code cleanup by the cleanup-python-code Jenkins job. This pull request was generated by the cleanup-python-code Jenkins job, which ran ``` modernize_travis;modernize_tox;make upgrade;find . -type f -name '*.py' | while read fname; do pyupgrade --exit-zero-even-if-changed --keep-percent-format --py3-plus --py36-plus --py38-plus "$fname"; done ``` The following packages were installed: `pyupgrade,git+https://github.com/edx/repo-tools.git@c05453b733602ba7a2224ffbbf58a8d0903b62d8` * Drop Python 3.5 Co-authored-by: Zulqarnain <[email protected]>
- Loading branch information
1 parent
d41cce9
commit 07c74fc
Showing
10 changed files
with
85 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
""" | ||
Package metadata for edx-ccx-keys. | ||
""" | ||
from io import open | ||
|
||
from setuptools import setup | ||
|
||
|
@@ -35,7 +33,7 @@ def is_requirement(line): | |
|
||
setup( | ||
name='edx-ccx-keys', | ||
version='1.1.0', | ||
version='1.2.0', | ||
author='edX', | ||
author_email='[email protected]', | ||
description='Opaque key support custom courses on edX', | ||
|
@@ -49,7 +47,6 @@ def is_requirement(line): | |
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.8', | ||
], | ||
packages=[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
[tox] | ||
envlist = py{35,38},quality | ||
envlist = py38,quality | ||
|
||
[testenv] | ||
deps = | ||
-r{toxinidir}/requirements/test.txt | ||
|
||
commands = | ||
coverage run -m nose | ||
coverage report -m | ||
deps = | ||
-r{toxinidir}/requirements/test.txt | ||
commands = | ||
coverage run -m nose | ||
coverage report -m | ||
|
||
[testenv:quality] | ||
commands = | ||
pycodestyle --config=.pep8 ccx_keys | ||
pylint --rcfile=pylintrc ccx_keys | ||
commands = | ||
pycodestyle --config=.pep8 ccx_keys | ||
pylint --rcfile=pylintrc ccx_keys | ||
|