16 lines
491 B
Python
16 lines
491 B
Python
# -*- coding: utf-8 -*-
|
|
from odoo import models, fields
|
|
import os # F401: unused import
|
|
|
|
class FinalQualityTest(models.Model):
|
|
_name = 'final.quality.test'
|
|
|
|
name = fields.Char('Name')
|
|
|
|
# E501: line too long
|
|
description = fields.Text('Description', help='This is a very very very long help text that exceeds 120 characters limit set by our flake8 configuration')
|
|
|
|
# F821: undefined name
|
|
def test_method(self):
|
|
return some_undefined_variable + 5
|