Skip to main content

A tool for quickly formatting and checkstyling C/C++ and Python code

Project description

Stylize is a command line tool for quickly reformatting a C++ or Python codebase. It’s a wrapper for clang-format and yapf.


pip3 install stylize


# reformat all C++/Python files in the current directory recursively

# reformat only files that differ from origin/master
stylize --diffbase=origin/master

# run in checkstyle mode - no files are changed and a nonzero return code
# indicates that some files are out of accordance with the style configurations.
stylize --check

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stylize-0.3.2.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

stylize-0.3.2-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page