Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Official 42 norminette

License

NotificationsYou must be signed in to change notification settings

42school/norminette

Repository files navigation

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 setuptoolspython3 -m pip install norminette

Install using pipx.

sudo apt updatesudo apt install python3-setuptoolssudo apt install pipxpipx install norminettepipx ensurepath

Install using a virtual environment.

python3 -m venv$HOME/.venvsource$HOME/.venv/bin/activatepython3 -m pip install --upgrade pip setuptoolspython3 -m pip install norminetteecho"export PATH=\$PATH:$HOME/.venv/bin">>$HOME/.${SHELL##/bin/}rcdeactivate

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_printfdocker run --rm -v $PWD:/code norminette

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 norminettepoetry run norminette# Or... with virtual envsource .venv/bin/activatenorminette# Run testspoetry run pytest

[8]ページ先頭

©2009-2025 Movatter.jp