fix(ci): format
This commit is contained in:
parent
228b088bf7
commit
bc315818e4
25 changed files with 1759 additions and 1660 deletions
|
|
@ -1,43 +1,43 @@
|
|||
local M = {}
|
||||
|
||||
M.PLATFORMS = { "atcoder", "codeforces", "cses" }
|
||||
M.ACTIONS = { "test", "next", "prev" }
|
||||
M.PLATFORMS = { 'atcoder', 'codeforces', 'cses' }
|
||||
M.ACTIONS = { 'test', 'next', 'prev' }
|
||||
|
||||
M.CPP = "cpp"
|
||||
M.PYTHON = "python"
|
||||
M.CPP = 'cpp'
|
||||
M.PYTHON = 'python'
|
||||
|
||||
---@type table<string, string>
|
||||
M.filetype_to_language = {
|
||||
cc = M.CPP,
|
||||
cxx = M.CPP,
|
||||
cpp = M.CPP,
|
||||
py = M.PYTHON,
|
||||
py3 = M.PYTHON,
|
||||
cc = M.CPP,
|
||||
cxx = M.CPP,
|
||||
cpp = M.CPP,
|
||||
py = M.PYTHON,
|
||||
py3 = M.PYTHON,
|
||||
}
|
||||
|
||||
---@type table<string, string>
|
||||
M.canonical_filetypes = {
|
||||
[M.CPP] = "cpp",
|
||||
[M.PYTHON] = "python",
|
||||
[M.CPP] = 'cpp',
|
||||
[M.PYTHON] = 'python',
|
||||
}
|
||||
|
||||
---@type table<number, string>
|
||||
M.signal_codes = {
|
||||
[128] = "SIGILL",
|
||||
[130] = "SIGINT",
|
||||
[131] = "SIGQUIT",
|
||||
[132] = "SIGILL",
|
||||
[133] = "SIGTRAP",
|
||||
[134] = "SIGABRT",
|
||||
[135] = "SIGBUS",
|
||||
[136] = "SIGFPE",
|
||||
[137] = "SIGKILL",
|
||||
[138] = "SIGUSR1",
|
||||
[139] = "SIGSEGV",
|
||||
[140] = "SIGUSR2",
|
||||
[141] = "SIGPIPE",
|
||||
[142] = "SIGALRM",
|
||||
[143] = "SIGTERM",
|
||||
[128] = 'SIGILL',
|
||||
[130] = 'SIGINT',
|
||||
[131] = 'SIGQUIT',
|
||||
[132] = 'SIGILL',
|
||||
[133] = 'SIGTRAP',
|
||||
[134] = 'SIGABRT',
|
||||
[135] = 'SIGBUS',
|
||||
[136] = 'SIGFPE',
|
||||
[137] = 'SIGKILL',
|
||||
[138] = 'SIGUSR1',
|
||||
[139] = 'SIGSEGV',
|
||||
[140] = 'SIGUSR2',
|
||||
[141] = 'SIGPIPE',
|
||||
[142] = 'SIGALRM',
|
||||
[143] = 'SIGTERM',
|
||||
}
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue