Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Xbus Common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Xbus Common
Commits
f2702f91ee59
Commit
f2702f91ee59
authored
2 months ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
prettier, eslint
parent
c41bd049bdda
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#117110
failed
2 months ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
eslint.config.cjs
+1
-0
1 addition, 0 deletions
eslint.config.cjs
prettier.config.cjs
+4
-0
4 additions, 0 deletions
prettier.config.cjs
pyproject.toml
+7
-7
7 additions, 7 deletions
pyproject.toml
with
12 additions
and
7 deletions
eslint.config.cjs
+
1
−
0
View file @
f2702f91
...
...
@@ -2,6 +2,7 @@
const
config
=
[
{
ignores
:
[
"
**/*.config.cjs
"
],
plugins
:
{
jsdoc
,
},
...
...
This diff is collapsed.
Click to expand it.
prettier.config.cjs
+
4
−
0
View file @
f2702f91
/** @type {import('prettier').Config} */
const
config
=
{
plugins
:
[
require
.
resolve
(
"
@prettier/plugin-xml
"
),
require
.
resolve
(
"
prettier-plugin-toml
"
),
],
bracketSpacing
:
false
,
printWidth
:
88
,
proseWrap
:
"
always
"
,
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
7
−
7
View file @
f2702f91
...
...
@@ -12,7 +12,7 @@
"Programming Language :: Python :: 3.11"
,
"Framework :: Odoo"
,
"Framework :: Odoo :: 18.0"
,
"License :: OSI Approved :: GNU Affero General Public License v3"
"License :: OSI Approved :: GNU Affero General Public License v3"
,
]
dependencies
=
["odoo=
=
18.0
.*
"]
...
...
@@ -38,7 +38,7 @@
"/.hgignore"
,
"/.hgtags"
,
"/prettier.config.cjs"
,
"/.yamllint.yaml"
"/.yamllint.yaml"
,
]
[tool.hatch.build.targets.wheel]
...
...
@@ -51,7 +51,7 @@
"*.xml"
,
"*.py"
,
"*.svg"
,
"*.png"
"*.png"
,
]
[tool.hatch.build.targets.wheel.sources]
...
...
@@ -68,7 +68,7 @@
"odoo"
,
"odoo-addons"
,
"first-party"
,
"local-folder"
"local-folder"
,
]
[tool.isort.sections]
...
...
@@ -86,10 +86,10 @@
"B"
,
"C90"
,
"E501"
,
# line too long (default 88)
"I"
,
# isort
"UP"
,
# pyupgrade
"I"
,
# isort
"UP"
,
# pyupgrade
]
[tool.ruff.lint.per-file-ignores]
"__init__.py"
=
[
"F401"
,
"I001"
]
# ignore unused and unsorted imports in __init__.py
...
...
@@ -91,6 +91,6 @@
]
[tool.ruff.lint.per-file-ignores]
"__init__.py"
=
[
"F401"
,
"I001"
]
# ignore unused and unsorted imports in __init__.py
"__manifest__.py"
=
[
"B018"
]
# useless expression
"__manifest__.py"
=
[
"B018"
]
# useless expression
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