Skip to main content

Open source norminette to apply 42's norme to C files

Project description

norminette for 42 schools

Install:

Requires python3.7+ (3.7, 3.8, 3.9)

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

Inside a virtual environment

Using a virtual environment will avoid version conflicts with already globally installed packages.

python3 -m venv venv
source venv/bin/activate
pip install norminette

Usage

norminette

Runs on the current folder and any subfolder

norminette filename.[c/h]

Runs on the given filename(s)

norminette -d

Prevents stopping on various blocking errors

norminette -dd

Outputs all the debug logging

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.

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

norminette-3.3.51.tar.gz (42.7 kB view details)

Uploaded Source

File details

Details for the file norminette-3.3.51.tar.gz.

File metadata

  • Download URL: norminette-3.3.51.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for norminette-3.3.51.tar.gz
Algorithm Hash digest
SHA256 7ed0cbd125e2dc0f776ac274d22bdbc9fcea5cfb0e7797e1d6ba8fcf58894771
MD5 6e0946c61eea0ee0808a621be1188fee
BLAKE2b-256 f4a5d94b7367b980b9fb6b6fa1225d382ec2d84704e488ba737db7ecfbe443ff

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