Skip to content

Commit

Permalink
Easy nits and whitespace issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Vital authored and Chris Livingston committed Jan 30, 2018
1 parent 31d3a91 commit 8c7b658
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
python_dist(
name='superhello',
sources=[
'super_greet.c',
'hello_package/hello.py',
'hello_package/__init__.py',
'super_greet.c',
'hello_package/hello.py',
'hello_package/__init__.py',
'setup.py'
]
)
Expand All @@ -18,6 +18,6 @@ python_binary(
name='main',
source='main.py',
dependencies=[
'examples/src/python/example/python_distribution/hello/superhello:superhello',
':superhello',
]
)
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
c_module = Extension(str('super_greet'), sources=[str('super_greet.c')])

setup(
name='superhello',
version='1.0.0',
ext_modules=[c_module],
packages=find_packages(),
name='superhello',
version='1.0.0',
ext_modules=[c_module],
packages=find_packages(),
)
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def resolve_requirements(self, req_libs, local_python_dist_targets=None):
:param req_libs: A list of :class:`PythonRequirementLibrary` targets to resolve.
:param local_python_dist_targets: A list of :class:`PythonDistribution` targets to resolve.
:returns a PEX containing target requirements and any specified python dist targets.
:returns: a PEX containing target requirements and any specified python dist targets.
"""
with self.invalidated(req_libs) as invalidation_check:
# If there are no relevant targets, we still go through the motions of resolving
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 8c7b658

Please sign in to comment.