Skip to main content

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

Project description

image0 image1

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

Install

pip3 install stylize

Usage

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

# 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.0.8.tar.gz (5.1 kB view hashes)

Uploaded Source

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