Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Nov 23, 2023
1 parent 1eef31c commit 6911e48
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@

version = None

with open(os.path.join(package_root, 'google/cloud/dns/version.py')) as fp:
with open(os.path.join(package_root, "google/cloud/dns/version.py")) as fp:
version_candidates = re.findall(r"(?<=\")\d+.\d+.\d+(?=\")", fp.read())
assert (len(version_candidates) == 1)
assert len(version_candidates) == 1
version = version_candidates[0]

# Should be one of:
Expand All @@ -57,7 +57,9 @@
# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
packages = [
package for package in setuptools.find_namespace_packages() if package.startswith("google")
package
for package in setuptools.find_namespace_packages()
if package.startswith("google")
]

setuptools.setup(
Expand Down

0 comments on commit 6911e48

Please sign in to comment.