Skip to content

Commit

Permalink
Revert "feat: generate addons readme in pre-commit"
Browse files Browse the repository at this point in the history
This reverts commit a1551e5.

Rational: The call of oca-gen-addon-readme will generate conflicts in the readme.rst file when 2 PRs modify the same module.
See OCA#190 (comment)
  • Loading branch information
legalsylvain committed Nov 8, 2023
1 parent 9a77414 commit 2ec4122
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/.pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,6 @@ repos:
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["{{ repo_website }}"]
- id: oca-gen-addon-readme
args:
- --addons-dir=.
- --branch={{ "%.01f" | format(odoo_version) }}
- --org-name={{ org_slug }}
- --repo-name={{ repo_slug }}
- --if-source-changed
{%- if use_pyproject_toml and generate_requirements_txt %}
- id: oca-gen-external-dependencies
{%- endif %}
Expand Down

0 comments on commit 2ec4122

Please sign in to comment.