Skip to content

Commit 4022a92

Browse files
[IMP] dotfiles: Use pyproject.toml instead of setup.py (#2)
1 parent 63eb387 commit 4022a92

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ repo_description: ''
2222
repo_name: SMI OCA
2323
repo_slug: smi-oca
2424
repo_website: ''
25-
use_pyproject_toml: false
25+
use_pyproject_toml: true
2626
use_ruff: true
2727

.pre-commit-config.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ repos:
3838
entry: found a en.po file
3939
language: fail
4040
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
41+
- repo: https://github.com/sbidoul/whool
42+
rev: v1.2
43+
hooks:
44+
- id: whool-init
4145
- repo: https://github.com/oca/maintainer-tools
4246
rev: bf9ecb9938b6a5deca0ff3d870fbd3f33341fded
4347
hooks:
@@ -54,6 +58,7 @@ repos:
5458
# - --if-source-changed
5559
# - --keep-source-digest
5660
# - --convert-fragments-to-markdown
61+
- id: oca-gen-external-dependencies
5762
- repo: https://github.com/OCA/odoo-pre-commit-hooks
5863
rev: v0.0.33
5964
hooks:
@@ -113,16 +118,6 @@ repos:
113118
- id: check-xml
114119
- id: mixed-line-ending
115120
args: ["--fix=lf"]
116-
- repo: https://github.com/acsone/setuptools-odoo
117-
rev: 3.1.8
118-
hooks:
119-
- id: setuptools-odoo-make-default
120-
- id: setuptools-odoo-get-requirements
121-
args:
122-
- --output
123-
- requirements.txt
124-
- --header
125-
- "# generated from manifests external_dependencies"
126121
- repo: https://github.com/astral-sh/ruff-pre-commit
127122
rev: v0.6.8
128123
hooks:

0 commit comments

Comments
 (0)