Skip to content

Commit 08fb5bc

Browse files
committed
[IMP] update dotfiles
1 parent 5cdaae6 commit 08fb5bc

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

.copier-answers.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.17.2
2+
_commit: v1.21.1
33
_src_path: gh:oca/oca-addons-repo-template
44
ci: Travis
5+
convert_readme_fragments_to_markdown: false
56
dependency_installation_mode: PIP
67
generate_requirements_txt: true
78
github_enable_stale_action: true
@@ -17,4 +18,6 @@ repo_slug: department
1718
repo_website: https://github.com/OCA/department
1819
travis_apt_packages: []
1920
travis_apt_sources: []
21+
use_pyproject_toml: false
22+
use_ruff: false
2023

.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

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ __pycache__/
33
*.py[cod]
44
/.venv
55
/.pytest_cache
6+
/.ruff_cache
67

78
# C extensions
89
*.so

.oca_hooks.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[MESSAGES_CONTROL]
2+
disable=xml-deprecated-data-node,xml-deprecated-tree-attribute

.pre-commit-config.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ exclude: |
1414
^docs/_templates/.*\.html$|
1515
# Don't bother non-technical authors with formatting issues in docs
1616
readme/.*\.(rst|md)$|
17+
# Ignore build and dist directories in addons
18+
/build/|/dist/|
19+
# Ignore test files in addons
20+
/tests/samples/.*|
1721
# You don't usually want a bot to modify your legal texts
1822
(LICENSE.*|COPYING.*)
1923
default_language_version:
@@ -35,7 +39,7 @@ repos:
3539
language: fail
3640
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
3741
- repo: https://github.com/oca/maintainer-tools
38-
rev: 969238e47c07d0c40573acff81d170f63245d738
42+
rev: 9a170331575a265c092ee6b24b845ec508e8ef75
3943
hooks:
4044
# update the NOT INSTALLABLE ADDONS section above
4145
- id: oca-update-pre-commit-excluded-addons
@@ -48,6 +52,7 @@ repos:
4852
- --org-name=OCA
4953
- --repo-name=department
5054
- --if-source-changed
55+
- --keep-source-digest
5156
- repo: https://github.com/OCA/odoo-pre-commit-hooks
5257
rev: v0.0.25
5358
hooks:

0 commit comments

Comments
 (0)