Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
949d066
[REM] stale.yml
carmenbianca Feb 23, 2022
af80943
[IMP] Add CIE-specific instructions to README
carmenbianca Feb 23, 2022
5ffded1
[ADD] Enable many more checks for sub-13 projects
carmenbianca Feb 23, 2022
f42c830
[FIX] Update black, flake8, prettier, and pylint
carmenbianca Feb 24, 2022
8fb5bb2
[ADD] GitHub pull request template
carmenbianca Feb 24, 2022
9ec5f84
[FIX] Remove unreleased-deps check
carmenbianca Mar 8, 2022
90c9a17
[FIX] Save electricity by running fewer tests
carmenbianca Mar 9, 2022
15abbd6
Merge branch 'master' into custom
robinkeunen Nov 7, 2022
2af58eb
[REM] stale.yml jinja template
robinkeunen Nov 7, 2022
9c13dd3
Merge branch 'master' into custom
carmenbianca Nov 25, 2022
d001324
Bump pylint version
carmenbianca Nov 25, 2022
e4bff0c
Use pylint-odoo instead of pylint
carmenbianca Nov 25, 2022
1195366
Merge tag 'v1.14.2' into custom
carmenbianca Mar 9, 2023
1540fa4
Revert "[FIX] Update black, flake8, prettier, and pylint"
carmenbianca Mar 14, 2023
dde272e
Fix language version bug for black
carmenbianca Mar 14, 2023
47e297d
increase black version again
carmenbianca Mar 14, 2023
6d587a5
Merge branch 'master' into custom
carmenbianca May 10, 2023
932e943
Change default flavour to OCB
carmenbianca May 10, 2023
1021026
Fix makepot setting
carmenbianca May 10, 2023
6584dd1
Restore odoo images
carmenbianca May 10, 2023
9fc7619
Merge remote-tracking branch 'origin/master' into custom
carmenbianca Dec 15, 2023
ddc96ea
[REM] unreleased-deps
carmenbianca Dec 15, 2023
fa24652
Merge branch 'master' into custom
huguesdk Dec 6, 2024
6f3a709
Merge branch 'master' into custom
huguesdk Mar 7, 2025
9f6a5b1
[FIX] run all github actions on ubuntu 22.04
huguesdk Apr 25, 2025
9f828eb
Merge branch 'master' into custom
remytms Feb 19, 2026
12fcc89
Merge branch 'master' into custom
mihien Mar 2, 2026
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
69 changes: 0 additions & 69 deletions .github/workflows/stale.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .prettierrc.yml
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
This is a template created to make easier the task of maintaining OCA addon
repositories.

Note: This is a fork by Coop IT Easy. There may be mentions to the OCA here and
elsewhere in this repository that are not reflective of reality. The changes are
maintained as a small set of commits that can be rebased on top of the main OCA
branch occasionally.

## Why?

We have dozens of repos. Most of them look the same, and most of them need
Expand Down
7 changes: 1 addition & 6 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,7 @@ ci:

odoo_test_flavor:
type: str
default: |-
{% if odoo_version < 13.0 -%}
OCB
{%- else -%}
Both
{%- endif %}
default: OCB
choices:
- Odoo
- OCB
Expand Down
14 changes: 14 additions & 0 deletions src/.github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Description



## Odoo task (if applicable)



## Checklist before approval

- [ ] Tests are present (or not needed).
- [ ] Credits/copyright have been changed correctly.
- [ ] Change log snippet is present.
- [ ] (If a new module) Moving this to OCA has been considered.
Original file line number Diff line number Diff line change
Expand Up @@ -56,23 +56,6 @@ set IMAGES = {
{%- endif -%}

jobs:
unreleased-deps:
runs-on: ubuntu-latest
name: Detect unreleased dependencies
steps:
- uses: actions/checkout@v4
- run: |
for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then
result=0
# reject non-comment lines that contain a / (i.e. URLs, relative paths)
grep "^[^#].*/" ${reqfile} || result=$?
if [ $result -eq 0 ] ; then
echo "Unreleased dependencies found in ${reqfile}."
exit 1
fi
fi
done
test:
runs-on: ubuntu-22.04
container: {% raw %}${{ matrix.container }}{% endraw %}
Expand Down

This file was deleted.

76 changes: 76 additions & 0 deletions version-specific/mqt-compat/.pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,89 @@ exclude: |
default_language_version:
python: python3
repos:
- repo: local
hooks:
# These files are most likely copier diff rejection junks; if found,
# review them manually, fix the problem (if needed) and remove them
- id: forbidden-files
name: forbidden files
entry: found forbidden files; remove them
language: fail
files: "\\.rej$"
- repo: https://github.com/oca/maintainer-tools
rev: ab1d7f6
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["{{ repo_website }}"]
- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
- id: autoflake
args:
- --expand-star-imports
- --ignore-init-module-imports
- --in-place
- --remove-all-unused-imports
- --remove-duplicate-keys
- --remove-unused-variables
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
additional_dependencies: ["click<8.1.0"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v1.19.1
hooks:
- id: prettier
name: prettier (with plugin-xml)
entry: prettier --write --list-different
additional_dependencies:
- "prettier@1.19.1"
- "@prettier/plugin-xml@0.7.2"
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v6.8.0
hooks:
- id: eslint
verbose: true
args:
- --color
- --fix
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
- id: end-of-file-fixer
# 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
- id: check-merge-conflict
# exclude files where underlines are not distinguishable from merge conflicts
exclude: /README\.rst$|^docs/.*\.rst$
- id: check-symlinks
- id: check-xml
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/asottile/pyupgrade
rev: v1.26.2
hooks:
- id: pyupgrade
args: ["--keep-percent-format"]
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort
name: isort except __init__.py
exclude: /__init__\.py$
- repo: https://github.com/acsone/setuptools-odoo
rev: 3.1.8
hooks:
Expand Down
Loading