-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pep8 standards. Format code with flake8 and isort
- Loading branch information
1 parent
df39912
commit 3d4beaa
Showing
7 changed files
with
103 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[flake8] | ||
max-line-length=127 |
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,4 +1,4 @@ | ||
{ | ||
"username": "<username>", | ||
"password": "<password>" | ||
} | ||
} |
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,2 +1,2 @@ | ||
beautifulsoup4==4.7.1 | ||
requests==2.21.0 | ||
requests==2.21.0 |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
isort==5.9.3 | ||
flake8==3.9.2 |
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,24 +1,24 @@ | ||
# Always prefer setuptools over distutils | ||
from setuptools import setup, find_packages | ||
# To use a consistent encoding | ||
from codecs import open | ||
from os import path | ||
|
||
from setuptools import find_packages, setup | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
# Get the long description from the README file | ||
with open(path.join(here, 'README.md'), encoding='utf-8') as f: | ||
with open(path.join(here, "README.md"), encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name='kcpl', | ||
version='0.0.2', | ||
description='A utility that reads electric utility meter data from KCPL.com', | ||
name="kcpl", | ||
version="0.0.2", | ||
description="A utility that reads electric utility meter data from KCPL.com", | ||
long_description=long_description, | ||
url='https://github.com/lawrencefoley/kcpl', | ||
author='Lawrence Foley', | ||
author_email='[email protected]', | ||
|
||
url="https://github.com/lawrencefoley/kcpl", | ||
author="Lawrence Foley", | ||
author_email="[email protected]", | ||
# Classifiers help users find your project by categorizing it. | ||
# | ||
# For a list of valid classifiers, see | ||
|
@@ -28,26 +28,21 @@ | |
# 3 - Alpha | ||
# 4 - Beta | ||
# 5 - Production/Stable | ||
'Development Status :: 3 - Alpha', | ||
|
||
"Development Status :: 3 - Alpha", | ||
# Indicate who your project is intended for | ||
'Intended Audience :: Developers', | ||
'Topic :: Utilities', | ||
|
||
"Intended Audience :: Developers", | ||
"Topic :: Utilities", | ||
# Pick your license as you wish | ||
'License :: OSI Approved :: MIT License', | ||
|
||
"License :: OSI Approved :: MIT License", | ||
# Specify the Python versions you support here. In particular, ensure | ||
# that you indicate whether you support Python 2, Python 3 or both. | ||
'Programming Language :: Python :: 3.9', | ||
"Programming Language :: Python :: 3.9", | ||
], | ||
|
||
# This field adds keywords for your project which will appear on the | ||
# project page. What does your project relate to? | ||
# | ||
# Note that this is a string of words separated by whitespace, not a list. | ||
keywords='kcpl evergy api utilities kansas-city', # Optional | ||
|
||
keywords="kcpl evergy api utilities kansas-city", # Optional | ||
# You can just specify package directories manually here if your project is | ||
# simple. Or you can use find_packages(). | ||
# | ||
|
@@ -58,21 +53,19 @@ | |
# py_modules=["my_module"], | ||
# | ||
packages=find_packages(exclude=[]), # Required | ||
|
||
# This field lists other packages that your project depends on to run. | ||
# Any package you put here will be installed by pip when your project is | ||
# installed, so they must be valid existing projects. | ||
# | ||
# For an analysis of "install_requires" vs pip's requirements files see: | ||
# https://packaging.python.org/en/latest/requirements.html | ||
install_requires=['beautifulsoup4', 'requests'], # Optional | ||
|
||
install_requires=["beautifulsoup4", "requests"], # Optional | ||
# If there are data files included in your packages that need to be | ||
# installed, specify them here. | ||
# | ||
# If using Python 2.6 or earlier, then these have to be included in | ||
# MANIFEST.in as well. | ||
package_data={ # Optional | ||
'credentials': ['credentials.json'], | ||
} | ||
) | ||
"credentials": ["credentials.json"], | ||
}, | ||
) |