[IMP] update dotfiles
parent
b5e147b336
commit
8c81330dbe
|
@ -1,5 +1,5 @@
|
||||||
# Do NOT update manually; changes here will be overwritten by Copier
|
# Do NOT update manually; changes here will be overwritten by Copier
|
||||||
_commit: v1.19
|
_commit: v1.21.1
|
||||||
_src_path: gh:oca/oca-addons-repo-template
|
_src_path: gh:oca/oca-addons-repo-template
|
||||||
additional_ruff_rules: []
|
additional_ruff_rules: []
|
||||||
ci: GitHub
|
ci: GitHub
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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' }}
|
||||||
|
|
|
@ -16,6 +16,8 @@ exclude: |
|
||||||
readme/.*\.(rst|md)$|
|
readme/.*\.(rst|md)$|
|
||||||
# Ignore build and dist directories in addons
|
# Ignore build and dist directories in addons
|
||||||
/build/|/dist/|
|
/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:
|
||||||
|
@ -41,7 +43,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: whool-init
|
- id: whool-init
|
||||||
- repo: https://github.com/oca/maintainer-tools
|
- repo: https://github.com/oca/maintainer-tools
|
||||||
rev: f71041f22b8cd68cf7c77b73a14ca8d8cd190a60
|
rev: 9a170331575a265c092ee6b24b845ec508e8ef75
|
||||||
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
|
||||||
|
@ -110,7 +112,7 @@ repos:
|
||||||
args: [--fix, --exit-non-zero-on-fix]
|
args: [--fix, --exit-non-zero-on-fix]
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- repo: https://github.com/OCA/pylint-odoo
|
- repo: https://github.com/OCA/pylint-odoo
|
||||||
rev: v8.0.19
|
rev: v9.0.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: pylint_odoo
|
- id: pylint_odoo
|
||||||
name: pylint with optional checks
|
name: pylint with optional checks
|
||||||
|
|
|
@ -6,6 +6,7 @@ fix = true
|
||||||
extend-select = [
|
extend-select = [
|
||||||
"B",
|
"B",
|
||||||
"C90",
|
"C90",
|
||||||
|
"E501", # line too long (default 88)
|
||||||
"I", # isort
|
"I", # isort
|
||||||
"UP", # pyupgrade
|
"UP", # pyupgrade
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue