Vauxoo / maintainer-quality-tools

QA tools for Odoo maintainers
GNU Affero General Public License v3.0
3 stars 9 forks source link

DUMMY: [IMP] pre-commit: Add autofix #356

Closed moylop260 closed 2 years ago

moylop260 commented 2 years ago

POC not mergeable yet

Dummy MR: https://git.vauxoo.com/vauxoo/mexico/-/merge_requests/3303

Testing locally using

cd my-odoo-addons-project
source variables.sh
PRECOMMIT_AUTOFIX=1 PRECOMMIT_OVERWRITE_CONFIG_FILES=1 python3 ~/odoo/maintainer-quality-tools/travis/test_precommit.py
moylop260 commented 2 years ago

Superseded by https://github.com/Vauxoo/maintainer-quality-tools/pull/365

Migrating pre_commit code and configuration files to package:

You will be able to install the package using:

Use with autofix:

Or adding to the repository in the variables.sh: