Skip to content

Commit

Permalink
Merge pull request #9 from NarrativeScience/QUALITY-1864/update-cover…
Browse files Browse the repository at this point in the history
…age-package

QUALITY-1864 - Add the check for include test coverage
  • Loading branch information
ns-hzhang committed May 15, 2020
2 parents 5182935 + e3a624f commit deea4e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pypants/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""CLI for working with Python packages and BUILD files in a Pants monorepo"""

__version__ = "0.5.0"
__version__ = "0.5.1"
1 change: 1 addition & 0 deletions src/pypants/build_targets/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def _generate_python_tests_ast_node(self) -> ast.Expr:
d.package_name
for d in self.dependencies
if not isinstance(d, PythonRequirement)
and d.config.include_test_coverage
}
# Build the coverage based on the dependency packages
elements = [ast.Str(pkg) for pkg in sorted(code_target_package_names)]
Expand Down

0 comments on commit deea4e4

Please sign in to comment.