mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Update copier template
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
# Do NOT update manually; changes here will be overwritten by Copier
|
# Do NOT update manually; changes here will be overwritten by Copier
|
||||||
_commit: v1.17.2
|
_commit: v1.26
|
||||||
_src_path: gh:oca/oca-addons-repo-template
|
_src_path: gh:oca/oca-addons-repo-template
|
||||||
ci: GitHub
|
ci: GitHub
|
||||||
|
convert_readme_fragments_to_markdown: false
|
||||||
|
enable_checklog_odoo: false
|
||||||
generate_requirements_txt: true
|
generate_requirements_txt: true
|
||||||
github_check_license: true
|
github_check_license: true
|
||||||
github_ci_extra_env: {}
|
github_ci_extra_env: {}
|
||||||
@@ -19,4 +21,6 @@ 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
|
||||||
|
use_pyproject_toml: false
|
||||||
|
use_ruff: false
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/stale.yml
vendored
4
.github/workflows/stale.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Stale PRs and issues policy
|
- name: Stale PRs and issues policy
|
||||||
uses: actions/stale@v4
|
uses: actions/stale@v9
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# General settings.
|
# General settings.
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
# * Issues that are pending more information
|
# * Issues that are pending more information
|
||||||
# * Except Issues marked as "no stale"
|
# * Except Issues marked as "no stale"
|
||||||
- name: Needs more information stale issues policy
|
- name: Needs more information stale issues policy
|
||||||
uses: actions/stale@v4
|
uses: actions/stale@v9
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
ascending: true
|
ascending: true
|
||||||
|
|||||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -63,7 +63,9 @@ jobs:
|
|||||||
run: oca_init_test_database
|
run: oca_init_test_database
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: oca_run_tests
|
run: oca_run_tests
|
||||||
- uses: codecov/codecov-action@v1
|
- uses: codecov/codecov-action@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
- name: Update .pot files
|
- name: Update .pot files
|
||||||
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
|
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
|
||||||
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
|
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
|
||||||
|
|||||||
14
.gitignore
vendored
14
.gitignore
vendored
@@ -3,6 +3,7 @@ __pycache__/
|
|||||||
*.py[cod]
|
*.py[cod]
|
||||||
/.venv
|
/.venv
|
||||||
/.pytest_cache
|
/.pytest_cache
|
||||||
|
/.ruff_cache
|
||||||
|
|
||||||
# C extensions
|
# C extensions
|
||||||
*.so
|
*.so
|
||||||
@@ -24,6 +25,19 @@ var/
|
|||||||
*.egg
|
*.egg
|
||||||
*.eggs
|
*.eggs
|
||||||
|
|
||||||
|
# Windows installers
|
||||||
|
*.msi
|
||||||
|
|
||||||
|
# Debian packages
|
||||||
|
*.deb
|
||||||
|
|
||||||
|
# Redhat packages
|
||||||
|
*.rpm
|
||||||
|
|
||||||
|
# MacOS packages
|
||||||
|
*.dmg
|
||||||
|
*.pkg
|
||||||
|
|
||||||
# Installer logs
|
# Installer logs
|
||||||
pip-log.txt
|
pip-log.txt
|
||||||
pip-delete-this-directory.txt
|
pip-delete-this-directory.txt
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ exclude: |
|
|||||||
^docs/_templates/.*\.html$|
|
^docs/_templates/.*\.html$|
|
||||||
# Don't bother non-technical authors with formatting issues in docs
|
# Don't bother non-technical authors with formatting issues in docs
|
||||||
readme/.*\.(rst|md)$|
|
readme/.*\.(rst|md)$|
|
||||||
|
# Ignore build and dist directories in addons
|
||||||
|
/build/|/dist/|
|
||||||
|
# Ignore test files in addons
|
||||||
|
/tests/samples/.*|
|
||||||
# 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:
|
||||||
@@ -35,7 +39,7 @@ repos:
|
|||||||
language: fail
|
language: fail
|
||||||
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
|
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
|
||||||
- repo: https://github.com/oca/maintainer-tools
|
- repo: https://github.com/oca/maintainer-tools
|
||||||
rev: 969238e47c07d0c40573acff81d170f63245d738
|
rev: d5fab7ee87fceee858a3d01048c78a548974d935
|
||||||
hooks:
|
hooks:
|
||||||
# update the NOT INSTALLABLE ADDONS section above
|
# update the NOT INSTALLABLE ADDONS section above
|
||||||
- id: oca-update-pre-commit-excluded-addons
|
- id: oca-update-pre-commit-excluded-addons
|
||||||
@@ -48,11 +52,14 @@ repos:
|
|||||||
- --org-name=OCA
|
- --org-name=OCA
|
||||||
- --repo-name=web
|
- --repo-name=web
|
||||||
- --if-source-changed
|
- --if-source-changed
|
||||||
|
- --keep-source-digest
|
||||||
- repo: https://github.com/OCA/odoo-pre-commit-hooks
|
- repo: https://github.com/OCA/odoo-pre-commit-hooks
|
||||||
rev: v0.0.25
|
rev: v0.0.25
|
||||||
hooks:
|
hooks:
|
||||||
- id: oca-checks-odoo-module
|
- id: oca-checks-odoo-module
|
||||||
- id: oca-checks-po
|
- id: oca-checks-po
|
||||||
|
args:
|
||||||
|
- --disable=po-pretty-format
|
||||||
- repo: https://github.com/myint/autoflake
|
- repo: https://github.com/myint/autoflake
|
||||||
rev: v1.4
|
rev: v1.4
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
Reference in New Issue
Block a user