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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oca-odoo-pre-commit-hooks-0.0.2.tar.gz.
File metadata
- Download URL: oca-odoo-pre-commit-hooks-0.0.2.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6bdbbd3725a4e34748779790acf4b851cf5b723b416577825d5cb99be966ddc
|
|
| MD5 |
3d9ab9e7624d8f43d9285f33a5de8338
|
|
| BLAKE2b-256 |
cf48a9341686a612e79d3a68cb4fa446cc4591099db8a4d9ef67ff24e1c37924
|
File details
Details for the file oca_odoo_pre_commit_hooks-0.0.2-py3-none-any.whl.
File metadata
- Download URL: oca_odoo_pre_commit_hooks-0.0.2-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdc1a9cf4a9a4fd16c7016999e79b8fe0988d9b57ec6e1f9693141a9f67d7784
|
|
| MD5 |
4b04fc961dcfbebbcdecd8ec259b27fe
|
|
| BLAKE2b-256 |
d4fe9365b37b6172e95a5c2ec5c0fbb41c7b5d16a596805b8a16ed55fae37d11
|