Skip to content

Commit 7f0aac1

Browse files
committed
[UPD] Copier update
1 parent 8f81c97 commit 7f0aac1

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
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.20
33
_src_path: gh:oca/oca-addons-repo-template
44
ci: GitHub
5+
convert_readme_fragments_to_markdown: false
56
generate_requirements_txt: true
67
github_check_license: true
78
github_ci_extra_env: {}
@@ -19,4 +20,6 @@ repo_description: 'TODO: add repo description.'
1920
repo_name: delivery-carrier
2021
repo_slug: delivery-carrier
2122
repo_website: https://github.com/OCA/delivery-carrier
23+
use_pyproject_toml: false
24+
use_ruff: false
2225

.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

.pre-commit-config.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ 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/|
1719
# You don't usually want a bot to modify your legal texts
1820
(LICENSE.*|COPYING.*)
1921
default_language_version:
@@ -35,7 +37,7 @@ repos:
3537
language: fail
3638
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
3739
- repo: https://github.com/oca/maintainer-tools
38-
rev: 969238e47c07d0c40573acff81d170f63245d738
40+
rev: 9a170331575a265c092ee6b24b845ec508e8ef75
3941
hooks:
4042
# update the NOT INSTALLABLE ADDONS section above
4143
- id: oca-update-pre-commit-excluded-addons
@@ -48,6 +50,7 @@ repos:
4850
- --org-name=OCA
4951
- --repo-name=delivery-carrier
5052
- --if-source-changed
53+
- --keep-source-digest
5154
- repo: https://github.com/OCA/odoo-pre-commit-hooks
5255
rev: v0.0.25
5356
hooks:

0 commit comments

Comments
 (0)