Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

astyle

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astyle

Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C++/CLI, Objective‑C, C# and Java programming languages

  • 3.4.13
  • Source
  • PyPI
  • Socket score

Maintainers
1

Astyle Python distribution

pre-commit.ci status github/workflow

github/downloads github/downloads/latest github/issues github/issues-closed github/issues-pr github/issues-pr-closed github/discussions github/milestones github/forks github/stars github/watchers github/contributors github/commit-activity github/last-commit github/release-date

github/license github/languages github/languages/top github/directory-file-count github/code-size github/repo-size github/v

pypi/status pypi/v pypi/downloads pypi/format pypi/implementation pypi/pyversions

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc