Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Mar 6, 2023
1 parent 6f6046d commit 55a4dbb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
def get_version():
buildno = os.getenv("BUILD_NUMBER")
project = os.getenv("OPENTRONS_PROJECT", "robot-stack")
git_dir = os.getenv('OPENTRONS_GIT_DIR', None)
git_dir = os.getenv("OPENTRONS_GIT_DIR", None)
if buildno:
normalize_opts = {"extra_tag": buildno}
else:
Expand Down
6 changes: 4 additions & 2 deletions notify-server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
def get_version():
buildno = os.getenv("BUILD_NUMBER")
project = os.getenv("OPENTRONS_PROJECT", "robot-stack")
git_dir = os.getenv('OPENTRONS_GIT_DIR', None)
git_dir = os.getenv("OPENTRONS_GIT_DIR", None)
if buildno:
normalize_opts = {"extra_tag": buildno}
else:
normalize_opts = {}
return normalize_version("notify-server", project, git_dir=git_dir, **normalize_opts)
return normalize_version(
"notify-server", project, git_dir=git_dir, **normalize_opts
)


VERSION = get_version()
Expand Down
2 changes: 1 addition & 1 deletion robot-server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
def get_version():
buildno = os.getenv("BUILD_NUMBER")
project = os.getenv("OPENTRONS_PROJECT", "robot-stack")
git_dir = os.getenv('OPENTRONS_GIT_DIR', None)
git_dir = os.getenv("OPENTRONS_GIT_DIR", None)
if buildno:
normalize_opts = {"extra_tag": buildno}
else:
Expand Down
2 changes: 1 addition & 1 deletion shared-data/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def _get_data_files(self):
def get_version():
buildno = os.getenv("BUILD_NUMBER")
project = os.getenv("OPENTRONS_PROJECT", "robot-stack")
git_dir = os.getenv('OPENTRONS_GIT_DIR', None)
git_dir = os.getenv("OPENTRONS_GIT_DIR", None)
if buildno:
normalize_opts = {"extra_tag": buildno}
else:
Expand Down

0 comments on commit 55a4dbb

Please sign in to comment.