Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lefilament_account
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Le Filament
lefilament_account
Commits
ea76adb6
Commit
ea76adb6
authored
2 years ago
by
Rémi - Le Filament
Browse files
Options
Downloads
Patches
Plain Diff
[MIG][16.0]
parent
604b3ad3
Branches
16.0
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.pre-commit-config.yaml
+16
-11
16 additions, 11 deletions
.pre-commit-config.yaml
.pylintrc
+4
-1
4 additions, 1 deletion
.pylintrc
.pylintrc-mandatory
+4
-2
4 additions, 2 deletions
.pylintrc-mandatory
__manifest__.py
+1
-1
1 addition, 1 deletion
__manifest__.py
with
25 additions
and
15 deletions
.pre-commit-config.yaml
+
16
−
11
View file @
ea76adb6
...
...
@@ -16,7 +16,7 @@ exclude: |
(LICENSE.*|COPYING.*)
default_language_version
:
python
:
python3
node
:
"
1
4
.1
8
.0"
node
:
"
1
6
.1
7
.0"
repos
:
-
repo
:
local
hooks
:
...
...
@@ -27,15 +27,20 @@ repos:
entry
:
found forbidden files; remove them
language
:
fail
files
:
"
\\
.rej$"
-
id
:
en-po-files
name
:
en.po files cannot exist
entry
:
found a en.po file
language
:
fail
files
:
'
[a-zA-Z0-9_]*/i18n/en\.po$'
-
repo
:
https://github.com/oca/maintainer-tools
rev
:
dfba427ba03900b69e0a7f2c65890dc48921d36a
rev
:
4cd2b852214dead80822e93e6749b16f2785b2fe
hooks
:
# update the NOT INSTALLABLE ADDONS section above
-
id
:
oca-update-pre-commit-excluded-addons
-
id
:
oca-fix-manifest-website
args
:
[
"
https://le-filament.com"
]
-
repo
:
https://github.com/myint/autoflake
rev
:
v1.
4
rev
:
v1.
6.1
hooks
:
-
id
:
autoflake
args
:
...
...
@@ -46,22 +51,22 @@ repos:
-
--remove-duplicate-keys
-
--remove-unused-variables
-
repo
:
https://github.com/psf/black
rev
:
22.
3
.0
rev
:
22.
8
.0
hooks
:
-
id
:
black
-
repo
:
https://github.com/pre-commit/mirrors-prettier
rev
:
v2.
4
.1
rev
:
v2.
7
.1
hooks
:
-
id
:
prettier
name
:
prettier (with plugin-xml)
additional_dependencies
:
-
"
prettier@2.
4
.1"
-
"
@prettier/plugin-xml@
1.1
.0"
-
"
prettier@2.
7
.1"
-
"
@prettier/plugin-xml@
2.2
.0"
args
:
-
--plugin=@prettier/plugin-xml
files
:
\.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
-
repo
:
https://github.com/pre-commit/mirrors-eslint
rev
:
v
7.32
.0
rev
:
v
8.24
.0
hooks
:
-
id
:
eslint
verbose
:
true
...
...
@@ -69,7 +74,7 @@ repos:
-
--color
-
--fix
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v4.
0.1
rev
:
v4.
3.0
hooks
:
-
id
:
trailing-whitespace
# exclude autogenerated files
...
...
@@ -91,12 +96,12 @@ repos:
-
id
:
mixed-line-ending
args
:
[
"
--fix=lf"
]
-
repo
:
https://github.com/asottile/pyupgrade
rev
:
v2.
29.0
rev
:
v2.
38.2
hooks
:
-
id
:
pyupgrade
args
:
[
"
--keep-percent-format"
]
-
repo
:
https://github.com/PyCQA/isort
rev
:
5.
9.3
rev
:
5.
10.1
hooks
:
-
id
:
isort
name
:
isort except __init__.py
...
...
This diff is collapsed.
Click to expand it.
.pylintrc
+
4
−
1
View file @
ea76adb6
[MASTER]
load-plugins=pylint_odoo
score=n
...
...
@@ -8,7 +10,7 @@ manifest_required_authors=Le Filament
manifest_required_keys=license
manifest_deprecated_keys=description,active
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid_odoo_versions=1
5
.0
valid_odoo_versions=1
6
.0
[MESSAGES CONTROL]
disable=all
...
...
@@ -96,6 +98,7 @@ enable=anomalous-backslash-in-string,
xml-attribute-translatable,
xml-deprecated-qweb-directive,
xml-deprecated-tree-attribute,
external-request-timeout,
# messages that do not cause the lint step to fail
consider-merging-classes-inherited,
create-user-wo-reset-password,
...
...
This diff is collapsed.
Click to expand it.
.pylintrc-mandatory
+
4
−
2
View file @
ea76adb6
[MASTER]
load-plugins=pylint_odoo
score=n
...
...
@@ -8,7 +9,7 @@ manifest_required_authors=Le Filament
manifest_required_keys=license
manifest_deprecated_keys=description,active
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid_odoo_versions=1
5
.0
valid_odoo_versions=1
6
.0
[MESSAGES CONTROL]
disable=all
...
...
@@ -88,7 +89,8 @@ enable=anomalous-backslash-in-string,
website-manifest-key-not-valid-uri,
xml-attribute-translatable,
xml-deprecated-qweb-directive,
xml-deprecated-tree-attribute
xml-deprecated-tree-attribute,
external-request-timeout
[REPORTS]
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
...
...
This diff is collapsed.
Click to expand it.
__manifest__.py
+
1
−
1
View file @
ea76adb6
{
"
name
"
:
"
Le Filament - Account
"
,
"
summary
"
:
"
Generic Account Invoice views update by Le Filament
"
,
"
version
"
:
"
1
5
.0.1.0.0
"
,
"
version
"
:
"
1
6
.0.1.0.0
"
,
"
license
"
:
"
AGPL-3
"
,
"
author
"
:
"
Le Filament
"
,
"
category
"
:
"
Accounting/Accounting
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment