diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yaml similarity index 96% rename from .github/workflows/luarocks.yml rename to .github/workflows/luarocks.yaml index f3460d1..c64568f 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yaml @@ -3,7 +3,7 @@ name: Release on: push: tags: - - "*" + - '*' workflow_dispatch: jobs: diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yaml similarity index 100% rename from .github/workflows/quality.yml rename to .github/workflows/quality.yaml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yaml similarity index 100% rename from .github/workflows/test.yml rename to .github/workflows/test.yaml diff --git a/.luarc.json b/.luarc.json index 02ba89e..3ccfeda 100644 --- a/.luarc.json +++ b/.luarc.json @@ -1,16 +1,8 @@ { "runtime.version": "Lua 5.1", - "runtime.path": [ - "lua/?.lua", - "lua/?/init.lua" - ], - "diagnostics.globals": [ - "vim" - ], - "workspace.library": [ - "$VIMRUNTIME/lua", - "${3rd}/luv/library" - ], + "runtime.path": ["lua/?.lua", "lua/?/init.lua"], + "diagnostics.globals": ["vim"], + "workspace.library": ["$VIMRUNTIME/lua", "${3rd}/luv/library"], "workspace.checkThirdParty": false, "completion.callSnippet": "Replace" } diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 74499e8..4702e92 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -minimum_pre_commit_version: "3.5.0" +minimum_pre_commit_version: '3.5.0' repos: - repo: https://github.com/JohnnyMorganz/StyLua @@ -17,7 +17,7 @@ repos: files: \.py$ - id: ruff name: ruff (lint imports) - args: ["--fix", "--select=I"] + args: ['--fix', '--select=I'] files: \.py$ - repo: local @@ -26,7 +26,7 @@ repos: name: mypy (type check) entry: uv run mypy language: system - args: ["."] + args: ['.'] pass_filenames: false - repo: https://github.com/pre-commit/mirrors-prettier @@ -35,4 +35,3 @@ repos: - id: prettier name: prettier (format markdown) files: \.md$ -