Update pre-commit conf

This commit is contained in:
Simone Orsi
2023-02-20 11:55:04 +01:00
committed by Héctor Villarreal Ortega
parent faf21f2470
commit bbca6129a7
7 changed files with 26 additions and 11 deletions

View File

@@ -1,24 +1,30 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.6.1
_commit: v1.14.1
_src_path: git+https://github.com/OCA/oca-addons-repo-template
ci: GitHub
dependency_installation_mode: PIP
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
github_enable_codecov: true
github_enable_makepot: true
github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
include_wkhtmltopdf: true
odoo_version: 13.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups: []
repo_description: 'This repository hosts alternative reporting engines to the ones
included on Odoo core (RML, QWeb and Webkit).
included on Odoo core (RML, QWeb and Webkit).
The convention is to use a suffix to each module to indicate that it''s for using
with that report engine (for example, account_invoice_report_birt or sale_order_report_pentaho).
The convention is to use a suffix to each module to indicate that it''s for using
with that report engine (for example, account_invoice_report_birt or sale_order_report_pentaho).
It can contain also another utilities directly involved with reports (like merge/split
utils, checkers, signing tools and so on).'
It can contain also another utilities directly involved with reports (like merge/split
utils, checkers, signing tools and so on).'
repo_name: OCA alternative reporting engines and reporting utilities for Odoo
repo_slug: reporting-engine
repo_website: https://github.com/OCA/reporting-engine
@@ -26,3 +32,4 @@ travis_apt_packages:
- swig
- libreoffice
travis_apt_sources: []

View File

@@ -11,7 +11,7 @@ on:
jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2

View File

@@ -28,7 +28,7 @@ jobs:
fi
done
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container: ${{ matrix.container }}
name: ${{ matrix.name }}
strategy:

1
.gitignore vendored
View File

@@ -15,7 +15,6 @@ build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/

View File

@@ -102,10 +102,16 @@ repos:
name: isort except __init__.py
exclude: /__init__\.py$
- repo: https://github.com/acsone/setuptools-odoo
rev: 2.5.2
rev: 3.1.8
hooks:
- id: setuptools-odoo-make-default
- repo: https://gitlab.com/pycqa/flake8
- id: setuptools-odoo-get-requirements
args:
- --output
- requirements.txt
- --header
- "# generated from manifests external_dependencies"
- repo: https://github.com/PyCQA/flake8
rev: 3.7.9
hooks:
- id: flake8

View File

@@ -1,3 +1,5 @@
[MASTER]
load-plugins=pylint_odoo
score=n

View File

@@ -1,3 +1,4 @@
[MASTER]
load-plugins=pylint_odoo
score=n