Skip to content

Commit e62f5a6

Browse files
committed
pep8 fixes
1 parent bd1e221 commit e62f5a6

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

orionsdk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
from .swisclient import SwisClient
1616

1717

18-
__version__ = "0.0.2"
18+
__version__ = "0.0.2"

orionsdk/swisclient.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,3 @@ def _req(self, method, frag, data=None):
4747
verify=False,
4848
auth=self.credentials,
4949
headers={'Content-Type': 'application/json'})
50-

samples/query.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,3 @@
1818

1919
for row in results['results']:
2020
print("{NodeID:<5}: {DisplayName}".format(**row))
21-
22-
23-

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55
universal=1
66

77
[metadata]
8-
description-file = README.md
8+
description-file = README.md
9+
10+
11+
[pep8]
12+
max-line-length = 119

setup.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
sys.exit()
1010

1111
setup(
12-
name = "orionsdk",
13-
version = "0.0.2", # Update also in __init__ ;
14-
description = "Python API for the SolarWinds Orion SDK",
12+
name="orionsdk",
13+
version="0.0.2", # Update also in __init__ ;
14+
description="Python API for the SolarWinds Orion SDK",
1515
long_description="Python client for interacting with the SolarWinds Orion API",
16-
author = "SolarWinds",
17-
author_email = "[email protected]",
18-
url = 'http://github.com/solarwinds/orionsdk-python',
19-
license = 'https://github.com/solarwinds/orionsdk-python/blob/master/LICENSE',
20-
packages= find_packages(exclude=['ez_setup', 'examples', 'tests']),
16+
author="SolarWinds",
17+
author_email="[email protected]",
18+
url='http://github.com/solarwinds/orionsdk-python',
19+
license='https://github.com/solarwinds/orionsdk-python/blob/master/LICENSE',
20+
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
2121
package_data={'': ['LICENSE', 'README.md']},
2222
include_package_data=True,
2323
keywords='solarwinds swis orion orionsdk',
24-
platforms = 'Posix; MacOS X; Windows',
25-
classifiers = [
24+
platforms='Posix; MacOS X; Windows',
25+
classifiers=[
2626
'Development Status :: 3 - Alpha',
2727
'Intended Audience :: Developers',
2828
'License :: OSI Approved :: Apache Software License',
@@ -31,6 +31,6 @@
3131
'Programming Language :: Python',
3232
'Programming Language :: Python :: 3',
3333
],
34-
dependency_links = [],
35-
install_requires = ['six', 'requests'],
34+
dependency_links=[],
35+
install_requires=['six', 'requests'],
3636
)

0 commit comments

Comments
 (0)