odoo-pre-commit-hooks to use in pre-commit-config.yml files
Project description
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.
CHANGES
v0.0.2
- Bump version: 0.0.1 → 0.0.2
v0.0.1
- [ADD] Migrate pylint-odoo checks (not related to python) to pre-commit hooks (#2)
- Initialize
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for oca-odoo-pre-commit-hooks-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6bdbbd3725a4e34748779790acf4b851cf5b723b416577825d5cb99be966ddc |
|
MD5 | 3d9ab9e7624d8f43d9285f33a5de8338 |
|
BLAKE2b-256 | cf48a9341686a612e79d3a68cb4fa446cc4591099db8a4d9ef67ff24e1c37924 |
Hashes for oca_odoo_pre_commit_hooks-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdc1a9cf4a9a4fd16c7016999e79b8fe0988d9b57ec6e1f9693141a9f67d7784 |
|
MD5 | 4b04fc961dcfbebbcdecd8ec259b27fe |
|
BLAKE2b-256 | d4fe9365b37b6172e95a5c2ec5c0fbb41c7b5d16a596805b8a16ed55fae37d11 |