Skip to main content

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.

Project description

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.

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 ...
    

Contributing

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

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

Happy coding!

Creaters: @Moealsir && @malazmuzamil98

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

bettyfixer-1.4.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

bettyfixer-1.4.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file bettyfixer-1.4.1.tar.gz.

File metadata

  • Download URL: bettyfixer-1.4.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for bettyfixer-1.4.1.tar.gz
Algorithm Hash digest
SHA256 91cf59bbf33da28fa8e6c3396ca65972ff4cb3f8fd22baef178c44be22ef561f
MD5 2835cdfe76b203190f9733b52a2cc2c3
BLAKE2b-256 2a6fdad673515592de07837743761ae4decc81c48b6b3886cc87269f7811894d

See more details on using hashes here.

File details

Details for the file bettyfixer-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: bettyfixer-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for bettyfixer-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e55814ba36c9edb7aad01752ef85a4169ad89846f37d3f3c48c6265cc7cbd23
MD5 a72ab791f4263e8c28c99c5ce35d0bfe
BLAKE2b-256 12714be33c15fae356dbdd594c872ec93adaf03090c11744464ffc51bae8b734

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