-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116 from akretion/14.0-update-copier
Update copier
- Loading branch information
Showing
20 changed files
with
135 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
# Do NOT update manually; changes here will be overwritten by Copier | ||
_commit: v1.1.2 | ||
_src_path: git+https://github.com/shopinvader/shopinvader-addons-repo-template | ||
black_version: 20.8b1 | ||
_commit: v1.14.2 | ||
_src_path: https://github.com/OCA/oca-addons-repo-template | ||
ci: GitHub | ||
dependency_installation_mode: PIP | ||
generate_requirements_txt: true | ||
odoo_version: '14.0' | ||
prettify_xml: true | ||
python_line_length: 88 | ||
github_check_license: false | ||
github_ci_extra_env: {} | ||
github_enable_codecov: true | ||
github_enable_makepot: false | ||
github_enable_stale_action: false | ||
github_enforce_dev_status_compatibility: false | ||
include_wkhtmltopdf: false | ||
odoo_version: 14.0 | ||
org_name: Shopinvader | ||
org_slug: shopinvader | ||
rebel_module_groups: [] | ||
repo_description: null | ||
repo_name: Pattern Import Export | ||
repo_slug: pattern-import-export | ||
repo_website: https://github.com/Shopinvader/pattern-import-export | ||
travis_apt_packages: [] | ||
travis_apt_sources: [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,34 @@ name: pre-commit | |
|
||
on: | ||
pull_request: | ||
branches: | ||
- "14.0*" | ||
push: | ||
branches: | ||
- "14.0" | ||
- "14.0-ocabot-*" | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- name: Get python version | ||
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV | ||
- uses: actions/cache@v1 | ||
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.9.7" | ||
- uses: pre-commit/[email protected] | ||
path: ~/.cache/pre-commit | ||
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} | ||
- name: Install pre-commit | ||
run: pip install pre-commit | ||
- name: Run pre-commit | ||
run: pre-commit run --all-files --show-diff-on-failure --color=always | ||
- name: Check that all files generated by pre-commit are in git | ||
run: | | ||
newfiles="$(git ls-files --others --exclude-from=.gitignore)" | ||
if [ "$newfiles" != "" ] ; then | ||
echo "Please check-in the following files:" | ||
echo "$newfiles" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
diff a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml (rejected hunks) | ||
@@ -12,2 +12,6 @@ jobs: | ||
@@ -12,2 +12,9 @@ jobs: | ||
- 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 | ||
+ 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/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,6 @@ build/ | |
develop-eggs/ | ||
dist/ | ||
eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.