From e757c2a2dd8fb267aae33289fdfadb5197212709 Mon Sep 17 00:00:00 2001 From: oca-git-bot Date: Wed, 10 Nov 2021 22:41:15 +0100 Subject: [PATCH] [IMP] update dotfiles [ci skip] --- .copier-answers.yml | 2 +- .eslintrc.yml | 6 ++++++ .github/workflows/pre-commit.yml | 7 +++++++ CONTRIBUTING.md | 10 ---------- 4 files changed, 14 insertions(+), 11 deletions(-) delete mode 100644 CONTRIBUTING.md diff --git a/.copier-answers.yml b/.copier-answers.yml index e296f6d..7db6c21 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.3.3 +_commit: v1.3.6 _src_path: gh:oca/oca-addons-repo-template ci: GitHub dependency_installation_mode: PIP diff --git a/.eslintrc.yml b/.eslintrc.yml index 16a185f..d4cc423 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -6,6 +6,12 @@ env: parserOptions: ecmaVersion: 2017 +overrides: + - files: + - "**/*.esm.js" + parserOptions: + sourceType: module + # Globals available in Odoo that shouldn't produce errorings globals: _: readonly diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 335381c..4ed0e92 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -10,4 +10,11 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 + with: + # The pylint-odoo version we use here does not support python 3.10 + # https://github.com/OCA/oca-addons-repo-template/issues/80 + # We also need to pin to an older version of python for older odoo versions + # where we are not using black > 21. Older black versions won't work with + # Python 3.9.8+, and we can't bump black without reformatting. + python-version: "3.10" - uses: pre-commit/action@v2.0.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 9ac71fe..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,10 +0,0 @@ -# OCA Guidelines - -Please follow the official guide from the -[OCA Guidelines page](https://odoo-community.org/page/contributing). - -## Project Specific Guidelines - - - -This project does not have specific coding guidelines.