Git Product home page Git Product logo

better-norminette-42's Introduction

logo

Better Norminette - Colors in 42 norminette output

betternom is a Python utility designed to enhance the output of the norminette by adding colorization to its output, making it easier to distinguish between various types of messages such as errors and successful checks. It utilizes colorama for terminal color output and provides additional functionality such as minimizing output and showing errors only.

Features

  • Colorized Output: Makes it easier to read norminette outputs by color-coding messages.
  • Minimize Output: Option to show a minimized version of the output for a quicker overview.
  • Error Only Mode: Can be configured to show only errors, omitting the OK messages for cleaner output.
  • Summary View: Provides a summary of the norminette run, including counts of files checked, errors found, etc.

Want another feature ? Ask it to me !

image info

How to Install

Prerequisites

Before installing betternom, ensure you have Python installed on your system. betternom requires Python 3.6 or newer.

Installation Options

Install from GitLab

To install betternom directly from the GitLab repository:

  1. Clone the repository:
git clone https://gitlab.com/theo_vdml/betternorm
  1. Navigate to the cloned directory:
cd betternom
  1. Install the package:
pip3 install .
  1. If you face an error with permission (at school for example) try with the --user params
pip3 install . --user

This method is useful if you want to install the most recent changes that may not yet be published on PyPI.

Usage

To use betternom, run the following command in your terminal:

betternorm [filename] [options]

Options include:

  • -e, --error-only to display only errors.
  • -m, --minimize for minimized output.
  • -s, --summary-only to display only the summary.
  • -a, --args to pass additional arguments to norminette. (will take the rest of the command line and pass it to norminette)

For detailed help and more options, run:

betternorm --help

Contributing

We welcome contributions! If you would like to contribute to the project, please fork the repository, make your changes, and submit a merge request on GitLab.

License

betternom is open-source software licensed under the MIT license.

better-norminette-42's People

Contributors

theo-vdml avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.