Skip to content

Commit af0759d

Browse files
[T-5944][ADD] Repository changes
1 parent b44a30d commit af0759d

9 files changed

Lines changed: 38 additions & 36 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ github_enable_stale_action: true
1313
github_enforce_dev_status_compatibility: true
1414
include_wkhtmltopdf: false
1515
odoo_test_flavor: Both
16-
odoo_version: 15.0
16+
odoo_version: 17.0
1717
org_name: Sygel, Odoo Community Association (OCA)
1818
org_slug: sygel-technology
1919
rebel_module_groups: []

.eslintrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44

55
# See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449
66
parserOptions:
7-
ecmaVersion: 2019
7+
ecmaVersion: 2022
88

99
overrides:
1010
- files:

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: pre-commit
33
on:
44
pull_request:
55
branches:
6-
- "15.0*"
6+
- "17.0*"
77
push:
88
branches:
9-
- "15.0"
10-
- "15.0-ocabot-*"
9+
- "17.0"
10+
- "17.0-ocabot-*"
1111

1212
jobs:
1313
pre-commit:

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: tests
33
on:
44
pull_request:
55
branches:
6-
- "15.0*"
6+
- "17.0*"
77
push:
88
branches:
9-
- "15.0"
10-
- "15.0-ocabot-*"
9+
- "17.0"
10+
- "17.0-ocabot-*"
1111

1212
jobs:
1313
unreleased-deps:
@@ -35,14 +35,14 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
include:
38-
- container: ghcr.io/oca/oca-ci/py3.8-odoo15.0:latest
38+
- container: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest
3939
name: test with Odoo
40-
- container: ghcr.io/oca/oca-ci/py3.8-ocb15.0:latest
40+
- container: ghcr.io/oca/oca-ci/py3.10-ocb17.0:latest
4141
name: test with OCB
4242
makepot: "false"
4343
services:
4444
postgres:
45-
image: postgres:9.6
45+
image: postgres:12.0
4646
env:
4747
POSTGRES_USER: odoo
4848
POSTGRES_PASSWORD: odoo

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exclude: |
2222
(LICENSE.*|COPYING.*)
2323
default_language_version:
2424
python: python3
25-
node: "14.18.0"
25+
node: "16.17.0"
2626
repos:
2727
- repo: local
2828
hooks:
@@ -52,7 +52,7 @@ repos:
5252
- id: oca-gen-addon-readme
5353
args:
5454
- --addons-dir=.
55-
- --branch=15.0
55+
- --branch=17.0
5656
- --org-name=sygel-technology
5757
- --repo-name=sy-account-analytic
5858
- --if-source-changed
@@ -65,26 +65,26 @@ repos:
6565
- id: oca-checks-odoo-module
6666
- id: oca-checks-po
6767
- repo: https://github.com/pre-commit/mirrors-prettier
68-
rev: v2.4.1
68+
rev: v2.7.1
6969
hooks:
7070
- id: prettier
7171
name: prettier (with plugin-xml)
7272
additional_dependencies:
73-
- "prettier@2.4.1"
74-
- "@prettier/plugin-xml@1.1.0"
73+
- "prettier@2.7.1"
74+
- "@prettier/plugin-xml@2.2.0"
7575
args:
7676
- --plugin=@prettier/plugin-xml
7777
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
7878
- repo: https://github.com/pre-commit/mirrors-eslint
79-
rev: v7.32.0
79+
rev: v8.24.0
8080
hooks:
8181
- id: eslint
8282
verbose: true
8383
args:
8484
- --color
8585
- --fix
8686
- repo: https://github.com/pre-commit/pre-commit-hooks
87-
rev: v4.0.1
87+
rev: v4.3.0
8888
hooks:
8989
- id: trailing-whitespace
9090
# exclude autogenerated files
@@ -112,7 +112,7 @@ repos:
112112
args: [--fix, --exit-non-zero-on-fix]
113113
- id: ruff-format
114114
- repo: https://github.com/OCA/pylint-odoo
115-
rev: 7.0.5
115+
rev: v9.0.4
116116
hooks:
117117
- id: pylint_odoo
118118
name: pylint with optional checks

.pylintrc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ load-plugins=pylint_odoo
55
score=n
66

77
[ODOOLINT]
8-
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
9-
manifest_required_authors=Sygel, Odoo Community Association (OCA)
10-
manifest_required_keys=license
11-
manifest_deprecated_keys=description,active
12-
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
13-
valid_odoo_versions=15.0
8+
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
9+
manifest-required-authors=Sygel, Odoo Community Association (OCA)
10+
manifest-required-keys=license
11+
manifest-deprecated-keys=description,active
12+
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
13+
valid-odoo-versions=17.0
1414

1515
[MESSAGES CONTROL]
1616
disable=all
@@ -98,6 +98,7 @@ enable=anomalous-backslash-in-string,
9898
xml-attribute-translatable,
9999
xml-deprecated-qweb-directive,
100100
xml-deprecated-tree-attribute,
101+
external-request-timeout,
101102
# messages that do not cause the lint step to fail
102103
consider-merging-classes-inherited,
103104
create-user-wo-reset-password,

.pylintrc-mandatory

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ load-plugins=pylint_odoo
44
score=n
55

66
[ODOOLINT]
7-
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
8-
manifest_required_authors=Sygel, Odoo Community Association (OCA)
9-
manifest_required_keys=license
10-
manifest_deprecated_keys=description,active
11-
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
12-
valid_odoo_versions=15.0
7+
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
8+
manifest-required-authors=Sygel, Odoo Community Association (OCA)
9+
manifest-required-keys=license
10+
manifest-deprecated-keys=description,active
11+
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
12+
valid-odoo-versions=17.0
1313

1414
[MESSAGES CONTROL]
1515
disable=all
@@ -89,7 +89,8 @@ enable=anomalous-backslash-in-string,
8989
website-manifest-key-not-valid-uri,
9090
xml-attribute-translatable,
9191
xml-deprecated-qweb-directive,
92-
xml-deprecated-tree-attribute
92+
xml-deprecated-tree-attribute,
93+
external-request-timeout
9394

9495
[REPORTS]
9596
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}

.ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
target-version = "py38"
2+
target-version = "py310"
33
fix = true
44

55
[lint]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
<!-- /!\ Non OCA Context : Set here the badge of your runbot / runboat instance. -->
3-
[![Pre-commit Status](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/pre-commit.yml/badge.svg?branch=15.0)](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/pre-commit.yml?query=branch%3A15.0)
4-
[![Build Status](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/test.yml/badge.svg?branch=15.0)](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/test.yml?query=branch%3A15.0)
5-
[![codecov](https://codecov.io/gh/sygel-technology/sy-account-analytic/branch/15.0/graph/badge.svg)](https://codecov.io/gh/sygel-technology/sy-account-analytic)
3+
[![Pre-commit Status](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/pre-commit.yml/badge.svg?branch=17.0)](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/pre-commit.yml?query=branch%3A17.0)
4+
[![Build Status](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/test.yml/badge.svg?branch=17.0)](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/test.yml?query=branch%3A17.0)
5+
[![codecov](https://codecov.io/gh/sygel-technology/sy-account-analytic/branch/17.0/graph/badge.svg)](https://codecov.io/gh/sygel-technology/sy-account-analytic)
66
<!-- /!\ Non OCA Context : Set here the badge of your translation instance. -->
77

88
<!-- /!\ do not modify above this line -->

0 commit comments

Comments
 (0)