Skip to content

Commit

Permalink
Remove the examples/ directory. (#11100)
Browse files Browse the repository at this point in the history
We now have example repos instead.

A few tests were using some example code, so it was moved
under testprojects/ for now.

Also applies a couple of unrelated style tweaks, and adds
a python_requirement_library for the pycharm remote debugging
client, to make remote debugging easier, as explained in
https://www.pantsbuild.org/docs/python-test-goal#running-tests-interactively.

[ci skip-rust]

[ci skip-build-wheels]
  • Loading branch information
benjyw committed Nov 6, 2020
1 parent 60188ee commit 8bbef8f
Show file tree
Hide file tree
Showing 40 changed files with 38 additions and 842 deletions.
7 changes: 7 additions & 0 deletions 3rdparty/python/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ python_requirements(
"setuptools": ["pkg_resources"],
}
)

# Useful when using IntelliJ/PyCharm remote debugging. Importing `pydevd_pycharm` at
# the breakpoint will cause dep inference to add this dep on the remote debugger client.
python_requirement_library(
name = "pydevd-pycharm",
requirements=["pydevd-pycharm==203.5419.8"],
)
2 changes: 1 addition & 1 deletion build-support/bin/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def run_check(command: List[str]) -> None:


def run_lint(*, oauth_token_path: Optional[str] = None) -> None:
targets = ["build-support::", "examples::", "src::", "tests::"]
targets = ["build-support::", "src::", "tests::"]
command = ["./pants.pex", "--tag=-nolint", "lint", "typecheck", *targets]
if oauth_token_path:
command.extend(_use_remote_execution(oauth_token_path))
Expand Down
5 changes: 0 additions & 5 deletions examples/.isort.cfg

This file was deleted.

7 changes: 0 additions & 7 deletions examples/BUILD

This file was deleted.

6 changes: 0 additions & 6 deletions examples/README.md

This file was deleted.

98 changes: 0 additions & 98 deletions examples/src/python/example/3rdparty_py.md

This file was deleted.

16 changes: 0 additions & 16 deletions examples/src/python/example/BUILD

This file was deleted.

0 comments on commit 8bbef8f

Please sign in to comment.