Skip to content

Commit c98f6fa

Browse files
committed
[REM] Reformatting code for Ruff styling
1 parent fce6075 commit c98f6fa

4 files changed

Lines changed: 4 additions & 8 deletions

File tree

estate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from . import models
1+
from . import models

estate/__manifest__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
{
32
'name': "Estate",
43

estate/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from . import estate_property
1+
from . import estate_property

estate/models/estate_property.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
# -*- coding: utf-8 -*-
21
# Part of Odoo. See LICENSE file for full copyright and licensing details.
3-
42
from odoo import fields, models
53

64

75
class EstateProperty(models.Model):
86
_name = 'estate.property'
97
_description = "Property"
10-
11-
8+
129
name = fields.Char(required=True)
1310
description = fields.Text()
1411
postcode = fields.Char()
@@ -25,4 +22,4 @@ class EstateProperty(models.Model):
2522
string='Type',
2623
selection=[('north', 'North'), ('south', 'South'), ('east', 'East'), ('west', 'West')],
2724
help="this is used to indicated the garden orientation"
28-
)
25+
)

0 commit comments

Comments
 (0)