Skip to main content

Outil de vérification des normes de code pour l'entreprise

Project description

Prune's Norminette

What is it for?

The norminette automatically checks the organization of files in a Django project as well as code rules. This allows for the same code standard between projects and makes it easier to navigate.

Prerequisites

  • To be installed on a Prune Django project that uses poetry or UV
  • SSH access to the project: verify that you have SSH access to the Gitlab project of the norminette

UV project

Installation

In pyproject.toml, add in the dependencies = [] or dev[] section :

dependencies = [
"norminette @ git+ssh://git@gitlab.com/bastien_arnout/norminette.git",
]

To synchronize the results, run the following command in the console:

uv sync

Ou

uv lock

Running the norminette

To run the package, simply enter in the console :

norminette

Updating the norminette

Don't hesitate to run uv sync --upgrade sometimes, the norminette evolves with time and our practices!

Poetry project

Installation

In pyproject.toml, add in the [tool.poetry.group.dev.dependencies] section :

[tool.poetry.group.dev.dependencies]
norminette = { git = "git@gitlab.com:bastien_arnout/norminette.git" }

Then, run the following command :

poetry update norminette

Running the norminette

poetry run norminette

Updating the norminette

Don't hesitate to run poetry update norminette sometimes, the norminette evolves with time and our practices!

Project architecture at Prune

To access the documentation, please go to the link where you can find documentation in English and French.

Documentation

If you want to download it directly, here is the link :

Download

Rules

To see the different rules that the script checks, please go to the rules.md file.

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_prune-0.1.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

norminette_prune-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file norminette_prune-0.1.0.tar.gz.

File metadata

  • Download URL: norminette_prune-0.1.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for norminette_prune-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ec27a009293271b1f7cc742b0f39995034816b416e42bb28ddb946e08fea767b
MD5 2cfef58e042f4e005f1a5fb02178f38f
BLAKE2b-256 cc682389fccd3426ed2a535e53c679772d0d27d2b30c8fc1662cbfc6376c7dd1

See more details on using hashes here.

File details

Details for the file norminette_prune-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for norminette_prune-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd4df45a27b4d1db62ce5ee4d34471d935dfce775ded9c7a9a3f8004c4010a0e
MD5 d6eaba29eb9d7d255cb537a15f483358
BLAKE2b-256 be5bd4099281b5a4edb00b3d7b80c2d3fdfc61dda756925ee87a2518a045fbf9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page