forked from Techsystech/web
[IMP] update dotfiles
parent
5dc42ccd75
commit
d8f5f2dba2
|
@ -1,8 +1,7 @@
|
||||||
# Do NOT update manually; changes here will be overwritten by Copier
|
# Do NOT update manually; changes here will be overwritten by Copier
|
||||||
_commit: v1.16.0
|
_commit: v1.17.2
|
||||||
_src_path: gh:oca/oca-addons-repo-template
|
_src_path: gh:oca/oca-addons-repo-template
|
||||||
ci: GitHub
|
ci: GitHub
|
||||||
dependency_installation_mode: PIP
|
|
||||||
generate_requirements_txt: true
|
generate_requirements_txt: true
|
||||||
github_check_license: true
|
github_check_license: true
|
||||||
github_ci_extra_env: {}
|
github_ci_extra_env: {}
|
||||||
|
@ -20,6 +19,4 @@ repo_description: 'TODO: add repo description.'
|
||||||
repo_name: web
|
repo_name: web
|
||||||
repo_slug: web
|
repo_slug: web
|
||||||
repo_website: https://github.com/OCA/web
|
repo_website: https://github.com/OCA/web
|
||||||
travis_apt_packages: []
|
|
||||||
travis_apt_sources: []
|
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: "3.11"
|
||||||
- name: Get python version
|
- name: Get python version
|
||||||
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
|
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
|
@ -25,6 +27,15 @@ jobs:
|
||||||
run: pip install pre-commit
|
run: pip install pre-commit
|
||||||
- name: Run pre-commit
|
- name: Run pre-commit
|
||||||
run: pre-commit run --all-files --show-diff-on-failure --color=always
|
run: pre-commit run --all-files --show-diff-on-failure --color=always
|
||||||
|
env:
|
||||||
|
# Consider valid a PR that changes README fragments but doesn't
|
||||||
|
# change the README.rst file itself. It's not really a problem
|
||||||
|
# because the bot will update it anyway after merge. This way, we
|
||||||
|
# lower the barrier for functional contributors that want to fix the
|
||||||
|
# readme fragments, while still letting developers get README
|
||||||
|
# auto-generated (which also helps functionals when using runboat).
|
||||||
|
# DOCS https://pre-commit.com/#temporarily-disabling-hooks
|
||||||
|
SKIP: oca-gen-addon-readme
|
||||||
- name: Check that all files generated by pre-commit are in git
|
- name: Check that all files generated by pre-commit are in git
|
||||||
run: |
|
run: |
|
||||||
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
|
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
|
||||||
|
|
|
@ -12,6 +12,8 @@ exclude: |
|
||||||
/static/(src/)?lib/|
|
/static/(src/)?lib/|
|
||||||
# Repos using Sphinx to generate docs don't need prettying
|
# Repos using Sphinx to generate docs don't need prettying
|
||||||
^docs/_templates/.*\.html$|
|
^docs/_templates/.*\.html$|
|
||||||
|
# Don't bother non-technical authors with formatting issues in docs
|
||||||
|
readme/.*\.(rst|md)$|
|
||||||
# You don't usually want a bot to modify your legal texts
|
# You don't usually want a bot to modify your legal texts
|
||||||
(LICENSE.*|COPYING.*)
|
(LICENSE.*|COPYING.*)
|
||||||
default_language_version:
|
default_language_version:
|
||||||
|
@ -43,6 +45,7 @@ repos:
|
||||||
args:
|
args:
|
||||||
- --addons-dir=.
|
- --addons-dir=.
|
||||||
- --branch=16.0
|
- --branch=16.0
|
||||||
|
- --org-name=OCA
|
||||||
- --repo-name=web
|
- --repo-name=web
|
||||||
- --if-source-changed
|
- --if-source-changed
|
||||||
- repo: https://github.com/OCA/odoo-pre-commit-hooks
|
- repo: https://github.com/OCA/odoo-pre-commit-hooks
|
||||||
|
|
Loading…
Reference in New Issue