Skip to content

Commit 0b88fff

Browse files
committed
Update pre-commit config from template
1 parent 5343b42 commit 0b88fff

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: 2f2f7c4
2+
_commit: 0d084b9
33
_src_path: https://github.com/ingadhoc/addons-repo-template.git
44
description: ADHOC Odoo Multi Store Related Addons
55
is_private: false

.github/workflows/pre-commit.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ name: pre-commit
66

77
on:
88
push:
9-
branches: "[0-9][0-9].0"
9+
branches:
10+
- "1[8-9].0"
11+
- "[2-9][0-9].0"
1012
pull_request_target:
13+
branches:
14+
- "1[8-9].0*"
15+
- "[2-9][0-9].0*"
1116

1217
jobs:
1318
pre-commit:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ coverage.xml
6161
# Sphinx documentation
6262
docs/_build/
6363

64+
# Vscode
65+
.vscode/
66+
6467
### macOS ###
6568
# General
6669
.DS_Store

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ repos:
2929
- id: check-docstring-first
3030
- id: check-executables-have-shebangs
3131
- id: check-merge-conflict
32+
args: ['--assume-in-merge']
33+
exclude: '\.(rst|md)$'
3234
- id: check-symlinks
3335
- id: check-xml
3436
- id: check-yaml

0 commit comments

Comments
 (0)