Open source C files linter for 42 Network campuses
Project description
norminette for 42 schools
Install
Requires python3.8+ (3.8, 3.9, 3.10, 3.11)
Directly inside your global commands
Install using pip.
python3 -m pip install --upgrade pip setuptools
python3 -m pip install norminette
To upgrade an existing install, use
python3 -m pip install --upgrade norminette
Usage
- Runs on the current folder and any subfolder:
norminette
- Runs on the given filename(s):
norminette filename.[c/h]
- Prevents stopping on various blocking errors:
norminette -d
- Outputs all the debug logging:
norminette -dd
Docker usage
docker build -t norminette .
cd ~/42/ft_printf
docker run -v $PWD:/code norminette /code
If you encounter an error or an incorrect output, you can:
- Open an issue on github
- Post a message on the dedicated slack channel (#norminette-v3-beta)
Please try to include as much information as possible (the file on which it crashed, etc)
Feel free to do pull requests if you want to help as well. Make sure that run_test.sh properly runs after your modifications.
Run for development
This new version uses poetry as a dependency manager.
If you want to contribute:
poetry install
# Run dev norminette
poetry run norminette
# Or... with virtual env
source .venv/bin/activate
norminette
# Run tests
poetry run pytest
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
norminette-3.3.55.tar.gz
(46.4 kB
view details)
Built Distribution
File details
Details for the file norminette-3.3.55.tar.gz
.
File metadata
- Download URL: norminette-3.3.55.tar.gz
- Upload date:
- Size: 46.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66356de519fdd361043ea1473ea5317b6087ce60c9f1f2fb172aaf3f7fcfe98c |
|
MD5 | 53c2c1552ad33e32f1e644f4d685c874 |
|
BLAKE2b-256 | 327da7bd0a9eab47b0e23874996d62bc9af39328b7e9e939f29340330d56f4c5 |
File details
Details for the file norminette-3.3.55-py3-none-any.whl
.
File metadata
- Download URL: norminette-3.3.55-py3-none-any.whl
- Upload date:
- Size: 77.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df33d36860047c12e1a663497fa508999fb34e45ba4ccec3999edf35af114a11 |
|
MD5 | ed7a0a1c3d6146451c105d91d34c3f10 |
|
BLAKE2b-256 | f83c668d4102d9b0d4d19e872f7e5b44bb7056ebb423a5dff142aaa71a508012 |