osbzr/gooderp_addons

View on GitHub
staff_survey/models/hire_applicant.py

Summary

Maintainability
A
0 mins
Test Coverage

Line too long (93 > 79 characters)
Open

            response = self.env['survey.user_input'].create({'survey_id': self.survey_id.id})
Severity: Minor
Found in staff_survey/models/hire_applicant.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Line too long (93 > 79 characters)
Open

        return self.survey_id.with_context(survey_token=response.token).action_start_survey()
Severity: Minor
Found in staff_survey/models/hire_applicant.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Line too long (103 > 79 characters)
Open

    response_id = fields.Many2one('survey.user_input', u"负责人", ondelete="set null", oldname="response")
Severity: Minor
Found in staff_survey/models/hire_applicant.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Line too long (90 > 79 characters)
Open

    survey_id = fields.Many2one('survey.survey', related='job_id.survey_id', string=u"问卷")
Severity: Minor
Found in staff_survey/models/hire_applicant.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

There are no issues that match your filters.

Category
Status