https://github.com/freed-wu/astyle-wheel
This project packages the astyle utility as a Python package.
https://github.com/freed-wu/astyle-wheel
astyle formatter pre-commit-hook
Last synced: 10 months ago
JSON representation
This project packages the astyle utility as a Python package.
- Host: GitHub
- URL: https://github.com/freed-wu/astyle-wheel
- Owner: Freed-Wu
- License: gpl-3.0
- Created: 2023-05-18T13:29:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-25T18:31:11.000Z (10 months ago)
- Last Synced: 2025-04-26T10:34:11.860Z (10 months ago)
- Topics: astyle, formatter, pre-commit-hook
- Language: Python
- Homepage: https://pypi.org/project/astyle/
- Size: 134 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pre-commit hook for astyle
[](https://results.pre-commit.ci/latest/github/Freed-Wu/astyle-wheel/main)
[](https://github.com/Freed-Wu/astyle-wheel/actions)
[](https://github.com/Freed-Wu/astyle-wheel/releases)
[](https://github.com/Freed-Wu/astyle-wheel/releases/latest)
[](https://github.com/Freed-Wu/astyle-wheel/issues)
[](https://github.com/Freed-Wu/astyle-wheel/issues?q=is%3Aissue+is%3Aclosed)
[](https://github.com/Freed-Wu/astyle-wheel/pulls)
[](https://github.com/Freed-Wu/astyle-wheel/pulls?q=is%3Apr+is%3Aclosed)
[](https://github.com/Freed-Wu/astyle-wheel/discussions)
[](https://github.com/Freed-Wu/astyle-wheel/milestones)
[](https://github.com/Freed-Wu/astyle-wheel/network/members)
[](https://github.com/Freed-Wu/astyle-wheel/stargazers)
[](https://github.com/Freed-Wu/astyle-wheel/watchers)
[](https://github.com/Freed-Wu/astyle-wheel/graphs/contributors)
[](https://github.com/Freed-Wu/astyle-wheel/graphs/commit-activity)
[](https://github.com/Freed-Wu/astyle-wheel/commits)
[](https://github.com/Freed-Wu/astyle-wheel/releases/latest)
[](https://github.com/Freed-Wu/astyle-wheel/blob/main/LICENSE)
[](https://github.com/Freed-Wu/astyle-wheel)
[](https://github.com/Freed-Wu/astyle-wheel)
[](https://github.com/Freed-Wu/astyle-wheel)
[](https://github.com/Freed-Wu/astyle-wheel)
[](https://github.com/Freed-Wu/astyle-wheel)
[](https://github.com/Freed-Wu/astyle-wheel)
[](https://pypi.org/project/astyle/#description)
[](https://pypi.org/project/astyle/#history)
[](https://pypi.org/project/astyle/#files)
[](https://pypi.org/project/astyle/#files)
[](https://pypi.org/project/astyle/#files)
[](https://pypi.org/project/astyle/#files)
See [Astyle Python Distribution](packages/astyle).
## Install
```shell
pre-commit install
git commit
```
## Related Projects
### Python Port
- [pyastyle](https://github.com/timonwong/pyastyle): stop maintaining.
a python port of astyle. this project provides similar APIs.
### pre-commit hooks
- [CLinters](https://github.com/pocc/pre-commit-hooks): it requires you install
linters and formatters in your machine and it calls them. So it cannot
ensure the versions of linters and formatters are same as others, which means
it cannot ensure **reproducibility**.
- [astyle_precommit_hook](https://github.com/mellowcandle/astyle_precommit_hook):
it uses git hook, not pre-commit, which make it cannot use many hooks at the
same time. It cannot ensure **reproducibility**, too.
- [astyle_py](https://github.com/igrr/astyle_py): it uses wasm, not native
binary programs like this project.
## Similar Projects
### Alternatives
- [mirrors-clang-format](https://github.com/pre-commit/mirrors-clang-format)
### Python Wheels
Refer [Python Wheels](https://github.com/xmake-io/xmake-wheel#python-wheels).