Closed Bug 1485454 Opened 6 years ago Closed 6 years ago

Use absolute path in codespell linter

Categories

(Developer Infrastructure :: Lint and Formatting, enhancement)

enhancement
Not set
normal

Tracking

(firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: ahal, Assigned: ahal)

Details

Attachments

(2 files)

While working on bug 1460856 I discovered that the codespell linter is using relative paths. This means that codespell issues are grouped separately from other linters' issues (since the 'path' is used as a key in the issues dict).

Mozlint should probably enforce absolute paths so this doesn't accidentally happen again.
After fixing the absolute path issue in codespell, I noticed that the stylish
formatter doesn't indent lint issues that don't have a column properly. This
was never noticed before since most other linters have a column attribute.

Depends on D4012
Comment on attachment 9003273 [details]
Bug 1485454 - [mozlint] Fix stylish formatter, issues without a column aren't indented enough, r=Sylvestre

Sylvestre Ledru [:sylvestre] has approved the revision.
Attachment #9003273 - Flags: review+
Comment on attachment 9003272 [details]
Bug 1485454 - [lint] Use absolute paths with the codespell linter, r=Sylvestre

Sylvestre Ledru [:sylvestre] has approved the revision.
Attachment #9003272 - Flags: review+
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cb3227f5156c
[lint] Use absolute paths with the codespell linter, r=sylvestre
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1586964885f9
[mozlint] Fix stylish formatter, issues without a column aren't indented enough, r=sylvestre
https://hg.mozilla.org/mozilla-central/rev/cb3227f5156c
https://hg.mozilla.org/mozilla-central/rev/1586964885f9
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
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: