AP_Scripting: tests: ignore luacheck warnings
This commit is contained in:
parent
03167d41db
commit
e2fe2d3c57
@ -27,6 +27,12 @@
|
||||
|
||||
-- This code is copied from https://github.com/lua/tests and slightly modified to work within ArduPilot
|
||||
|
||||
-- luacheck: ignore 211 (Unused local variable)
|
||||
-- luacheck: ignore 213 (Unused loop variable)
|
||||
-- luacheck: ignore 411 (Redefining a local variable)
|
||||
-- luacheck: ignore 421 (Shadowing a local variable)
|
||||
-- luacheck: ignore 581 (Negation of a relational operator - operator can be flipped)
|
||||
|
||||
gcs:send_text(6, "testing numbers and math lib")
|
||||
|
||||
local minint = math.mininteger
|
||||
|
@ -27,6 +27,8 @@
|
||||
|
||||
-- This code is copied from https://github.com/lua/tests and slightly modified to work within ArduPilot
|
||||
|
||||
-- luacheck: ignore 581 (Negation of a relational operator - operator can be flipped)
|
||||
|
||||
gcs:send_text(6, 'testing strings and string library')
|
||||
|
||||
local maxi, mini = math.maxinteger, math.mininteger
|
||||
|
Loading…
Reference in New Issue
Block a user