Remove unused imports
This commit is contained in:
@@ -2,11 +2,7 @@ local Meta = require "cave.meta"
|
|||||||
local Python = require "cave.python"
|
local Python = require "cave.python"
|
||||||
local Context = require "cave.context"
|
local Context = require "cave.context"
|
||||||
|
|
||||||
local Map = Meta.Map
|
|
||||||
local Optional = Meta.Optional
|
|
||||||
local Str = Meta.String
|
|
||||||
local validate = Meta.validate
|
local validate = Meta.validate
|
||||||
local Table = Meta.Table
|
|
||||||
|
|
||||||
---@class cave.Config
|
---@class cave.Config
|
||||||
---@field python_interpreters table<string,cave.Python.Interpreter>
|
---@field python_interpreters table<string,cave.Python.Interpreter>
|
||||||
@@ -26,6 +22,7 @@ end
|
|||||||
---@field context_ cave.Context
|
---@field context_ cave.Context
|
||||||
local Factory = Meta.derive("Config.Factory", Context)
|
local Factory = Meta.derive("Config.Factory", Context)
|
||||||
|
|
||||||
|
---@param context cave.Context
|
||||||
function Factory:init(context)
|
function Factory:init(context)
|
||||||
Context.init(self, context.dir, context.name, context.uuid)
|
Context.init(self, context.dir, context.name, context.uuid)
|
||||||
self.python_interpreters_ = {}
|
self.python_interpreters_ = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user