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.
-
Ctags :-
sudo apt-get install exuberant-ctags
Getting Started
-
Clone the repository:
pip install bettyfixer
-
Run Betty Fixer on your C files:
bettyfixer file1.c file2.c ...
-
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:
- Go to the Github repository
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure the code style follows the project conventions.
- Test your changes thoroughly.
- Create a pull request with a clear description of your changes.
Creaters: -
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bettyfixer-1.4.4.tar.gz
.
File metadata
- Download URL: bettyfixer-1.4.4.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd303e33c36b60c7f53112e855c1100f31db935b91fc45f3610c756569a1b559 |
|
MD5 | 2b139cb10f5c5ff95df72bbbdf0e207d |
|
BLAKE2b-256 | 42b6ff7d9d3106045b37b08a57f72eddf32d4e7ccf3d76feecef53bbc46591b9 |
File details
Details for the file bettyfixer-1.4.4-py3-none-any.whl
.
File metadata
- Download URL: bettyfixer-1.4.4-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97c3178c5735e4a701358975e47a250a18c84b81db712ad9e4dae82f753ba45d |
|
MD5 | fbda5aed1427fe58cc97b5571ecda77b |
|
BLAKE2b-256 | 6b4c7ba72b90e32230500759ba8d08883e9fd68067e96f67110fe8605773027a |