Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

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.

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

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page