ci: format
This commit is contained in:
parent
86b20aaee5
commit
c7b469e2ce
2 changed files with 4 additions and 1 deletions
|
|
@ -330,7 +330,9 @@ function M.setup_problem(problem_id, language)
|
|||
|
||||
local _abs_sf = vim.fn.fnamemodify(source_file, ':p')
|
||||
if vim.uv.fs_stat(_abs_sf) and vim.fn.bufnr(_abs_sf) == -1 then
|
||||
local ans = vim.fn.input(('File %q already exists. Overwrite? [y/N]: '):format(vim.fn.fnamemodify(source_file, ':~:.')))
|
||||
local ans = vim.fn.input(
|
||||
('File %q already exists. Overwrite? [y/N]: '):format(vim.fn.fnamemodify(source_file, ':~:.'))
|
||||
)
|
||||
vim.cmd.redraw()
|
||||
if ans:lower() ~= 'y' then
|
||||
local prov0 = state.get_provisional()
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ def clear_platform_cookies(platform: str) -> None:
|
|||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
_PRECISION_ABS_REL_RE = re.compile(
|
||||
r"(?:absolute|relative)\s+error[^.]*?10\s*[\^{]\s*\{?\s*[-\u2212]\s*(\d+)\s*\}?",
|
||||
re.IGNORECASE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue