awswap 0.4.2

Fast AWS profile switching with credential validation and ECR authentication
minimum_prek_version = "0.4.12"

[[repos]]
repo = "builtin"
hooks = [
  { id = "check-added-large-files", args = ["--maxkb=1000"] },
  { id = "check-case-conflict" },
  { id = "check-merge-conflict" },
  { id = "check-symlinks" },
  { id = "check-toml" },
  { id = "check-yaml" },
  { id = "detect-private-key" },
  { id = "end-of-file-fixer" },
  { id = "mixed-line-ending", args = ["--fix=lf"] },
  { id = "trailing-whitespace" },
]

[[repos]]
repo = "local"
hooks = [
  { id = "cargo-fmt", name = "cargo fmt", entry = "cargo fmt --all --check", language = "system", pass_filenames = false, files = '\.rs$' },
  { id = "cargo-clippy", name = "cargo clippy", entry = "cargo clippy --locked --all-targets --all-features -- -D warnings", language = "system", pass_filenames = false, files = '^(src/.*\.rs|Cargo\.(toml|lock)|rust-toolchain\.toml)$' },
  { id = "cargo-test", name = "cargo test", entry = "cargo test --locked --all-targets", language = "system", pass_filenames = false, files = '^(src/.*\.rs|Cargo\.(toml|lock)|rust-toolchain\.toml)$' },
]