Skip to content

Commit 07707cf

Browse files
committed
more linting fixes
1 parent 11cf183 commit 07707cf

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

ns1/rest/monitoring.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,10 @@ class JobTypes(resource.BaseResource):
122122

123123
def list(self, callback=None, errback=None):
124124
return self._make_request(
125-
"GET", self.ROOT, callback=callback, errback=errback,
125+
"GET",
126+
self.ROOT,
127+
callback=callback,
128+
errback=errback,
126129
)
127130

128131

@@ -133,5 +136,8 @@ class Regions(resource.BaseResource):
133136

134137
def list(self, callback=None, errback=None):
135138
return self._make_request(
136-
"GET", self.ROOT, callback=callback, errback=errback,
139+
"GET",
140+
self.ROOT,
141+
callback=callback,
142+
errback=errback,
137143
)

setup.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,16 @@
2222
author_email="devteam@ns1.com",
2323
url="https://github.com/ns1/ns1-python",
2424
packages=find_packages(exclude=["tests", "examples"]),
25-
setup_requires=["pytest-runner", "wheel",],
26-
tests_require=["pytest", "pytest-pep8", "pytest-cov", "mock",],
25+
setup_requires=[
26+
"pytest-runner",
27+
"wheel",
28+
],
29+
tests_require=[
30+
"pytest",
31+
"pytest-pep8",
32+
"pytest-cov",
33+
"mock",
34+
],
2735
keywords="dns development rest sdk ns1 nsone",
2836
classifiers=[
2937
"Development Status :: 4 - Beta",

0 commit comments

Comments
 (0)