Skip to content

Commit d01b37a

Browse files
committed
[IMP] update dotfiles
1 parent 341e34e commit d01b37a

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

.copier-answers.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.19
2+
_commit: v1.21.1
33
_src_path: gh:oca/oca-addons-repo-template
44
additional_ruff_rules: []
55
ci: GitHub

.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' }}

.pre-commit-config.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ exclude: |
1616
readme/.*\.(rst|md)$|
1717
# Ignore build and dist directories in addons
1818
/build/|/dist/|
19+
# Ignore test files in addons
20+
/tests/samples/.*|
1921
# You don't usually want a bot to modify your legal texts
2022
(LICENSE.*|COPYING.*)
2123
default_language_version:
@@ -41,7 +43,7 @@ repos:
4143
hooks:
4244
- id: whool-init
4345
- repo: https://github.com/oca/maintainer-tools
44-
rev: f71041f22b8cd68cf7c77b73a14ca8d8cd190a60
46+
rev: 9a170331575a265c092ee6b24b845ec508e8ef75
4547
hooks:
4648
# update the NOT INSTALLABLE ADDONS section above
4749
- id: oca-update-pre-commit-excluded-addons
@@ -110,7 +112,7 @@ repos:
110112
args: [--fix, --exit-non-zero-on-fix]
111113
- id: ruff-format
112114
- repo: https://github.com/OCA/pylint-odoo
113-
rev: v8.0.19
115+
rev: v9.0.4
114116
hooks:
115117
- id: pylint_odoo
116118
name: pylint with optional checks

.ruff.toml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ fix = true
66
extend-select = [
77
"B",
88
"C90",
9+
"E501", # line too long (default 88)
910
"I", # isort
1011
"UP", # pyupgrade
1112
]

0 commit comments

Comments
 (0)