[IMP] update dotfiles

pull/1279/head
oca-git-bot 2025-02-01 20:43:56 +00:00
parent b9cb235943
commit 26fb263f2d
5 changed files with 10 additions and 6 deletions

View File

@ -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.27 _commit: v1.29
_src_path: git+https://github.com/OCA/oca-addons-repo-template _src_path: git+https://github.com/OCA/oca-addons-repo-template
additional_ruff_rules: [] additional_ruff_rules: []
ci: GitHub ci: GitHub

View File

@ -13,13 +13,13 @@ jobs:
pre-commit: pre-commit:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-python@v2 - uses: actions/setup-python@v5
with: with:
python-version: "3.11" python-version: "3.11"
- name: Get python version - name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1 - uses: actions/cache@v4
with: with:
path: ~/.cache/pre-commit path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Detect unreleased dependencies name: Detect unreleased dependencies
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: | - run: |
for reqfile in requirements.txt test-requirements.txt ; do for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then if [ -f ${reqfile} ] ; then
@ -52,7 +52,7 @@ jobs:
env: env:
OCA_ENABLE_CHECKLOG_ODOO: "1" OCA_ENABLE_CHECKLOG_ODOO: "1"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
- name: Install addons and dependencies - name: Install addons and dependencies

View File

@ -10,6 +10,7 @@ extend-select = [
"I", # isort "I", # isort
"UP", # pyupgrade "UP", # pyupgrade
] ]
extend-safe-fixes = ["UP008"]
exclude = ["setup/*"] exclude = ["setup/*"]
[format] [format]

View File

@ -0,0 +1,3 @@
[checklog-odoo]
ignore=
WARNING.* 0 failed, 0 error\(s\).*