Commit d01b37a 1 parent 341e34e commit d01b37a Copy full SHA for d01b37a
File tree 5 files changed +11
-6
lines changed
5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Do NOT update manually; changes here will be overwritten by Copier
2
- _commit : v1.19
2
+ _commit : v1.21.1
3
3
_src_path : gh:oca/oca-addons-repo-template
4
4
additional_ruff_rules : []
5
5
ci : GitHub
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Stale PRs and issues policy
12
- uses : actions/stale@v4
12
+ uses : actions/stale@v9
13
13
with :
14
14
repo-token : ${{ secrets.GITHUB_TOKEN }}
15
15
# General settings.
48
48
# * Issues that are pending more information
49
49
# * Except Issues marked as "no stale"
50
50
- name : Needs more information stale issues policy
51
- uses : actions/stale@v4
51
+ uses : actions/stale@v9
52
52
with :
53
53
repo-token : ${{ secrets.GITHUB_TOKEN }}
54
54
ascending : true
Original file line number Diff line number Diff line change 63
63
run : oca_init_test_database
64
64
- name : Run tests
65
65
run : oca_run_tests
66
- - uses : codecov/codecov-action@v1
66
+ - uses : codecov/codecov-action@v4
67
+ with :
68
+ token : ${{ secrets.CODECOV_TOKEN }}
67
69
- name : Update .pot files
68
70
run : oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
69
71
if : ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ exclude: |
16
16
readme/.*\.(rst|md)$|
17
17
# Ignore build and dist directories in addons
18
18
/build/|/dist/|
19
+ # Ignore test files in addons
20
+ /tests/samples/.*|
19
21
# You don't usually want a bot to modify your legal texts
20
22
(LICENSE.*|COPYING.*)
21
23
default_language_version :
41
43
hooks :
42
44
- id : whool-init
43
45
- repo : https://github.com/oca/maintainer-tools
44
- rev : f71041f22b8cd68cf7c77b73a14ca8d8cd190a60
46
+ rev : 9a170331575a265c092ee6b24b845ec508e8ef75
45
47
hooks :
46
48
# update the NOT INSTALLABLE ADDONS section above
47
49
- id : oca-update-pre-commit-excluded-addons
@@ -110,7 +112,7 @@ repos:
110
112
args : [--fix, --exit-non-zero-on-fix]
111
113
- id : ruff-format
112
114
- repo : https://github.com/OCA/pylint-odoo
113
- rev : v8 .0.19
115
+ rev : v9 .0.4
114
116
hooks :
115
117
- id : pylint_odoo
116
118
name : pylint with optional checks
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ fix = true
6
6
extend-select = [
7
7
" B" ,
8
8
" C90" ,
9
+ " E501" , # line too long (default 88)
9
10
" I" , # isort
10
11
" UP" , # pyupgrade
11
12
]
You can’t perform that action at this time.
0 commit comments