From 9eb188d7688d80980a9a5b52cedbc1e507f496b2 Mon Sep 17 00:00:00 2001 From: Oihane Crucelaegui Date: Tue, 24 Feb 2026 10:49:03 +0100 Subject: [PATCH] [FIX] Change pre-commit --- .eslintrc.yml | 1 + .gitignore | 1 + .pre-commit-config.yaml | 2 +- .travis.yml | 10 +++++----- LICENSE | 12 ++++++------ README.md | 5 +---- 6 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 9429bc68..fed88d70 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -22,6 +22,7 @@ globals: odoo: readonly openerp: readonly owl: readonly + luxon: readonly # Styling is handled by Prettier, so we only need to enable AST rules; # see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890 diff --git a/.gitignore b/.gitignore index 9c283fd4..0090721f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ __pycache__/ *.py[cod] /.venv /.pytest_cache +/.ruff_cache # C extensions *.so diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9a4d0ce4..0e825643 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -120,7 +120,7 @@ repos: - --settings=. exclude: /__init__\.py$ - repo: https://github.com/acsone/setuptools-odoo - rev: "3.3" + rev: 3.3.2 hooks: - id: setuptools-odoo-make-default - id: setuptools-odoo-get-requirements diff --git a/.travis.yml b/.travis.yml index 3a3fb053..32018edc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,10 @@ language: python +sudo: false +cache: pip python: - "3.6" -sudo: false -cache: pip - addons: postgresql: "9.6" apt: @@ -15,7 +14,7 @@ addons: env: global: - - VERSION="16.0" TESTS="0" LINT_CHECK="0" + - VERSION="16.0" TESTS="0" LINT_CHECK="0" WKHTMLTOPDF_VERSION="0.12.4" matrix: - LINT_CHECK="1" - TESTS="1" ODOO_REPO="OCA/OCB" @@ -25,10 +24,11 @@ install: - git clone --depth=1 https://github.com/avanzosc/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} + - pip install unidecode - travis_install_nightly script: - - travis_wait travis_run_tests + - travis_run_tests after_success: - travis_after_tests_success diff --git a/LICENSE b/LICENSE index 3ffc5678..be3f7b28 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ -GNU AFFERO GENERAL PUBLIC LICENSE + GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -633,8 +633,8 @@ the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -643,7 +643,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -658,4 +658,4 @@ specific requirements. You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see -. \ No newline at end of file +. diff --git a/README.md b/README.md index f3cadc42..f62ba63c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,6 @@ -[![Build Status](https://travis-ci.org/avanzosc/crm-addons.svg?branch=16.0)](https://travis-ci.org/avanzosc/crm-addons) -[![Coverage Status](https://coveralls.io/repos/github/avanzosc/crm-addons/badge.svg?branch=16.0)](https://coveralls.io/github/avanzosc/crm-addons?branch=16.0) +[![pre-commit](https://github.com/avanzosc/crm-addons/actions/workflows/pre-commit.yml/badge.svg?branch=16.0)](https://github.com/avanzosc/crm-addons/actions/workflows/pre-commit.yml) CRM Odoo addons =============== CRM modules for Odoo - -