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.

Files for stylize, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size stylize-0.3.2.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View
Filename, size stylize-0.3.2-py3-none-any.whl (10.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page