mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-13 07:24:48 -06:00
[IMP] update dotfiles
This commit is contained in:
parent
2f19668530
commit
6ad96aa312
@ -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
|
||||||
|
6
.github/workflows/pre-commit.yml
vendored
6
.github/workflows/pre-commit.yml
vendored
@ -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') }}
|
||||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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
|
||||||
|
@ -10,6 +10,7 @@ extend-select = [
|
|||||||
"I", # isort
|
"I", # isort
|
||||||
"UP", # pyupgrade
|
"UP", # pyupgrade
|
||||||
]
|
]
|
||||||
|
extend-safe-fixes = ["UP008"]
|
||||||
exclude = ["setup/*"]
|
exclude = ["setup/*"]
|
||||||
|
|
||||||
[format]
|
[format]
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
[checklog-odoo]
|
[checklog-odoo]
|
||||||
ignore=
|
ignore=
|
||||||
|
<<<<<<< before updating
|
||||||
WARNING.*0 failed, 0 error\(s\).*
|
WARNING.*0 failed, 0 error\(s\).*
|
||||||
|
=======
|
||||||
|
WARNING.* 0 failed, 0 error\(s\).*
|
||||||
|
>>>>>>> after updating
|
||||||
|
Loading…
Reference in New Issue
Block a user