Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scop/pre-commit-shfmt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.6.0-1
Choose a base ref
...
head repository: scop/pre-commit-shfmt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.6.0-2
Choose a head ref
  • 10 commits
  • 5 files changed
  • 3 contributors

Commits on Mar 16, 2023

  1. Configuration menu
    Copy the full SHA
    b303583 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. fix: exclude zsh files (#11)

    shfmt does not support them as of 3.6.0.
    
    Refs mvdan/sh#966
    Freed-Wu authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    d7c8028 View commit details
    Browse the repository at this point in the history
  2. ci(setup-go): disable caching explicitly

    No Go dependencies here, disable their caching to avoid warnings.
    scop committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    3ef8818 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #10 from scop/renovate/actions-setup-go-4.x

    chore(deps): update actions/setup-go action to v4
    scop authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    a3c6e9c View commit details
    Browse the repository at this point in the history
  4. ci(check): don't bother with a virtualenv

    No need for one in this setup, user install is fine.
    scop committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    30430c5 View commit details
    Browse the repository at this point in the history
  5. ci(setup-*): remove

    Seems we can do just fine with the default Go and Python in the image;
    our guards did not add much additional versioning "protection", if any.
    
    https://github.com/actions/runner-images/blob/4cd37cce64bec041fc28f2d48e93ac64d807e537/images/linux/Ubuntu2204-Readme.md
    scop committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    ff88023 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #12 from scop/ci/cleanups

    ci: config cleanups
    scop authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    0520e4c View commit details
    Browse the repository at this point in the history
  7. fix(types): exclude csh and tcsh

    C shell is not supported by shfmt as of 3.6.0.
    
    Some types exposed by `identify` remain included that I'm not sure of:
    - ash, cbsd, dash: assuming sh compatible
    - ksh: assuming mksh compatible
    
    https://github.com/pre-commit/identify/blob/8a04d49546c61c8ba3338fc746e5ee3d8caccd03/identify/extensions.py#L2
    https://github.com/pre-commit/identify/blob/8a04d49546c61c8ba3338fc746e5ee3d8caccd03/identify/interpreters.py#L2
    scop committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    6c98492 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    264a5c1 View commit details
    Browse the repository at this point in the history
  9. chore: release v3.6.0-2

    scop committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    a8f92ab View commit details
    Browse the repository at this point in the history
Loading