File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Do NOT update manually; changes here will be overwritten by Copier
2- _commit : v1.27
2+ _commit : v1.33
33_src_path : https://github.com/OCA/oca-addons-repo-template.git
44additional_ruff_rules : []
55ci : GitHub
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ jobs:
1313 pre-commit :
1414 runs-on : ubuntu-22.04
1515 steps :
16- - uses : actions/checkout@v3
17- - uses : actions/setup-python@v2
16+ - uses : actions/checkout@v4
17+ - uses : actions/setup-python@v5
1818 with :
1919 python-version : " 3.11"
2020 - name : Get python version
2121 run : echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
22- - uses : actions/cache@v1
22+ - uses : actions/cache@v4
2323 with :
2424 path : ~/.cache/pre-commit
2525 key : pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 name : Detect unreleased dependencies
1616 steps :
17- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v4
1818 - run : |
1919 for reqfile in requirements.txt test-requirements.txt ; do
2020 if [ -f ${reqfile} ] ; then
5252 env :
5353 PIP_INDEX_URL : " https://pypi.org/simple/"
5454 steps :
55- - uses : actions/checkout@v3
55+ - uses : actions/checkout@v4
5656 with :
5757 persist-credentials : false
5858 - name : Install addons and dependencies
Original file line number Diff line number Diff line change 4343 hooks :
4444 - id : whool-init
4545 - repo : https://github.com/oca/maintainer-tools
46- rev : d5fab7ee87fceee858a3d01048c78a548974d935
46+ rev : f9b919b9868143135a9c9cb03021089cabba8223
4747 hooks :
4848 # update the NOT INSTALLABLE ADDONS section above
4949 - id : oca-update-pre-commit-excluded-addons
9595 additional_dependencies :
9696 - " eslint@8.24.0"
9797 - " eslint-plugin-jsdoc@"
98+ - " globals@"
9899 - repo : https://github.com/pre-commit/pre-commit-hooks
99100 rev : v4.3.0
100101 hooks :
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ extend-select = [
1010 " I" , # isort
1111 " UP" , # pyupgrade
1212]
13+ extend-safe-fixes = [" UP008" ]
1314exclude = [" setup/*" ]
1415
1516[format ]
You can’t perform that action at this time.
0 commit comments