Page MenuHomePhabricator

Update puppet-lint format string to not use deprecated `linenumber`.
Needs ReviewPublic

Authored by oc243 on Mar 24 2017, 12:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 15, 7:35 PM
Unknown Object (File)
Dec 16 2024, 5:03 PM
Unknown Object (File)
Nov 5 2024, 11:46 PM
Unknown Object (File)
Oct 22 2024, 1:19 PM
Unknown Object (File)
Oct 18 2024, 9:02 AM
Unknown Object (File)
Sep 29 2024, 2:47 AM
Unknown Object (File)
Aug 25 2024, 3:06 PM
Unknown Object (File)
Aug 19 2024, 5:29 AM
Subscribers
This revision can not be accepted until the required legal agreements have been signed.

Details

Summary

puppet-lint's format string uses line rather than linenumber now to print
line numbers. Using linenumber produces a warning:
DEPRECATION: Please use %{line} instead of %{linenumber}.

Test Plan

Tested on MacOS with puppet-lint v2.

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 16121
Build 21392: arc lint + arc unit

Unit TestsFailed

TimeTest
1,629 msArcanistFlake8LinterTestCase::Unknown Unit Message ("")
In 'undefined.lint-test', expected lint to raise error on line 3 at char 1, but no error was raised. Actually raised: No messages.
39 msArcanistChmodLinterTestCase::Unknown Unit Message ("")
5 assertions passed.
0 msArcanistClosureLinterTestCase::Unknown Unit Message ("")
1 assertion passed.
0 msArcanistCpplintLinterTestCase::Unknown Unit Message ("")
1 assertion passed.
27 msArcanistFilenameLinterTestCase::Unknown Unit Message ("")
5 assertions passed.
View Full Test Results (1 Failed · 30 Passed · 23 Skipped)

Content Hidden

The content of this revision is hidden until the author has signed all of the required legal agreements.