From 648d93312c1f959cebade59fcf1ed803208e5712 Mon Sep 17 00:00:00 2001 From: oca-git-bot Date: Wed, 10 Nov 2021 22:06:34 +0100 Subject: [PATCH] [IMP] update dotfiles [ci skip] --- .copier-answers.yml | 2 +- .eslintrc.yml | 6 ++++++ .github/workflows/pre-commit.yml | 5 ++++- CONTRIBUTING.md | 10 ---------- 4 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 CONTRIBUTING.md diff --git a/.copier-answers.yml b/.copier-answers.yml index 14345f937..f2684b075 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.4 +_commit: v1.3.6 _src_path: https://github.com/OCA/oca-addons-repo-template.git ci: Travis dependency_installation_mode: PIP diff --git a/.eslintrc.yml b/.eslintrc.yml index 16a185f1b..d4cc423cc 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 282a1fa70..80ab1a211 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,5 +13,8 @@ jobs: with: # The pylint-odoo version we use here does not support python 3.10 # https://github.com/OCA/oca-addons-repo-template/issues/80 - python-version: "3.9" + # 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.9.7" - uses: pre-commit/action@v2.0.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 9ac71fee4..000000000 --- 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.