Skip to content

Commit

Permalink
"Fix" tests, add production RootRule and rule rexports :(
Browse files Browse the repository at this point in the history
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
  • Loading branch information
jsirois committed Jul 28, 2020
1 parent 50f2893 commit bd20fcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/python/pants/backend/python/rules/python_sources.py
Expand Up @@ -142,5 +142,6 @@ def rules():
return [
*collect_rules(),
*determine_source_files.rules(),
RootRule(StrippedPythonSourcesRequest),
RootRule(UnstrippedPythonSourcesRequest),
]
3 changes: 2 additions & 1 deletion src/python/pants/backend/python/typecheck/mypy/rules.py
Expand Up @@ -4,7 +4,7 @@
from dataclasses import dataclass
from typing import Tuple

from pants.backend.python.rules import download_pex_bin, pex
from pants.backend.python.rules import download_pex_bin, pex, python_sources
from pants.backend.python.rules.pex import (
Pex,
PexInterpreterConstraints,
Expand Down Expand Up @@ -140,6 +140,7 @@ def rules():
*determine_source_files.rules(),
*pants_bin.rules(),
*pex.rules(),
*python_sources.rules(),
*python_native_code.rules(),
*strip_source_roots.rules(),
*subprocess_environment.rules(),
Expand Down

0 comments on commit bd20fcb

Please sign in to comment.