Skip to content

Commit 9ea8a27

Browse files
committed
[FIX] pre-commit py-lint error
1 parent fff5e5f commit 9ea8a27

5 files changed

+14
-10
lines changed

.copier-answers.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.5.2
2+
_commit: v1.11.0
33
_src_path: gh:oca/oca-addons-repo-template
44
ci: GitHub
55
dependency_installation_mode: PIP
66
generate_requirements_txt: true
7+
github_check_license: true
8+
github_enable_codecov: true
9+
github_enable_makepot: true
10+
github_enable_stale_action: true
11+
github_enforce_dev_status_compatibility: true
712
include_wkhtmltopdf: false
813
odoo_version: 15.0
914
org_name: Odoo Community Association (OCA)
@@ -15,3 +20,4 @@ repo_slug: delivery-carrier
1520
repo_website: https://github.com/OCA/delivery-carrier
1621
travis_apt_packages: []
1722
travis_apt_sources: []
23+

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ build/
1515
develop-eggs/
1616
dist/
1717
eggs/
18-
lib/
1918
lib64/
2019
parts/
2120
sdist/

.pre-commit-config.yaml

+4-8
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,15 @@ repos:
119119
- id: flake8
120120
name: flake8
121121
additional_dependencies: ["flake8-bugbear==21.9.2"]
122-
- repo: https://github.com/PyCQA/pylint
123-
rev: v2.11.1
122+
- repo: https://github.com/OCA/pylint-odoo
123+
rev: 7.0.2
124124
hooks:
125-
- id: pylint
125+
- id: pylint_odoo
126126
name: pylint with optional checks
127127
args:
128128
- --rcfile=.pylintrc
129129
- --exit-zero
130130
verbose: true
131-
additional_dependencies: &pylint_deps
132-
- pylint-odoo==5.0.5
133-
- id: pylint
134-
name: pylint with mandatory checks
131+
- id: pylint_odoo
135132
args:
136133
- --rcfile=.pylintrc-mandatory
137-
additional_dependencies: *pylint_deps

.pylintrc

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
13
[MASTER]
24
load-plugins=pylint_odoo
35
score=n

.pylintrc-mandatory

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
[MASTER]
23
load-plugins=pylint_odoo
34
score=n

0 commit comments

Comments
 (0)