Skip to content

Commit

Permalink
Simplify! Thanks Andreas
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
Eric-Arellano committed Jan 28, 2022
1 parent 6d7f24e commit 8261664
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions build-support/bin/generate_docs.py
Expand Up @@ -199,14 +199,8 @@ def create_parser() -> argparse.ArgumentParser:


def run_pants_help_all() -> dict[str, Any]:
deactivated_backends = [
"internal_plugins.releases",
"pants.backend.experimental.java.debug_goals",
"pants.backend.experimental.scala.debug_goals",
]
deactivated_plugins = ["toolchain.pants.plugin==0.17.0"]
# List all (stable enough) backends here, even if we use them internally.
activated_backends = [
# List all (stable enough) backends here.
backends = [
"pants.backend.awslambda.python",
"pants.backend.codegen.protobuf.python",
"pants.backend.experimental.codegen.thrift.apache.python",
Expand Down Expand Up @@ -238,9 +232,8 @@ def run_pants_help_all() -> dict[str, Any]:
argv = [
"./pants",
"--concurrent",
f"--plugins=-[{', '.join(map(repr, deactivated_plugins))}]",
f"--backend-packages=-[{', '.join(map(repr, deactivated_backends))}]",
f"--backend-packages=+[{', '.join(map(repr, activated_backends))}]",
"--plugins=-[]",
f"--backend-packages={repr(backends)}",
"--no-verify-config",
"--remote-auth-plugin= ",
"help-all",
Expand Down

0 comments on commit 8261664

Please sign in to comment.