exclude: | (?x) # NOT INSTALLABLE ADDONS # END NOT INSTALLABLE ADDONS # Files and folders generated by bots, to avoid loops ^setup/|/static/description/index\.html$| # We don't want to mess with tool-generated files .svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/| # Maybe reactivate this when all README files include prettier ignore tags? ^README\.md$| # Library files can have extraneous formatting (even minimized) /static/(src/)?lib/| # Repos using Sphinx to generate docs don't need prettying ^docs/_templates/.*\.html$| # You don't usually want a bot to modify your legal texts (LICENSE.*|COPYING.*) default_language_version: python: python3.7 repos: - 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: ["https://github.com/camptocamp/odoo-cloud-platform"] - repo: https://github.com/acsone/setuptools-odoo rev: 3.1.8 hooks: - id: setuptools-odoo-make-default #- id: setuptools-odoo-get-requirements #args: #- --output #- requirements.txt #- --header #- "# generated from manifests external_dependencies" - repo: https://github.com/PyCQA/flake8 rev: 5.0.4 hooks: - id: flake8 name: flake8 excluding __init__.py exclude: __init__\.py - repo: https://github.com/OCA/pylint-odoo rev: v8.0.19 hooks: - id: pylint_odoo name: pylint with optional checks args: - --rcfile=.pylintrc - --exit-zero verbose: true additional_dependencies: &pylint_deps - pylint-odoo==v8.0.19 - id: pylint_odoo name: pylint with mandatory checks args: - --rcfile=.pylintrc-mandatory additional_dependencies: *pylint_deps