treewide: reformat

This commit is contained in:
Matt Sturgeon 2024-07-08 16:16:16 +01:00 committed by GaetanLepage
parent 3c786ae988
commit aad2e32b5a
5 changed files with 2111 additions and 20 deletions

1
.github/mergify.yml vendored
View file

@ -22,4 +22,3 @@ queue_rules:
- "#files = 1" - "#files = 1"
- files = flake.lock - files = flake.lock
- author = GaetanLepage - author = GaetanLepage

View file

@ -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

View file

@ -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

View file

@ -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: