Skip to content

Commit 2c6b0f9

Browse files
[IMP] dotfiles: Use pyproject.toml instead of setup.py
1 parent 63eb387 commit 2c6b0f9

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-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: 4 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:
@@ -113,16 +117,6 @@ repos:
113117
- id: check-xml
114118
- id: mixed-line-ending
115119
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"
126120
- repo: https://github.com/astral-sh/ruff-pre-commit
127121
rev: v0.6.8
128122
hooks:

0 commit comments

Comments
 (0)