Skip to content

About

prek / pre-commit hook for odooscan

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

odooscan-pre-commit

The prek and pre-commit hook for odooscan, the quality and security scanner for Odoo modules. It installs odooscan's prebuilt wheel from PyPI, so you don't need a Rust toolchain.

repos:
  - repo: https://github.com/avanserv/odooscan-pre-commit
    rev: v0.10.0
    hooks:
      - id: odooscan

The hook runs oscn check on the whole repository whenever a Python, XML or CSV file changes, since its rules compare modules with each other. Put the addons path, the series and a baseline in odooscan.toml or [tool.odooscan]; see odooscan's README.

This repository holds no code. Each odooscan release updates the pinned version here and tags this repository with the same version, so prek autoupdate picks it up.

About

prek / pre-commit hook for odooscan

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors