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.

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.3.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file stylize-0.3.2.tar.gz.

File metadata

  • Download URL: stylize-0.3.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stylize-0.3.2.tar.gz
Algorithm Hash digest
SHA256 baf9115a95b594fe0c9825619da8e108ed7bf9b8956c2f6538a2bd0d2aa5593b
MD5 5b553370462ffded4527a7bc16d50132
BLAKE2b-256 b17da9bff708cf4b5ab2f99da99d545994ec66174a4bf9f47de180ce039ac6c6

See more details on using hashes here.

File details

Details for the file stylize-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for stylize-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 53607926b12b7183e9af9a7a16632a9c834c4646cb015aa08caaf7858d6586ec
MD5 1c7443d67a147da21a0e7f239f2a3007
BLAKE2b-256 4bf3f0af66270bb7020811f6ce97a2f5377c696611ca8ce1d408891e98b8f0e7

See more details on using hashes here.

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