mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
treewide: reformat
This commit is contained in:
parent
3c786ae988
commit
aad2e32b5a
5 changed files with 2111 additions and 20 deletions
15
.github/mergify.yml
vendored
15
.github/mergify.yml
vendored
|
@ -14,12 +14,11 @@ queue_rules:
|
|||
- check-success = buildbot/nix-eval
|
||||
queue_conditions:
|
||||
- or:
|
||||
# Allow queuing PRs that have been approved
|
||||
- "#approved-reviews-by >= 1"
|
||||
|
||||
# Allow queuing flake.lock updates without approval
|
||||
- and:
|
||||
- "#files = 1"
|
||||
- files = flake.lock
|
||||
- author = GaetanLepage
|
||||
# Allow queuing PRs that have been approved
|
||||
- "#approved-reviews-by >= 1"
|
||||
|
||||
# Allow queuing flake.lock updates without approval
|
||||
- and:
|
||||
- "#files = 1"
|
||||
- files = flake.lock
|
||||
- author = GaetanLepage
|
||||
|
|
6
.github/workflows/build_documentation.yml
vendored
6
.github/workflows/build_documentation.yml
vendored
|
@ -4,8 +4,8 @@ on:
|
|||
push:
|
||||
# Runs on pushes targeting the release branches
|
||||
branches:
|
||||
- main
|
||||
- nixos-24.05
|
||||
- main
|
||||
- nixos-24.05
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
@ -38,7 +38,7 @@ jobs:
|
|||
uses: cachix/cachix-action@v15
|
||||
with:
|
||||
name: nix-community
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||
|
||||
- run: |
|
||||
set -ex
|
||||
|
|
14
.github/workflows/update.yml
vendored
14
.github/workflows/update.yml
vendored
|
@ -6,9 +6,9 @@ on:
|
|||
description: "Branch to update"
|
||||
type: choice
|
||||
options:
|
||||
- 'stable & unstable'
|
||||
- 'main'
|
||||
- 'nixos-24.05'
|
||||
- "stable & unstable"
|
||||
- "main"
|
||||
- "nixos-24.05"
|
||||
schedule:
|
||||
- cron: "0 12 * * SAT" # runs weekly on Saturday at noon
|
||||
|
||||
|
@ -18,12 +18,12 @@ jobs:
|
|||
matrix:
|
||||
# This allows to update both stable & unstable branches, but not both when triggered
|
||||
# manually
|
||||
branch: ['main', 'nixos-24.05']
|
||||
branch: ["main", "nixos-24.05"]
|
||||
selectedBranch: ["${{ inputs.branch }}"]
|
||||
exclude:
|
||||
- selectedBranch: main
|
||||
branch: 'nixos-24.05'
|
||||
- selectedBranch: 'nixos-24.05'
|
||||
branch: "nixos-24.05"
|
||||
- selectedBranch: "nixos-24.05"
|
||||
branch: main
|
||||
name: Update the flake inputs and generate options
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||
ref: '${{ matrix.branch }}'
|
||||
ref: "${{ matrix.branch }}"
|
||||
|
||||
- name: Install Nix
|
||||
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
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue