Skip to content
Snippets Groups Projects
Commit dec1275e authored by Houzefa Abbasbhay's avatar Houzefa Abbasbhay :slight_smile:
Browse files

Code formatting updates

parent 708f4062
No related branches found
No related tags found
3 merge requests!37Merge 15.0 (15.0.3.2.0 with fastjsonschema),!36Merge 13.0 (13.0.3.2.0 with fastjsonschema),!34``jsonschema`` ➔ ``fastjsonschema``
[flake8]
per-file-ignores=
__init__.py:F401
__manifest__.py:B018
......@@ -12,5 +12,5 @@
import os
import sys
from odoo_scripts.config import Configuration
import odoo
......@@ -16,5 +16,5 @@
import odoo
from odoo_scripts.config import Configuration
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
......
......@@ -21,9 +21,7 @@
import datetime
from typing import Any, Callable, Dict, Optional
import pytz
from odoo import api, models
from .base import PHASE_POSTCREATE, Converter, Newinstance, Skip
......@@ -26,7 +24,9 @@
from odoo import api, models
from .base import PHASE_POSTCREATE, Converter, Newinstance, Skip
import pytz
class Field(Converter):
"""Converter linked to a single field"""
......
......@@ -257,8 +257,7 @@
return converter
# using noqa due to case
def Relation(path, converter): # noqa # pylint: disable=invalid-name
def Relation(path, converter): # pylint: disable=invalid-name
"""Kept for compatibility but will be removed
.. deprecated:: 1.2.0
Use :func:`relation` instead, that uses PEP8 defined function case.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment