Vauxoo / pre-commit-vauxoo-hooks

pre-commit hooks custom for Vauxoo
Other
0 stars 1 forks source link

Deprecate this repo in pro to use only pre-commit-vauxoo #4

Closed moylop260 closed 2 years ago

moylop260 commented 2 years ago

Move the hooks of this repository to use directly in the .pre-commit-config.yaml from:

But as local ones

I mean, define in the setup.py a binary for:

Copy this file

And add to .pre-commit-config.yaml the following

- repo: local
  - id: vx-check-deactivate
    name: Check deactivate.jinja syntax
    description: Check if the file deactivate.jinja is correctly formatted
    entry: vx-check-deactivate
    args: []
    language: python
    types: [jinja]
    files: ^deactivate\.jinja$

Or something similar

I just realize that pre-commit-vauxoo-hooks is not working in an isolated way for vauxoo but OCA

Advantages:

antonag32 commented 2 years ago

Just FIY I am starting to look into this

moylop260 commented 2 years ago

Fixed from https://github.com/Vauxoo/pre-commit-vauxoo/pull/64