Skip to content

Commit cbd15e7

Browse files
Fix: correct new line at the end of file
1 parent 86306b3 commit cbd15e7

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,6 @@ dmypy.json
127127

128128
# Pyre type checker
129129
.pyre/
130+
131+
# Ruff lint config
132+
pyproject.toml

estate/__manifest__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
'name': "A real state module",
2+
'name': 'A real state module',
33
'version': '1.0',
44
'depends': ['base'],
5-
'author': "Maxime Noirhomme",
5+
'author': 'Maxime Noirhomme',
66
'application': True,
77
'data': [
88
'security/ir.model.access.csv',
99
],
10-
}
10+
}

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: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33

44
class EstateProperty(models.Model):
5-
_name = "estate.property"
6-
_description = "estate property module"
5+
_name = 'estate.property'
6+
_description = 'estate property module'
77

88
name = fields.Char(required=True)
99
description = fields.Text()
10-
date_availability = fields.Date("Date Availability")
11-
expected_price = fields.Float("Expected Price", required=True)
12-
selling_price = fields.Float("Selling Price", default=0)
10+
date_availability = fields.Date('Date Availability')
11+
expected_price = fields.Float('Expected Price', required=True)
12+
selling_price = fields.Float('Selling Price', default=0)
1313
bedrooms = fields.Integer(required=True)
14-
living_area = fields.Integer("Living Area (sqm)", required=True)
14+
living_area = fields.Integer('Living Area (sqm)', required=True)
1515
facades = fields.Integer(default=0)
1616
garage = fields.Boolean(default=False)
1717
garden = fields.Boolean(default=False)
18-
garden_area = fields.Integer("Garden Area (sqm)")
18+
garden_area = fields.Integer('Garden Area (sqm)')
1919
garden_orientation = fields.Selection([('north', 'North'), ('east', 'East'), ('south', 'South'), ('west', 'West')])
20-
total_area = fields.Integer("Total Area (sqm)", required=True)
20+
total_area = fields.Integer('Total Area (sqm)', required=True)

0 commit comments

Comments
 (0)