Skip to main content

odoo-pre-commit-hooks to use in pre-commit-config.yml files

Project description

Pre-commit Status Build Status codecov version wheel supported-versions commits-since

odoo-pre-commit-hooks

OCA's custom pre-commit hooks for Odoo modules

Installation

You don't need to install it directly only configure your ".pre-commit-config.yaml" file

Even you can install using github directly

pip install -U git+https://github.com/OCA/odoo-pre-commit-hooks.git@main

Usage pre-commit-config.yaml

Add to your ".pre-commit-config.yaml" configuration file the following input

    - repo: https://github.com/OCA/odoo-pre-commit-hooks
        rev: main  # Change to last version or git sha
        hooks:
        - id: HOOK-NAME

Usage using directly the entry points

If you install directly the package from github you can use the entry points:

* HOOK-APP (TODO ADD ALL HOOKS HERE)

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

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

oca-odoo-pre-commit-hooks-0.0.1.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

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

oca_odoo_pre_commit_hooks-0.0.1-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file oca-odoo-pre-commit-hooks-0.0.1.tar.gz.

File metadata

File hashes

Hashes for oca-odoo-pre-commit-hooks-0.0.1.tar.gz
Algorithm Hash digest
SHA256 58c19f2478ccbdb71e154af259121529165972cb09e9de2eadf2206b12af8304
MD5 5f0b6c12e6260b19d12377c5a60675fe
BLAKE2b-256 7f44007e12410df2912c5989cd9403a5e5f4833335e445cb374cee98849ad4fb

See more details on using hashes here.

File details

Details for the file oca_odoo_pre_commit_hooks-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for oca_odoo_pre_commit_hooks-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5717307dcab1ce36fa94892f33f31f77a82a7cbb730e33e66df4ba84398ce28
MD5 9d87a3bcf6b510df38a98daae175644f
BLAKE2b-256 184cf42fe7f4a55fbd9207957a09086a43fa9a3f0fe6b8e7a1e7f99331dc68d3

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