Skip to content

Commit e19ad52

Browse files
committed
[IMP] update dotfiles
1 parent 68629e8 commit e19ad52

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

.copier-answers.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.17.2
2+
_commit: v1.21.1
33
_src_path: gh:oca/oca-addons-repo-template
44
ci: GitHub
5+
convert_readme_fragments_to_markdown: false
56
generate_requirements_txt: true
67
github_check_license: true
78
github_ci_extra_env: {}
@@ -19,4 +20,6 @@ repo_description: Maintenance modules
1920
repo_name: maintenance
2021
repo_slug: maintenance
2122
repo_website: https://github.com/OCA/maintenance
23+
use_pyproject_toml: false
24+
use_ruff: false
2225

.github/workflows/stale.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Stale PRs and issues policy
12-
uses: actions/stale@v4
12+
uses: actions/stale@v9
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
1515
# General settings.
@@ -48,7 +48,7 @@ jobs:
4848
# * Issues that are pending more information
4949
# * Except Issues marked as "no stale"
5050
- name: Needs more information stale issues policy
51-
uses: actions/stale@v4
51+
uses: actions/stale@v9
5252
with:
5353
repo-token: ${{ secrets.GITHUB_TOKEN }}
5454
ascending: true

.github/workflows/test.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ jobs:
6363
run: oca_init_test_database
6464
- name: Run tests
6565
run: oca_run_tests
66-
- uses: codecov/codecov-action@v1
66+
- uses: codecov/codecov-action@v4
67+
with:
68+
token: ${{ secrets.CODECOV_TOKEN }}
6769
- name: Update .pot files
6870
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
6971
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ __pycache__/
33
*.py[cod]
44
/.venv
55
/.pytest_cache
6+
/.ruff_cache
67

78
# C extensions
89
*.so

.oca_hooks.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[MESSAGES_CONTROL]
2+
disable=xml-deprecated-data-node,xml-deprecated-tree-attribute

.pre-commit-config.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ exclude: |
1414
^docs/_templates/.*\.html$|
1515
# Don't bother non-technical authors with formatting issues in docs
1616
readme/.*\.(rst|md)$|
17+
# Ignore build and dist directories in addons
18+
/build/|/dist/|
19+
# Ignore test files in addons
20+
/tests/samples/.*|
1721
# You don't usually want a bot to modify your legal texts
1822
(LICENSE.*|COPYING.*)
1923
default_language_version:
@@ -35,7 +39,7 @@ repos:
3539
language: fail
3640
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
3741
- repo: https://github.com/oca/maintainer-tools
38-
rev: 969238e47c07d0c40573acff81d170f63245d738
42+
rev: 9a170331575a265c092ee6b24b845ec508e8ef75
3943
hooks:
4044
# update the NOT INSTALLABLE ADDONS section above
4145
- id: oca-update-pre-commit-excluded-addons
@@ -48,6 +52,7 @@ repos:
4852
- --org-name=OCA
4953
- --repo-name=maintenance
5054
- --if-source-changed
55+
- --keep-source-digest
5156
- repo: https://github.com/OCA/odoo-pre-commit-hooks
5257
rev: v0.0.25
5358
hooks:

0 commit comments

Comments
 (0)