mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
treewide: reformat
This commit is contained in:
parent
3c786ae988
commit
aad2e32b5a
5 changed files with 2111 additions and 20 deletions
1
.github/mergify.yml
vendored
1
.github/mergify.yml
vendored
|
@ -22,4 +22,3 @@ queue_rules:
|
||||||
- "#files = 1"
|
- "#files = 1"
|
||||||
- files = flake.lock
|
- files = flake.lock
|
||||||
- author = GaetanLepage
|
- author = GaetanLepage
|
||||||
|
|
||||||
|
|
2
.github/workflows/build_documentation.yml
vendored
2
.github/workflows/build_documentation.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
||||||
uses: cachix/cachix-action@v15
|
uses: cachix/cachix-action@v15
|
||||||
with:
|
with:
|
||||||
name: nix-community
|
name: nix-community
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
set -ex
|
set -ex
|
||||||
|
|
14
.github/workflows/update.yml
vendored
14
.github/workflows/update.yml
vendored
|
@ -6,9 +6,9 @@ on:
|
||||||
description: "Branch to update"
|
description: "Branch to update"
|
||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- 'stable & unstable'
|
- "stable & unstable"
|
||||||
- 'main'
|
- "main"
|
||||||
- 'nixos-24.05'
|
- "nixos-24.05"
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 12 * * SAT" # runs weekly on Saturday at noon
|
- cron: "0 12 * * SAT" # runs weekly on Saturday at noon
|
||||||
|
|
||||||
|
@ -18,12 +18,12 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
# This allows to update both stable & unstable branches, but not both when triggered
|
# This allows to update both stable & unstable branches, but not both when triggered
|
||||||
# manually
|
# manually
|
||||||
branch: ['main', 'nixos-24.05']
|
branch: ["main", "nixos-24.05"]
|
||||||
selectedBranch: ["${{ inputs.branch }}"]
|
selectedBranch: ["${{ inputs.branch }}"]
|
||||||
exclude:
|
exclude:
|
||||||
- selectedBranch: main
|
- selectedBranch: main
|
||||||
branch: 'nixos-24.05'
|
branch: "nixos-24.05"
|
||||||
- selectedBranch: 'nixos-24.05'
|
- selectedBranch: "nixos-24.05"
|
||||||
branch: main
|
branch: main
|
||||||
name: Update the flake inputs and generate options
|
name: Update the flake inputs and generate options
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -33,7 +33,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||||
ref: '${{ matrix.branch }}'
|
ref: "${{ matrix.branch }}"
|
||||||
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v26
|
uses: cachix/install-nix-action@v26
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -67,7 +67,9 @@ class Plugin:
|
||||||
assert False
|
assert False
|
||||||
deprecation_icon: str = "⚠️" if self.dep_warnings else " "
|
deprecation_icon: str = "⚠️" if self.dep_warnings else " "
|
||||||
|
|
||||||
return f"| {kind_icon}\033[0m | {state_icon} | {deprecation_icon} | {self.path}"
|
return (
|
||||||
|
f"| {kind_icon}\033[0m | {state_icon} | {deprecation_icon} | {self.path}"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def has_deprecation_warnings(string: str) -> bool:
|
def has_deprecation_warnings(string: str) -> bool:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue