Skip to main content

Betty Fixer

Betty Fixer is a tool designed to automatically fix coding style issues in C files based on the Betty coding style guidelines. It performs corrections to ensure that the code complies with the Betty style, making it more readable and consistent.

Features

  • Betty Style Fixes: Automatically corrects coding style issues following the Betty style guidelines.
  • Vi Script Execution: Runs a Vi script for each fixed file, making it convenient for developers to review and further modify the code.
  • Create header.h: You can now create header file by specifing header file name after flag -H .

Prerequisites

Before using Betty Fixer, ensure you have the following installed:

  • Betty - The Betty linter for C code.

  • Vi Editor - The Vi editor for script execution.

  • Ctags :-

      sudo apt-get install exuberant-ctags
    

Getting Started

  1. Clone the repository:

    pip install bettyfixer
    
  2. Run Betty Fixer on your C files:

    bettyfixer file1.c file2.c ...
    
  3. To create header file run:

    bettyfixer -H <header_name>.h ...
    

Compatibility:

The current release of bettyfixer is optimized for Ubuntu 20.04 LTS (Focal Fossa). We are actively working to expand compatibility to include other Ubuntu releases in future updates. Stay tuned for upcoming releases that will offer support for a broader range of Ubuntu versions.

Contributing

If you'd like to contribute to Betty Fixer, please follow these steps:

  1. Go to the Github repository
  2. Fork the repository.
  3. Create a new branch for your feature or bug fix.
  4. Make your changes and ensure the code style follows the project conventions.
  5. Test your changes thoroughly.
  6. Create a pull request with a clear description of your changes.

Creaters: -

@Moealsir
@Malazmuzamil98
@AhedEisa

Metadata

Release files for bettyfixer 1.4.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bettyfixer 1.4.6
File Size Uploaded Provenance Actions
bettyfixer-1.4.6.tar.gz 12.9 kB Without provenance Details for bettyfixer-1.4.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bettyfixer 1.4.6
File Interpreter ABI Platform Actions
bettyfixer-1.4.6-py3-none-any.whl Python 3 none any Details for bettyfixer-1.4.6-py3-none-any.whl

Total release size: 27.7 kB

Release files / bettyfixer-1.4.6.tar.gz

Download URL bettyfixer-1.4.6.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2c9118ef70808b7ffb0cc58257523e20b2b125512d6c8b0716e5618c729bcc6d
BLAKE2b-256 checksum
How to use checksums
816c36a2d14ba699d0e9be883d76b6f27e1535d3d9276d73338330e4e62c5b3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release files / bettyfixer-1.4.6-py3-none-any.whl

Download URL bettyfixer-1.4.6-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70598d9553b2ada7e0bcfdf8848943a270a568b62fd6de286d0c3d45b8b26f46
BLAKE2b-256 checksum
How to use checksums
12cb123c77afdcaf48e6ffb11aa727d3f21898dafd122e0830102abbb1f7d824
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Security for bettyfixer 1.4.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page