<commit_before>---
name: Shell
on:
  push:
    paths:
      - .github/workflows/shell.yml
      - arch/bootstrap
      - arch/go
      - arch/pacstrap
      - debian/go
      - '**.bash'

jobs:
  shellcheck:
    name: shellcheck
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Run shellcheck
        run: |
          shellcheck --version
          shellcheck arch/bootstrap
          shellcheck arch/go
          shellcheck arch/pacstrap
          shellcheck debian/go
          find . -name '*.bash' | xargs shellcheck

  shfmt:
    name: shfmt
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Download shfmt
        run: |
          wget -O shfmt https://github.com/mvdan/sh/releases/download/v3.2.0/shfmt_v3.2.0_linux_amd64
          chmod +x shfmt
      - name: Run shfmt
        run: |
          ./shfmt --version
          ./shfmt -s -i 2 -ci -sr -d arch/bootstrap
          ./shfmt -s -i 2 -ci -sr -d arch/go
          ./shfmt -s -i 2 -ci -sr -d arch/pacstrap
          ./shfmt -s -i 2 -ci -sr -d debian/go
          find . -name '*.bash' | xargs ./shfmt -s -i 2 -ci -sr -d
<commit_msg>Add new init script to lint<commit_after>---
name: Shell
on:
  push:
    paths:
      - .github/workflows/shell.yml
      - arch/bootstrap
      - arch/go
      - arch/init
      - arch/pacstrap
      - debian/go
      - '**.bash'

jobs:
  shellcheck:
    name: shellcheck
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Run shellcheck
        run: |
          shellcheck --version
          shellcheck arch/bootstrap
          shellcheck arch/go
          shellcheck arch/init
          shellcheck arch/pacstrap
          shellcheck debian/go
          find . -name '*.bash' | xargs shellcheck

  shfmt:
    name: shfmt
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Download shfmt
        run: |
          wget -O shfmt https://github.com/mvdan/sh/releases/download/v3.2.0/shfmt_v3.2.0_linux_amd64
          chmod +x shfmt
      - name: Run shfmt
        run: |
          ./shfmt --version
          ./shfmt -s -i 2 -ci -sr -d arch/bootstrap
          ./shfmt -s -i 2 -ci -sr -d arch/go
          ./shfmt -s -i 2 -ci -sr -d arch/init
          ./shfmt -s -i 2 -ci -sr -d arch/pacstrap
          ./shfmt -s -i 2 -ci -sr -d debian/go
          find . -name '*.bash' | xargs ./shfmt -s -i 2 -ci -sr -d

{'fraction_non_alphanumeric': 0.11978740801308259, 'fraction_numerical': 0.012673753066230581, 'mean_word_length': 1.3642512077294686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7629544', 'n_tokens_mistral': 886, 'n_tokens_neox': 840, 'n_words': 232}