Requires python3.7+ (3.7, 3.8, 3.9)
Install using pip
python3 -m pip install norminette
Upgrade pip if warnings are annoying
python3 -m pip install --upgrade pip
Upgrade or install the latest norminette
python3 -m pip install --upgrade norminette
Using a virtual environment will avoid version conflicts with already globally installed packages.
python3 -m venv venv
source venv/bin/activate
pip install norminette
If you need to exit from a virtual environment, type deactivate
command.
See installing packages using pip and virtual environments page for more details.
-
norminette
- lint recursively .c/h files from the current directory; -
norminette filename.[ch]
- lint a given .c or .h file; -
norminette -d
- debug output (-dd
for an extended debug report).
docker build -t norminette .
docker run --rm -v $PWD:/code norminette %path%
You may refer to a dockerised norminette image if necessary.
If you encounter an error or an incorrect output, you can:
- Open an issue on github (https://github.com/42School/norminette);
- 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 and so on).
Feel free to do pull requests if you want to help as well.
Make sure that run_test.sh
, run from norminette
directory, throws no errors after your modifications.