Skip to main content

Use uncrustify to format the objective-c files under the specified project path

Project description


uncrustify-objc --help

Usage: uncrustify-objc [OPTIONS] PROJECT_PATH

uncrustify-obj is used to format the objective-c files under the specified
project path.

For the uncrustify.cfg config file, it will search it recursively from the
project directory to its top parent directory. If none, the
~/uncrustify.cfg or ~/.uncrustify/uncrustify.cfg will be assumed to use.

Configure the uncrustify_ignore in the project path to make a path
blacklist which matched items will not be formatted. It uses the gitignore
file template, more documentation could be found from
https://git-scm.com/docs/gitignore.

By default, it will search the ignore file from the project path, if not
specify with --ignore-file. Besides, there is a global ignore file located
~/.uncrustify/uncrustify_ignore_global which will be combined to the
target ignore spec.

If the project path is under the git version control, passing the --git-
only option will make the changed source files to be used as source file
list, the ignore files will be omitted because the git-scm already used
the gitignore spec.

Highly recommend you to make a shell alias like `alias uncrustify-objc
='uncrustify-objc --git-only'`.

Options:
-c, --cfg-file CFG_FILE The CFG config file used to format.
-i, --ignore-file IGNORE_FILE The ignore file used to ignore the matching
files for formatting.
-g, --git-only Format the current git staged and unstaged
files only.
-n, --dry-run Do not format any files, but show a list of
files to be formatted.
-v, --verbose Enables verbose mode.
--help Show this message and exit.

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

uncrustify_objc-1.6.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uncrustify_objc-1.6-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file uncrustify_objc-1.6.tar.gz.

File metadata

  • Download URL: uncrustify_objc-1.6.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for uncrustify_objc-1.6.tar.gz
Algorithm Hash digest
SHA256 3d329e3a05652cc6a9268bafc87b9ddb52bedc31f52e054ed7aec18b6a7f826f
MD5 05d7b08d7c68ba6c2d44c6da091c78f9
BLAKE2b-256 f4f4373d59080b32a9c5b82be98467126442b3d4b85b53573ed81f86a46fdc20

See more details on using hashes here.

File details

Details for the file uncrustify_objc-1.6-py3-none-any.whl.

File metadata

  • Download URL: uncrustify_objc-1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for uncrustify_objc-1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 933569e01ecbca82bc2b0aed99e5d97deb36636ffce5434195db43e66b8b96fc
MD5 975ee48db5aba779525c61d8302c68ba
BLAKE2b-256 cc95a72aced73f8d29d401facaef7dc1135c59d8c02440ca8071aa6889f33646

See more details on using hashes here.

Supported by

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