Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.30-10-ge34c767
_commit: v1.35
_src_path: /opt/odoo-projects/var/addons-repo-template/
additional_ruff_rules: []
ci: GitHub
Expand All @@ -14,7 +14,7 @@ github_enable_stale_action: false
github_enforce_dev_status_compatibility: false
include_wkhtmltopdf: false
odoo_test_flavor: Odoo
odoo_version: 16.0
odoo_version: 19.0
org_name: IT-Projects LLC
org_slug: it-projects-llc
rebel_module_groups: []
Expand Down
188 changes: 0 additions & 188 deletions .eslintrc.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test-requirements.txt merge=union
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: pre-commit
on:
pull_request:
branches:
- "16.0*"
- "19.0*"
push:
branches:
- "16.0"
- "16.0-ocabot-*"
- "19.0"
- "19.0-ocabot-*"

jobs:
pre-commit:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: tests
on:
pull_request:
branches:
- "16.0*"
- "19.0*"
push:
branches:
- "16.0"
- "16.0-ocabot-*"
- "19.0"
- "19.0-ocabot-*"

jobs:
unreleased-deps:
Expand Down Expand Up @@ -35,12 +35,12 @@ jobs:
fail-fast: false
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest
- container: ghcr.io/oca/oca-ci/py3.10-odoo19.0:latest
name: test with Odoo
makepot: "false"
services:
postgres:
image: postgres:12.0
image: postgres:13
env:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
Expand Down
34 changes: 19 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
exclude: |
(?x)
# NOT INSTALLABLE ADDONS
^bacula2_contacts/|
^bacula2_crm/|
^bacula2_hr_contract/|
^bacula2_hr_holidays/|
^bacula2_reports/|
^bacula2_sale/|
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
Expand All @@ -22,7 +28,7 @@ exclude: |
(LICENSE.*|COPYING.*)
default_language_version:
python: python3
node: "16.17.0"
node: "22.9.0"
repos:
- repo: local
hooks:
Expand All @@ -39,11 +45,11 @@ repos:
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/sbidoul/whool
rev: v1.2
rev: v1.3
hooks:
- id: whool-init
- repo: https://github.com/oca/maintainer-tools
rev: d5fab7ee87fceee858a3d01048c78a548974d935
rev: f9b919b9868143135a9c9cb03021089cabba8223
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
Expand All @@ -52,14 +58,14 @@ repos:
- id: oca-gen-addon-readme
args:
- --addons-dir=.
- --branch=16.0
- --branch=19.0
- --org-name=it-projects-llc
- --repo-name=bacula-addons
- --if-source-changed
- --keep-source-digest
- id: oca-gen-external-dependencies
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.0.25
rev: v0.1.6
hooks:
- id: oca-checks-odoo-module
- id: oca-checks-po
Expand All @@ -78,8 +84,8 @@ repos:
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
language: node
additional_dependencies:
- "prettier@2.7.1"
- "@prettier/plugin-xml@2.2.0"
- "prettier@3.6.2"
- "@prettier/plugin-xml@3.4.2"
- repo: local
hooks:
- id: eslint
Expand All @@ -92,11 +98,11 @@ repos:
types: [javascript]
language: node
additional_dependencies:
- "eslint@8.24.0"
- "eslint-plugin-jsdoc@"
- "globals@"
- "eslint@9.35.0"
- "eslint-plugin-jsdoc@57.0.8"
- "globals@16.0.0"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
# exclude autogenerated files
Expand All @@ -105,8 +111,6 @@ repos:
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
- id: debug-statements
- id: fix-encoding-pragma
args: ["--remove"]
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
Expand All @@ -118,13 +122,13 @@ repos:
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.3
rev: v0.13.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/OCA/pylint-odoo
rev: v8.0.19
rev: v9.3.15
hooks:
- id: pylint_odoo
name: pylint with optional checks
Expand Down
8 changes: 0 additions & 8 deletions .prettierrc.yml

This file was deleted.

Loading
Loading