Closed Bug 1648027 Opened 5 years ago Closed 5 years ago

add toolkit/components/telemetry/ in the include list of tools/lint/pylint.yml

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: ash153311, Assigned: brunobrt, Mentored)

References

Details

(Keywords: good-first-bug, Whiteboard: [lang=python])

Attachments

(3 files)

+++ This bug was initially created as a clone of Bug #1647254 +++

According to bug 1647254 comment #4, Sylvestre Ledru [:Sylvestre] said

If you want, you can add toolkit/components/telemetry/ in the include list of tools/lint/pylint.yml, thanks.

I create a good-first-bug for other new contributors to learn how to contriburte Firefox.

See Also: → 164724
See Also: 1647241647254
Mentor: sledru
Whiteboard: [lang=python]

I'm new here, can I work on this bug?

Bruno, sure thanks , feel free to ask if you get stuck

Assignee: nobody → brunobrt
Status: NEW → ASSIGNED

Hello Shivam, I'm stuck, could you help me?

this bug is closed: https://bugzilla.mozilla.org/show_bug.cgi?id=1650306, but I keep getting this error: https://treeherder.mozilla.org/#/jobs?repo=try&selectedTaskRun=NRkUEmbBShWOvEy_lDWm4g.0&revision=85ea8d8a0e558a72d12cceddde184c4d6f143ab2 .

I was asked to fix it in a separate commit, I don't understand what went wrong. If the issue is already fixed and my code base was updated, why did it happen? What should I do? I'm thinking that copying that changes made in the fixed file is not the right thing to do.

Thank you for your help.

Flags: needinfo?(shivams2799)

Hi,

As far I know, you are getting those errors because you are enabling the pylint on toolkit/components/telemetry/ so pylint will tell you the problems in this particular directory, so as Sylvestre mentioned you need to fix those as well in a separate commit. Let me know if you need any help. Thanks for working on it :)

Flags: needinfo?(shivams2799)
Attachment #9172059 - Attachment description: Bug 1648027 - Fix linting failures 'unnecessary else after return → Bug 1648027 - Fix linting failures 'unnecessary else after return'
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/adddc0f9a43f Fix linting failures 'unnecessary else after return' r=sylvestre https://hg.mozilla.org/integration/autoland/rev/f2bfe1ce958d Add toolkit/components/telemetry/ in the include list of tools/lint/pylint.yml r=sylvestre
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: