Skip to content

Commit

Permalink
Move constant to top of file
Browse files Browse the repository at this point in the history
Think this is the style used in most Python projects and ours.
  • Loading branch information
Eric-Arellano committed Mar 12, 2019
1 parent c478ecb commit 4941956
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci.py
Expand Up @@ -9,6 +9,9 @@
from enum import Enum


PANTS_INI = 'pants.ini'


class PantsVersion(Enum):
unspecified = "unspecified"
pants_ini = "pants.ini"
Expand All @@ -17,9 +20,6 @@ def __str__(self):
return self.value


PANTS_INI = 'pants.ini'


def main() -> None:
args = create_parser().parse_args()
run_tests(pants_version=args.pants_version)
Expand Down

0 comments on commit 4941956

Please sign in to comment.