sapling/eden/scm/ghstack
Michael Bolin 732d512647 chore: apply Black formatter to ghstack fork
Summary:
Historically, we avoided running the Black autoformatter on our
fork of ghstack so that the code would be easier to diff with
upstream. Now that Black is run on upstream ghstack:

e5eca89cb3

we have no reason to exclude it from our linter.

Going forward, we should update the GitHub CI to run `black --check`
and report back so that contributors get this signal as well.

Reviewed By: zsol

Differential Revision: D42494629

fbshipit-source-id: 7f09ec46f687e56662f4f6ac477fd2fd077709d6
2023-01-24 12:48:13 -08:00
..
__init__.py rename ghstack.eden_shell to ghstack.sapling_shell 2022-10-26 16:53:42 -07:00
action.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
cache.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
checkout.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
circleci.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
config.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
diff.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
ghs_types.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
git.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
github_cli_endpoint.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
github_gh_cli.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
github_utils.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
github.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
land.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
LICENSE ghstack: shuffle code out of pydeps 2022-10-13 09:59:21 -07:00
logs.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
py.typed ghstack: shuffle code out of pydeps 2022-10-13 09:59:21 -07:00
query.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
rage.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
README.md update README 2022-10-13 23:30:33 -07:00
sapling_land.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
sapling_shell.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
shell.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
stackheader.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
submit.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00
unlink.py chore: apply Black formatter to ghstack fork 2023-01-24 12:48:13 -08:00

sapling-ghstack

This is a fork of https://github.com/ezyang/ghstack that includes changes to support Sapling.

Building and Running the Code

Unlike upstream ghstack, this does not rely on poetry or any third-party Python libraries (though it does require Python 3.8 or later whereas upstream works with Python 3.6+). By avoiding third-party deps, the code can be run directly via:

PYTHONPATH=path/to/ghstack python3 -m ghstack.__main__