Skip to content

Commit

Permalink
Style fixes and cruftslaying per rjiang's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Livingston committed Jan 30, 2018
1 parent 5f4e07c commit 365e708
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
python_tests(
name='superhello',
sources=[
'test_superhello.py'
'test_superhello.py'
],
dependencies=[
'examples/src/python/example/python_distribution/hello/superhello:superhello'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ def prepare(cls, options, round_manager):
def is_distribution(target):
return isinstance(target, PythonDistribution)

@property
def local_dists_workdir(self):
return os.path.join(self.workdir, 'local_dists')

@property
def cache_target_dirs(self):
return True
Expand All @@ -50,10 +46,6 @@ def execute(self):
built_dists = set()

if dist_targets:
local_dists_workdir = self.local_dists_workdir
if not os.path.exists(self.local_dists_workdir):
safe_mkdir(local_dists_workdir)

with self.invalidated(dist_targets,
fingerprint_strategy=DefaultFingerprintStrategy(),
invalidate_dependents=True) as invalidation_check:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2016 Pants project contributors (see CONTRIBUTORS.md).
# Copyright 2017 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).

from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
# Copyright 2017 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).

from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
Expand Down

0 comments on commit 365e708

Please sign in to comment.