Last updated:
0 purchases
astyle 3.4.13
Astyle Python distribution
This project packages the astyle utility as
a Python package.
Install
pip install astyle
Installing is not needed for pre-commit.
Usage
shell
astyle --help
# or
python -m astyle --help
python
from astyle.__main__ import main
main("--help")
pre-commit
.pre-commit-config.yaml:
repos:
- repo: https://github.com/Freed-Wu/mirrors-astyle
rev: 3.4.13
hooks:
- id: astyle
pre-commit install
git commit
Please use https://github.com/Freed-Wu/mirrors-astyle, it uses binary wheel
and will be faster than this repository which uses source code.
Similar Projects
pre-commit hooks
mirrors-clang-format
CLinters: 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:
it uses git hook, not pre-commit, which make it cannot use many hooks at the
same time. It cannot ensure reproducibility, too.
pyastyle: stop maintaining.
astyle_py: it uses wasm, not native
binary programs like this project.
Python distributions
clang-format-wheel
cmake-python-distributions
ninja-python-distributions
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.