diff --git a/docs/reference/options.md b/docs/reference/options.md index 588e9e99a..3fea0239f 100644 --- a/docs/reference/options.md +++ b/docs/reference/options.md @@ -1989,88 +1989,81 @@ lazy attribute set of anything -## hosts +## git-hooks -List of hosts entries. +Integration with https://github.com/cachix/git-hooks.nix *Type:* -attribute set of (string or list of string) +submodule *Default:* ` { } ` - - -*Example:* - -``` -{ - "another-example.com" = [ - "::1" - "127.0.0.1" - ]; - "example.com" = "127.0.0.1"; -} -``` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/integrations/hostctl.nix](https://github.com/cachix/devenv/blob/main/src/modules/integrations/hostctl.nix) + - [https://github.com/cachix/devenv/blob/main/src/modules/integrations/git-hooks.nix](https://github.com/cachix/devenv/blob/main/src/modules/integrations/git-hooks.nix) -## hostsProfileName +## git-hooks.enabledPackages -Profile name to use. +All packages provided by hooks that are enabled. + +Useful for including into the developer environment. *Type:* -string +list of unspecified value *Default:* -` "devenv-" ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/integrations/hostctl.nix](https://github.com/cachix/devenv/blob/main/src/modules/integrations/hostctl.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) -## infoSections +## git-hooks.package -Information about the environment +The ` pre-commit ` package to use. *Type:* -attribute set of list of string +package *Default:* -` { } ` + +``` +pkgs.pre-commit + +``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/info.nix](https://github.com/cachix/devenv/blob/main/src/modules/info.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) -## languages.ansible.enable +## git-hooks.addGcRoot -Whether to enable tools for Ansible development. +Whether to add the generated pre-commit-config.yaml to the garbage collector roots. +This prevents Nix from garbage-collecting the tools used by hooks. @@ -2080,596 +2073,709 @@ boolean *Default:* -` false ` - - - -*Example:* ` true ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ansible.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ansible.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) -## languages.ansible.package +## git-hooks.default_stages -The Ansible package to use. +A configuration wide option for the stages property. +Installs hooks to the defined stages. +See [https://pre-commit.com/\#confining-hooks-to-run-at-certain-stages](https://pre-commit.com/\#confining-hooks-to-run-at-certain-stages). *Type:* -package +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) *Default:* -` pkgs.ansible ` + +``` +[ + "pre-commit" +] +``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ansible.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ansible.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) -## languages.c.enable +## git-hooks.excludes -Whether to enable tools for C development. +Exclude files that were matched by these patterns. *Type:* -boolean +list of string *Default:* -` false ` +` [ ] ` +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) -*Example:* -` true ` -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/c.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/c.nix) +## git-hooks.hooks -## languages.c.debugger +The hook definitions. +You can both specify your own hooks here and you can enable predefined hooks. +Example of enabling a predefined hook: -An optional debugger package to use with c. -The default is ` gdb `, if supported on the current system. +```nix +hooks.nixpkgs-fmt.enable = true; +``` +Example of a custom hook: +```nix +hooks.my-tool = { + enable = true; + name = "my-tool"; + description = "Run MyTool on all files in the project"; + files = "\.mtl$"; + entry = "${pkgs.my-tool}/bin/mytoolctl"; +}; +``` -*Type:* -null or package +The predefined hooks are: +**` actionlint `** +Static checker for GitHub Actions workflow files -*Default:* -` pkgs.gdb ` +**` alejandra `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/c.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/c.nix) +The Uncompromising Nix Code Formatter +**` annex `** +Runs the git-annex hook for large file support -## languages.clojure.enable +**` ansible-lint `** +Ansible linter +**` autoflake `** -Whether to enable tools for Clojure development. +Remove unused imports and variables from Python code +**` bats `** +Run bash unit tests -*Type:* -boolean +**` beautysh `** +Format shell files +**` biome `** -*Default:* -` false ` +A toolchain for web projects, aimed to provide functionalities to maintain them +**` black `** +The uncompromising Python code formatter -*Example:* -` true ` +**` cabal-fmt `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/clojure.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/clojure.nix) +Format Cabal files +**` cabal-gild `** +Format Cabal files -## languages.cplusplus.enable +**` cabal2nix `** +Run ` cabal2nix ` on all ` *.cabal ` files to generate corresponding ` default.nix ` files +**` cargo-check `** -Whether to enable tools for C++ development. +Check the cargo package for errors +**` check-added-large-files `** +Prevent very large files to be committed (e.g. binaries). -*Type:* -boolean +**` check-builtin-literals `** +Require literal syntax when initializing empty or zero builtin types in Python. +**` check-case-conflicts `** -*Default:* -` false ` +Check for files that would conflict in case-insensitive filesystems. +**` check-docstring-first `** +Check that all docstrings appear above the code. -*Example:* -` true ` +**` check-executables-have-shebangs `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/cplusplus.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/cplusplus.nix) +Ensure that all non-binary executables have shebangs. +**` check-json `** +Check syntax of JSON files. -## languages.crystal.enable +**` check-merge-conflicts `** +Check for files that contain merge conflict strings. +**` check-python `** -Whether to enable Enable tools for Crystal development… +Check syntax of Python file by parsing Python abstract syntax tree. +**` check-shebang-scripts-are-executable `** +Ensure that all (non-binary) files with a shebang are executable. -*Type:* -boolean +**` check-symlinks `** +Find broken symlinks. +**` check-toml `** -*Default:* -` false ` +Check syntax of TOML files. +**` check-vcs-permalinks `** +Ensure that links to VCS websites are permalinks. -*Example:* -` true ` +**` check-xml `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/crystal.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/crystal.nix) +Check syntax of XML files. +**` check-yaml `** +Check syntax of YAML files. -## languages.cue.enable +**` checkmake `** +Experimental linter/analyzer for Makefiles +**` chktex `** -Whether to enable tools for Cue development. +LaTeX semantic checker +**` clang-format `** +Format your code using ` clang-format `. -*Type:* -boolean +**` clang-tidy `** +Static analyzer for C++ code. +**` clippy `** -*Default:* -` false ` +Lint Rust code. +**` cljfmt `** +A tool for formatting Clojure code. -*Example:* -` true ` +**` cmake-format `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/cue.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/cue.nix) +A tool for formatting CMake-files. +**` commitizen `** +Check whether the current commit message follows committing rules. -## languages.cue.package +**` conform `** +Policy enforcement for commits. +**` convco `** -The CUE package to use. +**` credo `** +Runs a static code analysis using Credo +**` crystal `** -*Type:* -package +A tool that automatically formats Crystal source code +**` cspell `** +A Spell Checker for Code -*Default:* -` pkgs.cue ` +**` deadnix `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/cue.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/cue.nix) +Scan Nix files for dead code (unused variable bindings). +**` denofmt `** +Auto-format JavaScript, TypeScript, Markdown, and JSON files. -## languages.dart.enable +**` denolint `** +Lint JavaScript/TypeScript source code. +**` detect-aws-credentials `** -Whether to enable tools for Dart development. +Detect AWS credentials from the AWS cli credentials file. +**` detect-private-keys `** +Detect the presence of private keys. -*Type:* -boolean +**` dhall-format `** +Dhall code formatter. +**` dialyzer `** -*Default:* -` false ` +Runs a static code analysis using Dialyzer +**` dune-fmt `** +Runs Dune’s formatters on the code tree. -*Example:* -` true ` +**` dune-opam-sync `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/dart.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/dart.nix) +Check that Dune-generated OPAM files are in sync. +**` eclint `** +EditorConfig linter written in Go. -## languages.dart.package +**` editorconfig-checker `** +Verify that the files are in harmony with the ` .editorconfig `. +**` elm-format `** -The Dart package to use. +Format Elm files. +**` elm-review `** +Analyzes Elm projects, to help find mistakes before your users find them. -*Type:* -package +**` elm-test `** +Run unit tests and fuzz tests for Elm code. +**` end-of-file-fixer `** -*Default:* -` pkgs.dart ` +Ensures that a file is either empty, or ends with a single newline. -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/dart.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/dart.nix) +**` eslint `** +Find and fix problems in your JavaScript code. +**` fix-byte-order-marker `** -## languages.deno.enable +Remove UTF-8 byte order marker. -Whether to enable tools for Deno development. +**` fix-encoding-pragma `** +Adds \# -*- coding: utf-8 -*- to the top of Python files.’ +**` flake-checker `** -*Type:* -boolean +Run health checks on your flake-powered Nix projects. +**` flake8 `** +Check the style and quality of Python files. -*Default:* -` false ` +**` flynt `** +CLI tool to convert a python project’s %-formatted strings to f-strings. +**` forbid-new-submodules `** -*Example:* -` true ` +Prevent addition of new Git submodules. -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/deno.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/deno.nix) +**` fourmolu `** +Haskell code prettifier. +**` fprettify `** -## languages.deno.package +Auto-formatter for modern Fortran code. +**` gofmt `** +A tool that automatically formats Go source code -Which package of Deno to use. +**` golangci-lint `** +Fast linters runner for Go. +**` golines `** -*Type:* -package +A golang formatter that fixes long lines +**` gotest `** +Run go tests -*Default:* -` pkgs.deno ` +**` govet `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/deno.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/deno.nix) +Checks correctness of Go programs. +**` gptcommit `** +Generate a commit message using GPT3. -## languages.dotnet.enable +**` hadolint `** +Dockerfile linter, validate inline bash. +**` headache `** -Whether to enable tools for .NET development. +Lightweight tool for managing headers in source code files. +**` hindent `** +Haskell code prettifier. -*Type:* -boolean +**` hlint `** +HLint gives suggestions on how to improve your source code. +**` hpack `** -*Default:* -` false ` +` hpack ` converts package definitions in the hpack format (` package.yaml `) to Cabal files. +**` html-tidy `** +HTML linter. -*Example:* -` true ` +**` hunspell `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/dotnet.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/dotnet.nix) +Spell checker and morphological analyzer. +**` isort `** +A Python utility / library to sort imports. -## languages.dotnet.package +**` juliaformatter `** +Run JuliaFormatter.jl against Julia source files +**` lacheck `** -The .NET SDK package to use. +A consistency checker for LaTeX documents. +**` latexindent `** +Perl script to add indentation to LaTeX files. -*Type:* -package +**` lua-ls `** +Uses the lua-language-server CLI to statically type-check and lint Lua code. +**` luacheck `** -*Default:* -` pkgs.dotnet-sdk ` +A tool for linting and static analysis of Lua code. -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/dotnet.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/dotnet.nix) +**` lychee `** +A fast, async, stream-based link checker that finds broken hyperlinks and mail addresses inside Markdown, HTML, reStructuredText, or any other text file or website. +**` markdownlint `** -## languages.elixir.enable +Style checker and linter for markdown files. +**` mdl `** +A tool to check markdown files and flag style issues. -Whether to enable tools for Elixir development. +**` mdsh `** +Markdown shell pre-processor. +**` mix-format `** -*Type:* -boolean +Runs the built-in Elixir syntax formatter +**` mix-test `** +Runs the built-in Elixir test framework -*Default:* -` false ` +**` mixed-line-endings `** +Resolve mixed line endings. +**` mkdocs-linkcheck `** -*Example:* -` true ` +Validate links associated with markdown-based, statically generated websites. -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/elixir.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/elixir.nix) +**` mypy `** +Static type checker for Python +**` name-tests-test `** -## languages.elixir.package +Verify that Python test files are named correctly. +**` nil `** +Incremental analysis assistant for writing in Nix. -Which package of Elixir to use. +**` nixfmt `** +Deprecated Nix code prettifier. Use nixfmt-classic. +**` nixfmt-classic `** -*Type:* -package +Nix code prettifier (classic). +**` nixfmt-rfc-style `** +Nix code prettifier (RFC 166 style). -*Default:* -` pkgs.elixir ` +**` nixpkgs-fmt `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/elixir.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/elixir.nix) +Nix code prettifier. +**` no-commit-to-branch `** +Disallow committing to certain branch/branches. -## languages.elm.enable +**` ocp-indent `** +A tool to indent OCaml code. +**` opam-lint `** -Whether to enable tools for Elm development. +OCaml package manager configuration checker. +**` ormolu `** +Haskell code prettifier. -*Type:* -boolean +**` php-cs-fixer `** +Lint PHP files. +**` phpcbf `** -*Default:* -` false ` +Lint PHP files. +**` phpcs `** +Lint PHP files. -*Example:* -` true ` +**` phpstan `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/elm.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/elm.nix) +Static Analysis of PHP files. +**` poetry-check `** +Check the Poetry config for errors -## languages.erlang.enable +**` poetry-lock `** +Update the Poetry lock file +**` pre-commit-hook-ensure-sops `** -Whether to enable tools for Erlang development. +**` prettier `** +Opinionated multi-language code formatter. +**` pretty-format-json `** -*Type:* -boolean +Formats JSON files. +**` psalm `** +Static Analysis of PHP files. -*Default:* -` false ` +**` purs-tidy `** +Format purescript files. +**` purty `** -*Example:* -` true ` +Format purescript files. -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/erlang.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/erlang.nix) +**` pylint `** +Lint Python files. +**` pyright `** -## languages.erlang.package +Static type checker for Python +**` python-debug-statements `** +Check for debugger imports and py37+ ` breakpoint() ` calls in python source. -Which package of Erlang to use. +**` pyupgrade `** +Automatically upgrade syntax for newer versions. +**` reuse `** -*Type:* -package +reuse is a tool for compliance with the REUSE recommendations. +**` revive `** +A linter for Go source code. -*Default:* -` pkgs.erlang ` +**` ripsecrets `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/erlang.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/erlang.nix) +Prevent committing secret keys into your source code +**` rome `** +**` ruff `** -## languages.fortran.enable +An extremely fast Python linter, written in Rust. +**` ruff-format `** +An extremely fast Python code formatter, written in Rust. -Whether to enable tools for Fortran Development… +**` rustfmt `** +Format Rust code. +**` shellcheck `** -*Type:* -boolean +Format shell files. +**` shfmt `** +Format shell files. -*Default:* -` false ` +**` single-quoted-strings `** +Replace double quoted strings with single quoted strings. +**` sort-file-contents `** -*Example:* -` true ` - -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/fortran.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/fortran.nix) - - - -## languages.fortran.package - - - -The Fortran package to use. - +Sort the lines in specified files (defaults to alphabetical). +**` sort-requirements-txt `** -*Type:* -package +Sort requirements in requirements.txt and constraints.txt files. +**` sort-simple-yaml `** +Sort simple YAML files which consist only of top-level keys, preserving comments and blocks. -*Default:* -` pkgs.gfortran ` +**` staticcheck `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/fortran.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/fortran.nix) +State of the art linter for the Go programming language +**` statix `** +Lints and suggestions for the Nix programming language. -## languages.gawk.enable +**` stylish-haskell `** +A simple Haskell code prettifier +**` stylua `** -Whether to enable tools for GNU Awk development. +An Opinionated Lua Code Formatter. +**` tagref `** +Have tagref check all references and tags. -*Type:* -boolean +**` taplo `** +Format TOML files with taplo fmt +**` terraform-format `** -*Default:* -` false ` +Format terraform (` .tf `) files. +**` terraform-validate `** +Validates terraform configuration files (` .tf `). -*Example:* -` true ` +**` tflint `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/gawk.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/gawk.nix) +A Pluggable Terraform Linter. +**` topiary `** +A universal formatter engine within the Tree-sitter ecosystem, with support for many languages. -## languages.gleam.enable +**` treefmt `** +One CLI to format the code tree. +**` trim-trailing-whitespace `** -Whether to enable tools for Gleam development. +Trim trailing whitespace. +**` trufflehog `** +Secrets scanner -*Type:* -boolean +**` typos `** +Source code spell checker +**` typstfmt `** -*Default:* -` false ` +format typst +**` typstyle `** +Beautiful and reliable typst code formatter -*Example:* -` true ` +**` vale `** -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/gleam.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/gleam.nix) +A markup-aware linter for prose built with speed and extensibility in mind. +**` yamlfmt `** +Formatter for YAML files. -## languages.gleam.package +**` yamllint `** +Linter for YAML files. +**` zprint `** -The Gleam package to use. +Beautifully format Clojure and Clojurescript source code and s-expressions. *Type:* -package +attribute set of (submodule) *Default:* -` pkgs.gleam ` +` { } ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/gleam.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/gleam.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) -## languages.go.enable +## git-hooks.hooks.\.enable -Whether to enable tools for Go development. +Whether to enable this pre-commit hook. @@ -2681,204 +2787,180 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.go.enableHardeningWorkaround +## git-hooks.hooks.\.package -Enable hardening workaround required for Delve debugger (https://github.com/go-delve/delve/issues/3085) +An optional package that provides the hook. *Type:* -boolean +null or package *Default:* -` false ` +` null ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.go.package +## git-hooks.hooks.\.always_run -The Go package to use. +if true this hook will run even if there are no matching files. *Type:* -package +boolean *Default:* -` pkgs.go ` +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.haskell.enable +## git-hooks.hooks.\.args -Whether to enable tools for Haskell development. +List of additional parameters to pass to the hook. *Type:* -boolean +list of string *Default:* -` false ` - - - -*Example:* -` true ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.haskell.package +## git-hooks.hooks.\.description -Haskell compiler to use. +Description of the hook. Used for metadata purposes only. *Type:* -package +string *Default:* -` pkgs.ghc ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.haskell.languageServer +## git-hooks.hooks.\.entry -Haskell language server to use. +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. *Type:* -null or package - - - -*Default:* -` pkgs.haskell-language-server ` +string *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.haskell.stack +## git-hooks.hooks.\.exclude_types -Haskell stack to use. +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -null or package +list of string *Default:* -` pkgs.stack ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.idris.enable +## git-hooks.hooks.\.excludes -Whether to enable tools for Idris development. +Exclude files that were matched by these patterns. *Type:* -boolean +list of string *Default:* -` false ` - - - -*Example:* -` true ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/idris.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/idris.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.idris.package +## git-hooks.hooks.\.extraPackages -The Idris package to use. +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. *Type:* -package +list of package *Default:* -` pkgs.idris2 ` - - - -*Example:* -` pkgs.idris ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/idris.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/idris.nix) - - + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.java.enable +## git-hooks.hooks.\.fail_fast -Whether to enable tools for Java development. +if true pre-commit will stop running hooks if this hook fails. @@ -2890,96 +2972,79 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.java.gradle.enable +## git-hooks.hooks.\.files -Whether to enable gradle. +The pattern of files to run on. *Type:* -boolean +string *Default:* -` false ` - - - -*Example:* -` true ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.java.gradle.package +## git-hooks.hooks.\.language -The Gradle package to use. -The Gradle package by default inherits the JDK from ` languages.java.jdk.package `. +The language of the hook - tells pre-commit how to install the hook. *Type:* -package +string *Default:* -` pkgs.gradle.override { java = cfg.jdk.package; } ` +` "system" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.java.jdk.package +## git-hooks.hooks.\.name -The JDK package to use. -This will also become available as ` JAVA_HOME `. +The name of the hook. Shown during hook execution. *Type:* -package +string *Default:* -` pkgs.jdk ` - - - -*Example:* -` pkgs.jdk8 ` +internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.java.maven.enable +## git-hooks.hooks.\.pass_filenames -Whether to enable maven. +Whether to pass filenames as arguments to the entry point. @@ -2989,45 +3054,37 @@ boolean *Default:* -` false ` - - - -*Example:* ` true ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) - - + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.java.maven.package +## git-hooks.hooks.\.raw -The Maven package to use. -The Maven package by default inherits the JDK from ` languages.java.jdk.package `. +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. -*Type:* -package +Default: taken from the other hook options. -*Default:* -` pkgs.maven.override { jdk_headless = cfg.jdk.package; } ` +*Type:* +attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.enable +## git-hooks.hooks.\.require_serial -Whether to enable tools for JavaScript development. +if true this hook will execute using a single process instead of in parallel. @@ -3039,89 +3096,84 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.package +## git-hooks.hooks.\.stages -The Node.js package to use. +Confines the hook to run at a particular stage. *Type:* -package +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) *Default:* -` pkgs.nodejs-slim ` +` default_stages ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.bun.enable +## git-hooks.hooks.\.types -Whether to enable install bun. +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -boolean +list of string *Default:* -` false ` - - -*Example:* -` true ` +``` +[ + "file" +] +``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.bun.package +## git-hooks.hooks.\.types_or -The bun package to use. +List of file types to run on, where only a single type needs to match. *Type:* -package +list of string *Default:* -` pkgs.bun ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.bun.install.enable +## git-hooks.hooks.\.verbose -Whether to enable bun install during devenv initialisation. +forces the output of the hook to be printed even when the hook passes. @@ -3133,21 +3185,32 @@ boolean *Default:* ` false ` +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -*Example:* -` true ` + +## git-hooks.hooks.alejandra + + + +alejandra hook + + + +*Type:* +submodule *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.javascript.corepack.enable +## git-hooks.hooks.alejandra.enable -Whether to enable wrappers for npm, pnpm and Yarn via Node.js Corepack. +Whether to enable this pre-commit hook. @@ -3159,48 +3222,37 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.directory +## git-hooks.hooks.alejandra.package -The JavaScript project’s root directory. Defaults to the root of the devenv project. -Can be an absolute path or one relative to the root of the devenv project. +An optional package that provides the hook. *Type:* -string +null or package *Default:* -` config.devenv.root ` - - - -*Example:* -` "./directory" ` +` null ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.npm.enable +## git-hooks.hooks.alejandra.always_run -Whether to enable install npm. +if true this hook will run even if there are no matching files. @@ -3212,141 +3264,140 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.npm.package +## git-hooks.hooks.alejandra.args -The Node.js package to use. +List of additional parameters to pass to the hook. *Type:* -package +list of string *Default:* -` languages.javascript.package ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.npm.install.enable +## git-hooks.hooks.alejandra.description -Whether to enable npm install during devenv initialisation. +Description of the hook. Used for metadata purposes only. *Type:* -boolean +string *Default:* -` false ` +` "" ` +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -*Example:* -` true ` -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) +## git-hooks.hooks.alejandra.entry -## languages.javascript.pnpm.enable +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. -Whether to enable install pnpm. +*Type:* +string +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -*Type:* -boolean +## git-hooks.hooks.alejandra.exclude_types -*Default:* -` false ` +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). -*Example:* -` true ` + +*Type:* +list of string + + + +*Default:* +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.pnpm.package +## git-hooks.hooks.alejandra.excludes -The pnpm package to use. +Exclude files that were matched by these patterns. *Type:* -package +list of string *Default:* -` pkgs.nodePackages.pnpm ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.pnpm.install.enable +## git-hooks.hooks.alejandra.extraPackages -Whether to enable pnpm install during devenv initialisation. +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. *Type:* -boolean +list of package *Default:* -` false ` - - - -*Example:* -` true ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.yarn.enable +## git-hooks.hooks.alejandra.fail_fast -Whether to enable install yarn. +if true pre-commit will stop running hooks if this hook fails. @@ -3358,94 +3409,79 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.yarn.package +## git-hooks.hooks.alejandra.files -The yarn package to use. +The pattern of files to run on. *Type:* -package +string *Default:* -` pkgs.yarn ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.javascript.yarn.install.enable +## git-hooks.hooks.alejandra.language -Whether to enable yarn install during devenv initialisation. +The language of the hook - tells pre-commit how to install the hook. *Type:* -boolean +string *Default:* -` false ` - - - -*Example:* -` true ` +` "system" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.jsonnet.enable +## git-hooks.hooks.alejandra.name -Whether to enable tools for jsonnet development. +The name of the hook. Shown during hook execution. *Type:* -boolean +string *Default:* -` false ` - - - -*Example:* -` true ` +internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/jsonnet.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/jsonnet.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.julia.enable +## git-hooks.hooks.alejandra.pass_filenames -Whether to enable tools for Julia development. +Whether to pass filenames as arguments to the entry point. @@ -3455,44 +3491,37 @@ boolean *Default:* -` false ` - - - -*Example:* ` true ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/julia.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/julia.nix) - + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.julia.package - +## git-hooks.hooks.alejandra.raw -The Julia package to use. +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. -*Type:* -package +Default: taken from the other hook options. -*Default:* -` pkgs.julia-bin ` +*Type:* +attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/julia.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/julia.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.kotlin.enable +## git-hooks.hooks.alejandra.require_serial -Whether to enable tools for Kotlin development. +if true this hook will execute using a single process instead of in parallel. @@ -3504,21 +3533,16 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/kotlin.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/kotlin.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.lean4.enable +## git-hooks.hooks.alejandra.settings.check -Whether to enable tools for lean4 development. +Check if the input is already formatted and disable writing in-place the modified content @@ -3536,130 +3560,167 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/lean4.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/lean4.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.lean4.package +## git-hooks.hooks.alejandra.settings.exclude -The lean4 package to use. +Files or directories to exclude from formatting. *Type:* -package +list of string *Default:* -` pkgs.lean4 ` +` [ ] ` + + + +*Example:* + +``` +[ + "flake.nix" + "./templates" +] +``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/lean4.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/lean4.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.lua.enable +## git-hooks.hooks.alejandra.settings.threads -Whether to enable tools for Lua development. +Number of formatting threads to spawn. *Type:* -boolean +null or signed integer *Default:* -` false ` +` null ` *Example:* -` true ` +` 8 ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/lua.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/lua.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.lua.package +## git-hooks.hooks.alejandra.settings.verbosity -The Lua package to use. +Whether informational messages or all messages should be hidden or not. *Type:* -package +one of “normal”, “quiet”, “silent” *Default:* -` pkgs.lua ` +` "normal" ` + + + +*Example:* +` "quiet" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/lua.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/lua.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.nim.enable +## git-hooks.hooks.alejandra.stages -Whether to enable tools for Nim development. +Confines the hook to run at a particular stage. *Type:* -boolean +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) *Default:* -` false ` +` default_stages ` +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -*Example:* -` true ` + +## git-hooks.hooks.alejandra.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/nim.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/nim.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.nim.package +## git-hooks.hooks.alejandra.types_or -The Nim package to use. +List of file types to run on, where only a single type needs to match. *Type:* -package +list of string *Default:* -` pkgs.nim ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/nim.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/nim.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.nix.enable +## git-hooks.hooks.alejandra.verbose -Whether to enable tools for Nix development. +forces the output of the hook to be printed even when the hook passes. @@ -3671,42 +3732,32 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/nix.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/nix.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.nix.lsp.package +## git-hooks.hooks.ansible-lint -The LSP package to use +ansible-lint hook *Type:* -package - - - -*Default:* -` pkgs.nil ` +submodule *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/nix.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/nix.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.ocaml.enable +## git-hooks.hooks.ansible-lint.enable -Whether to enable tools for OCaml development. +Whether to enable this pre-commit hook. @@ -3718,42 +3769,37 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ocaml.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ocaml.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.ocaml.packages +## git-hooks.hooks.ansible-lint.package -The package set of OCaml to use +An optional package that provides the hook. *Type:* -attribute set +null or package *Default:* -` pkgs.ocaml-ng.ocamlPackages_4_12 ` +` null ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ocaml.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ocaml.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.odin.enable +## git-hooks.hooks.ansible-lint.always_run -Whether to enable tools for Odin Language. +if true this hook will run even if there are no matching files. @@ -3765,163 +3811,140 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.odin.package +## git-hooks.hooks.ansible-lint.args -The odin package to use. +List of additional parameters to pass to the hook. *Type:* -package +list of string *Default:* -` pkgs.odin ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.odin.debugger +## git-hooks.hooks.ansible-lint.description -An optional debugger package to use with odin. -The default is ` gdb `, if supported on the current system. +Description of the hook. Used for metadata purposes only. *Type:* -null or package +string *Default:* -` pkgs.gdb ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.opentofu.enable +## git-hooks.hooks.ansible-lint.entry -Whether to enable tools for OpenTofu development. +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. *Type:* -boolean - - - -*Default:* -` false ` - - - -*Example:* -` true ` +string *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/opentofu.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/opentofu.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.opentofu.package +## git-hooks.hooks.ansible-lint.exclude_types -The OpenTofu package to use. +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -package +list of string *Default:* -` pkgs.opentofu ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/opentofu.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/opentofu.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.pascal.enable +## git-hooks.hooks.ansible-lint.excludes -Whether to enable tools for Pascal development. +Exclude files that were matched by these patterns. *Type:* -boolean +list of string *Default:* -` false ` - - - -*Example:* -` true ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/pascal.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/pascal.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.pascal.lazarus.enable +## git-hooks.hooks.ansible-lint.extraPackages -Whether to enable lazarus graphical IDE for the FreePascal language. +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. *Type:* -boolean +list of package *Default:* -` false ` - - - -*Example:* -` true ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/pascal.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/pascal.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.perl.enable +## git-hooks.hooks.ansible-lint.fail_fast -Whether to enable tools for Perl development. +if true pre-commit will stop running hooks if this hook fails. @@ -3933,562 +3956,474 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/perl.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/perl.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.perl.packages +## git-hooks.hooks.ansible-lint.files -Perl packages to include +The pattern of files to run on. *Type:* -list of string +string *Default:* -` [ ] ` - - - -*Example:* - -``` -[ - "Mojolicious" -] -``` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/perl.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/perl.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.enable +## git-hooks.hooks.ansible-lint.language -Whether to enable tools for PHP development. +The language of the hook - tells pre-commit how to install the hook. *Type:* -boolean +string *Default:* -` false ` - - - -*Example:* -` true ` +` "system" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.package +## git-hooks.hooks.ansible-lint.name -Allows you to [override the default used package](https://nixos.org/manual/nixpkgs/stable/\#ssec-php-user-guide) -to adjust the settings or add more extensions. You can find the -extensions using ` devenv search 'php extensions' ` +The name of the hook. Shown during hook execution. *Type:* -package +string *Default:* -` pkgs.php ` - - - -*Example:* - -``` -pkgs.php.buildEnv { - extensions = { all, enabled }: with all; enabled ++ [ xdebug ]; - extraConfig = '' - memory_limit=1G - ''; -}; - -``` +internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.packages +## git-hooks.hooks.ansible-lint.pass_filenames -Attribute set of packages including composer +Whether to pass filenames as arguments to the entry point. *Type:* -submodule +boolean *Default:* -` pkgs ` +` true ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) - + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.packages.composer - +## git-hooks.hooks.ansible-lint.raw -composer package +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. -*Type:* -null or package +Default: taken from the other hook options. -*Default:* -` pkgs.phpPackages.composer ` +*Type:* +attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.disableExtensions +## git-hooks.hooks.ansible-lint.require_serial -PHP extensions to disable. +if true this hook will execute using a single process instead of in parallel. *Type:* -list of string +boolean *Default:* -` [ ] ` +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.extensions +## git-hooks.hooks.ansible-lint.settings.configPath -PHP extensions to enable. +Path to the YAML configuration file. *Type:* -list of string +string *Default:* -` [ ] ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.php.fpm.extraConfig +## git-hooks.hooks.ansible-lint.settings.subdir -Extra configuration that should be put in the global section of -the PHP-FPM configuration file. Do not specify the options -` error_log ` or ` daemonize ` here, since they are generated by -NixOS. +Path to the Ansible subdirectory. *Type:* -null or strings concatenated with “\\n” +string *Default:* -` null ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.php.fpm.phpOptions +## git-hooks.hooks.ansible-lint.stages -Options appended to the PHP configuration file ` php.ini `. +Confines the hook to run at a particular stage. *Type:* -strings concatenated with “\\n” +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) *Default:* -` "" ` - - - -*Example:* - -``` -'' - date.timezone = "CET" -'' -``` +` default_stages ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.fpm.pools +## git-hooks.hooks.ansible-lint.types -PHP-FPM pools. If no pools are defined, the PHP-FPM -service is disabled. +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -attribute set of (submodule) +list of string *Default:* -` { } ` - - - -*Example:* ``` -{ - mypool = { - user = "php"; - group = "php"; - phpPackage = pkgs.php; - settings = { - "pm" = "dynamic"; - "pm.max_children" = 75; - "pm.start_servers" = 10; - "pm.min_spare_servers" = 5; - "pm.max_spare_servers" = 20; - "pm.max_requests" = 500; - }; - } -} +[ + "file" +] ``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.fpm.pools.\.extraConfig +## git-hooks.hooks.ansible-lint.types_or -Extra lines that go into the pool configuration. -See the documentation on ` php-fpm.conf ` for -details on configuration directives. +List of file types to run on, where only a single type needs to match. *Type:* -null or strings concatenated with “\\n” +list of string *Default:* -` null ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.fpm.pools.\.listen +## git-hooks.hooks.ansible-lint.verbose -The address on which to accept FastCGI requests. +forces the output of the hook to be printed even when the hook passes. *Type:* -string +boolean *Default:* -` "" ` +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -*Example:* -` "/path/to/unix/socket" ` +## git-hooks.hooks.autoflake -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) +autoflake hook -## languages.php.fpm.pools.\.phpEnv +*Type:* +submodule -Environment variables used for this PHP-FPM pool. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -*Type:* -attribute set of string +## git-hooks.hooks.autoflake.enable -*Default:* -` { } ` +Whether to enable this pre-commit hook. -*Example:* +*Type:* +boolean -``` -{ - HOSTNAME = "$HOSTNAME"; - TMP = "/tmp"; - TMPDIR = "/tmp"; - TEMP = "/tmp"; -} -``` + +*Default:* +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.fpm.pools.\.phpOptions +## git-hooks.hooks.autoflake.package -Options appended to the PHP configuration file ` php.ini ` used for this PHP-FPM pool. +An optional package that provides the hook. *Type:* -strings concatenated with “\\n” +null or package + + + +*Default:* +` null ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.fpm.pools.\.phpPackage +## git-hooks.hooks.autoflake.always_run -The PHP package to use for running this PHP-FPM pool. +if true this hook will run even if there are no matching files. *Type:* -package +boolean *Default:* -` phpfpm.phpPackage ` +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.fpm.pools.\.settings +## git-hooks.hooks.autoflake.args -PHP-FPM pool directives. Refer to the “List of pool directives” section of -[https://www.php.net/manual/en/install.fpm.configuration.php"](https://www.php.net/manual/en/install.fpm.configuration.php%22) -the manual for details. Note that settings names must be -enclosed in quotes (e.g. ` "pm.max_children" ` instead of -` pm.max_children `). +List of additional parameters to pass to the hook. *Type:* -attribute set of (string or signed integer or boolean) +list of string *Default:* -` { } ` +` [ ] ` +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -*Example:* -``` -{ - "pm" = "dynamic"; - "pm.max_children" = 75; - "pm.start_servers" = 10; - "pm.min_spare_servers" = 5; - "pm.max_spare_servers" = 20; - "pm.max_requests" = 500; -} +## git-hooks.hooks.autoflake.description -``` -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) +Description of the hook. Used for metadata purposes only. -## languages.php.fpm.pools.\.socket +*Type:* +string -Path to the Unix socket file on which to accept FastCGI requests. -This option is read-only and managed by NixOS. +*Default:* +` "" ` +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -*Type:* -string *(read only)* +## git-hooks.hooks.autoflake.entry -*Example:* -` config.env.DEVENV_STATE + "/php-fpm/.sock" ` -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. -## languages.php.fpm.settings +*Type:* +string +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -PHP-FPM global directives. -Refer to the “List of global php-fpm.conf directives” section of -[https://www.php.net/manual/en/install.fpm.configuration.php](https://www.php.net/manual/en/install.fpm.configuration.php) -for details. +## git-hooks.hooks.autoflake.exclude_types -Note that settings names must be enclosed in -quotes (e.g. ` "pm.max_children" ` instead of ` pm.max_children `). -You need not specify the options ` error_log ` or ` daemonize ` here, since -they are already set. + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -attribute set of (string or signed integer or boolean) +list of string *Default:* - -``` -{ - error_log = config.env.DEVENV_STATE + "/php-fpm/php-fpm.log"; -} - -``` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.ini +## git-hooks.hooks.autoflake.excludes -PHP.ini directives. Refer to the “List of php.ini directives” of PHP’s +Exclude files that were matched by these patterns. *Type:* -null or strings concatenated with “\\n” +list of string *Default:* -` "" ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.php.version +## git-hooks.hooks.autoflake.extraPackages -The PHP version to use. +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. *Type:* -string +list of package *Default:* -` "" ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.purescript.enable +## git-hooks.hooks.autoflake.fail_fast -Whether to enable tools for PureScript development. +if true pre-commit will stop running hooks if this hook fails. @@ -4500,147 +4435,119 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/purescript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/purescript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.purescript.package +## git-hooks.hooks.autoflake.files -The PureScript package to use. +The pattern of files to run on. *Type:* -package +string *Default:* -` pkgs.purescript ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/purescript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/purescript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.enable +## git-hooks.hooks.autoflake.language -Whether to enable tools for Python development. +The language of the hook - tells pre-commit how to install the hook. *Type:* -boolean +string *Default:* -` false ` +` "system" ` +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -*Example:* -` true ` - -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) - - -## languages.python.package +## git-hooks.hooks.autoflake.name -The Python package to use. +The name of the hook. Shown during hook execution. *Type:* -package +string *Default:* -` pkgs.python3 ` +internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.directory +## git-hooks.hooks.autoflake.pass_filenames -The Python project’s root directory. Defaults to the root of the devenv project. -Can be an absolute path or one relative to the root of the devenv project. +Whether to pass filenames as arguments to the entry point. *Type:* -string +boolean *Default:* -` config.devenv.root ` - - - -*Example:* -` "./directory" ` +` true ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.libraries +## git-hooks.hooks.autoflake.raw -Additional libraries to make available to the Python interpreter. +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. -This is useful when you want to use Python wheels that depend on native libraries. +Default: taken from the other hook options. *Type:* -list of path - - - -*Default:* - -``` -[ "${config.devenv.dotfile}/profile" ] - -``` +attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) - + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.manylinux.enable - +## git-hooks.hooks.autoflake.require_serial -Whether to install manylinux2014 libraries. -Enabled by default on linux; -This is useful when you want to use Python wheels that depend on manylinux2014 libraries. +if true this hook will execute using a single process instead of in parallel. @@ -4650,133 +4557,132 @@ boolean *Default:* -` true ` +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.enable +## git-hooks.hooks.autoflake.settings.binPath -Whether to enable poetry. +Path to autoflake binary. *Type:* -boolean +null or string *Default:* -` false ` - +``` +"${tools.autoflake}/bin/autoflake" -*Example:* -` true ` +``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.python.poetry.package +## git-hooks.hooks.autoflake.settings.flags -The Poetry package to use. +Flags passed to autoflake. *Type:* -package +string *Default:* -` pkgs.poetry ` +` "--in-place --expand-star-imports --remove-duplicate-keys --remove-unused-variables" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.python.poetry.activate.enable +## git-hooks.hooks.autoflake.stages -Whether to activate the poetry virtual environment automatically. +Confines the hook to run at a particular stage. *Type:* -boolean +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) *Default:* -` false ` +` default_stages ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.install.enable +## git-hooks.hooks.autoflake.types -Whether to enable poetry install during devenv initialisation. +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -boolean +list of string *Default:* -` false ` - - -*Example:* -` true ` +``` +[ + "file" +] +``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.install.allExtras +## git-hooks.hooks.autoflake.types_or -Whether to install all extras. See ` --all-extras `. +List of file types to run on, where only a single type needs to match. *Type:* -boolean +list of string *Default:* -` false ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.install.compile +## git-hooks.hooks.autoflake.verbose -Whether ` poetry install ` should compile Python source files to bytecode. +forces the output of the hook to be printed even when the hook passes. @@ -4789,76 +4695,73 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.install.extras +## git-hooks.hooks.biome -Which extras to install. See ` --extras `. +biome hook *Type:* -list of string - +submodule +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -*Default:* -` [ ] ` -*Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) +## git-hooks.hooks.biome.enable -## languages.python.poetry.install.groups -Which dependency groups to install. See ` --with `. +Whether to enable this pre-commit hook. *Type:* -list of string +boolean *Default:* -` [ ] ` +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.install.ignoredGroups +## git-hooks.hooks.biome.package -Which dependency groups to ignore. See ` --without `. +An optional package that provides the hook. *Type:* -list of string +null or package *Default:* -` [ ] ` +` null ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.install.installRootPackage +## git-hooks.hooks.biome.always_run -Whether the root package (your project) should be installed. See ` --no-root ` +if true this hook will run even if there are no matching files. @@ -4871,15 +4774,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.install.onlyGroups +## git-hooks.hooks.biome.args -Which dependency groups to exclusively install. See ` --only `. +List of additional parameters to pass to the hook. @@ -4892,125 +4795,118 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.install.onlyInstallRootPackage +## git-hooks.hooks.biome.description -Whether to only install the root package (your project) should be installed, but no dependencies. See ` --only-root ` +Description of the hook. Used for metadata purposes only. *Type:* -boolean +string *Default:* -` false ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.install.quiet +## git-hooks.hooks.biome.entry -Whether ` poetry install ` should avoid outputting messages during devenv initialisation. +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. *Type:* -boolean - - - -*Default:* -` false ` +string *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.poetry.install.verbosity +## git-hooks.hooks.biome.exclude_types -What level of verbosity the output of ` poetry install ` should have. +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -one of “no”, “little”, “more”, “debug” +list of string *Default:* -` "no" ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.uv.enable +## git-hooks.hooks.biome.excludes -Whether to enable uv. +Exclude files that were matched by these patterns. *Type:* -boolean +list of string *Default:* -` false ` - - - -*Example:* -` true ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.uv.package +## git-hooks.hooks.biome.extraPackages -The uv package to use. +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. *Type:* -package +list of package *Default:* -` pkgs.uv ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.uv.sync.enable +## git-hooks.hooks.biome.fail_fast -Whether to enable uv sync during devenv initialisation. +if true pre-commit will stop running hooks if this hook fails. @@ -5022,89 +4918,79 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.uv.sync.allExtras +## git-hooks.hooks.biome.files -Whether to install all extras. See ` --all-extras `. +The pattern of files to run on. *Type:* -boolean +string *Default:* -` false ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.uv.sync.extras +## git-hooks.hooks.biome.language -Which extras to install. See ` --extra `. +The language of the hook - tells pre-commit how to install the hook. *Type:* -list of string +string *Default:* -` [ ] ` +` "system" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.venv.enable +## git-hooks.hooks.biome.name -Whether to enable Python virtual environment. +The name of the hook. Shown during hook execution. *Type:* -boolean +string *Default:* -` false ` - - - -*Example:* -` true ` +internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.venv.quiet +## git-hooks.hooks.biome.pass_filenames -Whether ` pip install ` should avoid outputting messages during devenv initialisation. +Whether to pass filenames as arguments to the entry point. @@ -5114,114 +5000,98 @@ boolean *Default:* -` false ` +` true ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.venv.requirements - +## git-hooks.hooks.biome.raw -Contents of pip requirements.txt file. -This is passed to ` pip install -r ` during ` devenv shell ` initialisation. - +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. -*Type:* -null or strings concatenated with “\\n” or path +Default: taken from the other hook options. -*Default:* -` null ` +*Type:* +attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.python.version +## git-hooks.hooks.biome.require_serial -The Python version to use. -This automatically sets the ` languages.python.package ` using [nixpkgs-python](https://github.com/cachix/nixpkgs-python). +if true this hook will execute using a single process instead of in parallel. *Type:* -null or string +boolean *Default:* -` null ` - - - -*Example:* -` "3.11 or 3.11.2" ` +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) - + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.r.enable - +## git-hooks.hooks.biome.settings.binPath -Whether to enable tools for R development. +` biome ` binary path. E.g. if you want to use the ` biome ` in ` node_modules `, use ` ./node_modules/.bin/biome `. *Type:* -boolean +null or path *Default:* -` false ` - - - -*Example:* -` true ` +` null ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.r.package +## git-hooks.hooks.biome.settings.configPath -The R package to use. +Path to the configuration JSON file *Type:* -package +string *Default:* -` pkgs.R ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.r.radian.enable +## git-hooks.hooks.biome.settings.write -Whether to enable a 21 century R console. +Whether to edit files inplace. @@ -5231,91 +5101,86 @@ boolean *Default:* -` false ` - - - -*Example:* ` true ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.r.radian.package +## git-hooks.hooks.biome.stages -The radian package to use. +Confines the hook to run at a particular stage. *Type:* -package +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) *Default:* -` pkgs.radianWrapper ` +` default_stages ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.racket.enable +## git-hooks.hooks.biome.types -Whether to enable tools for Racket development. +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -boolean +list of string *Default:* -` false ` - - -*Example:* -` true ` +``` +[ + "file" +] +``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/racket.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/racket.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.racket.package +## git-hooks.hooks.biome.types_or -The Racket package to use. +List of file types to run on, where only a single type needs to match. *Type:* -package +list of string *Default:* -` pkgs.racket-minimal ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/racket.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/racket.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.raku.enable +## git-hooks.hooks.biome.verbose -Whether to enable tools for Raku development. +forces the output of the hook to be printed even when the hook passes. @@ -5327,21 +5192,32 @@ boolean *Default:* ` false ` +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -*Example:* -` true ` + +## git-hooks.hooks.black + + + +black hook + + + +*Type:* +submodule *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/raku.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/raku.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.robotframework.enable +## git-hooks.hooks.black.enable -Whether to enable tools for Robot Framework development. +Whether to enable this pre-commit hook. @@ -5353,42 +5229,37 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/robotframework.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/robotframework.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.robotframework.python +## git-hooks.hooks.black.package -The Python package to use. +An optional package that provides the hook. *Type:* -package +null or package *Default:* -` pkgs.python3 ` +` null ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/robotframework.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/robotframework.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.ruby.enable +## git-hooks.hooks.black.always_run -Whether to enable tools for Ruby development. +if true this hook will run even if there are no matching files. @@ -5400,244 +5271,203 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.ruby.package +## git-hooks.hooks.black.args -The Ruby package to use. +List of additional parameters to pass to the hook. *Type:* -package +list of string *Default:* -` pkgs.ruby_3_1 ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.ruby.bundler.enable +## git-hooks.hooks.black.description -Whether to enable bundler. +Description of the hook. Used for metadata purposes only. *Type:* -boolean +string *Default:* -` false ` - - - -*Example:* -` true ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.ruby.bundler.package +## git-hooks.hooks.black.entry -The bundler package to use. +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. *Type:* -package - - - -*Default:* -` pkgs.bundler.override { ruby = cfg.package; } ` +string *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.ruby.version +## git-hooks.hooks.black.exclude_types -The Ruby version to use. -This automatically sets the ` languages.ruby.package ` using [nixpkgs-ruby](https://github.com/bobvanderlinden/nixpkgs-ruby). +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -null or string +list of string *Default:* -` null ` - - - -*Example:* -` "3.2.1" ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.ruby.versionFile - +## git-hooks.hooks.black.excludes -The .ruby-version file path to extract the Ruby version from. -This automatically sets the ` languages.ruby.package ` using [nixpkgs-ruby](https://github.com/bobvanderlinden/nixpkgs-ruby). -When the ` .ruby-version ` file exists in the same directory as the devenv configuration, you can use: -```nix -languages.ruby.versionFile = ./.ruby-version; -``` +Exclude files that were matched by these patterns. *Type:* -null or path +list of string *Default:* -` null ` - - - -*Example:* - -``` -./ruby-version - -``` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.enable +## git-hooks.hooks.black.extraPackages -Whether to enable tools for Rust development. +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. *Type:* -boolean +list of package *Default:* -` false ` - - - -*Example:* -` true ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.channel +## git-hooks.hooks.black.fail_fast -The rustup toolchain to install. +if true pre-commit will stop running hooks if this hook fails. *Type:* -one of “nixpkgs”, “stable”, “beta”, “nightly” +boolean *Default:* -` "nixpkgs" ` +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.components +## git-hooks.hooks.black.files -List of [Rustup components](https://rust-lang.github.io/rustup/concepts/components.html) -to install. Defaults to those available in ` nixpkgs `. +The pattern of files to run on. *Type:* -list of string +string *Default:* -` [ "rustc" "cargo" "clippy" "rustfmt" "rust-analyzer" ] ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.mold.enable - +## git-hooks.hooks.black.language -Enable mold as the linker. -Enabled by default on x86_64 Linux machines when no cross-compilation targets are specified. +The language of the hook - tells pre-commit how to install the hook. *Type:* -boolean +string *Default:* -` pkgs.stdenv.isLinux && pkgs.stdenv.isx86_64 && languages.rust.targets == [ ] ` +` "system" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.rustflags +## git-hooks.hooks.black.name -Extra flags to pass to the Rust compiler. +The name of the hook. Shown during hook execution. @@ -5647,166 +5477,173 @@ string *Default:* -` "" ` +internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.targets +## git-hooks.hooks.black.pass_filenames -List of extra [targets](https://github.com/nix-community/fenix\#supported-platforms-and-targets) -to install. Defaults to only the native target. +Whether to pass filenames as arguments to the entry point. *Type:* -list of string +boolean *Default:* -` [ ] ` +` true ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.toolchain +## git-hooks.hooks.black.raw -Rust component packages. May optionally define additional components, for example ` miri `. +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. - - -*Type:* -attribute set of package +Default: taken from the other hook options. -*Default:* -` nixpkgs ` +*Type:* +attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.toolchain.cargo +## git-hooks.hooks.black.require_serial -cargo package +if true this hook will execute using a single process instead of in parallel. *Type:* -null or package +boolean *Default:* -` pkgs.cargo ` +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.toolchain.clippy +## git-hooks.hooks.black.settings.flags -clippy package +Flags passed to black. See all available [here](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html\#command-line-options). *Type:* -null or package +string *Default:* -` pkgs.clippy ` +` "" ` + + + +*Example:* +` "--skip-magic-trailing-comma" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.rust.toolchain.rust-analyzer +## git-hooks.hooks.black.stages -rust-analyzer package +Confines the hook to run at a particular stage. *Type:* -null or package +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) *Default:* -` pkgs.rust-analyzer ` +` default_stages ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.toolchain.rustc +## git-hooks.hooks.black.types -rustc package +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -null or package +list of string *Default:* -` pkgs.rustc ` + +``` +[ + "file" +] +``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.rust.toolchain.rustfmt +## git-hooks.hooks.black.types_or -rustfmt package +List of file types to run on, where only a single type needs to match. *Type:* -null or package +list of string *Default:* -` pkgs.rustfmt ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.scala.enable +## git-hooks.hooks.black.verbose -Whether to enable tools for Scala development. +forces the output of the hook to be printed even when the hook passes. @@ -5818,42 +5655,32 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.scala.package +## git-hooks.hooks.clippy -The Scala package to use. +clippy hook *Type:* -package - - - -*Default:* -` pkgs.scala_3 ` +submodule *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.scala.mill.enable +## git-hooks.hooks.clippy.enable -Whether to enable mill, a simplified, fast build tool for Scala. +Whether to enable this pre-commit hook. @@ -5865,94 +5692,69 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.scala.mill.package +## git-hooks.hooks.clippy.package -The mill package to use. +An optional package that provides the hook. *Type:* -package +null or package *Default:* -` pkgs.mill ` +` null ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.scala.sbt.enable +## git-hooks.hooks.clippy.packageOverrides.cargo -Whether to enable sbt, the standard build tool for Scala. +The cargo package to use *Type:* -boolean - - - -*Default:* -` false ` - - - -*Example:* -` true ` +package *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.scala.sbt.package +## git-hooks.hooks.clippy.packageOverrides.clippy -The sbt package to use. +The clippy package to use *Type:* package - - -*Default:* -` pkgs.sbt ` - - - -*Example:* -` sbt-with-scala-native ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.shell.enable +## git-hooks.hooks.clippy.always_run -Whether to enable tools for shell development. +if true this hook will run even if there are no matching files. @@ -5964,162 +5766,140 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/shell.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/shell.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.solidity.enable +## git-hooks.hooks.clippy.args -Whether to enable tools for Solidity development. +List of additional parameters to pass to the hook. *Type:* -boolean +list of string *Default:* -` false ` - - - -*Example:* -` true ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.solidity.package +## git-hooks.hooks.clippy.description -Which compiler of Solidity to use. +Description of the hook. Used for metadata purposes only. *Type:* -package +string *Default:* -` pkgs.elixir ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.solidity.foundry.enable +## git-hooks.hooks.clippy.entry -Whether to enable install Foundry. +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. *Type:* -boolean - - - -*Default:* -` false ` - - - -*Example:* -` true ` +string *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.solidity.foundry.package +## git-hooks.hooks.clippy.exclude_types -Which Foundry package to use. +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -package +list of string *Default:* -` foundry.defaultPackage.$${pkgs.stdenv.system} ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.standardml.enable +## git-hooks.hooks.clippy.excludes -Whether to enable tools for Standard ML development. +Exclude files that were matched by these patterns. *Type:* -boolean +list of string *Default:* -` false ` - - - -*Example:* -` true ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/standardml.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/standardml.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.standardml.package +## git-hooks.hooks.clippy.extraPackages -The Standard ML package to use. +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. *Type:* -package +list of package *Default:* -` pkgs.mlton ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/standardml.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/standardml.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.swift.enable +## git-hooks.hooks.clippy.fail_fast -Whether to enable tools for Swift development. +if true pre-commit will stop running hooks if this hook fails. @@ -6131,116 +5911,119 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/swift.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/swift.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.swift.package +## git-hooks.hooks.clippy.files -The Swift package to use. +The pattern of files to run on. *Type:* -package +string *Default:* -` pkgs.swift ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/swift.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/swift.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.terraform.enable +## git-hooks.hooks.clippy.language -Whether to enable tools for Terraform development. +The language of the hook - tells pre-commit how to install the hook. *Type:* -boolean +string *Default:* -` false ` - - - -*Example:* -` true ` +` "system" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.terraform.package +## git-hooks.hooks.clippy.name -The Terraform package to use. +The name of the hook. Shown during hook execution. *Type:* -package +string *Default:* -` pkgs.terraform ` +internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.terraform.version +## git-hooks.hooks.clippy.pass_filenames -The Terraform version to use. -This automatically sets the ` languages.terraform.package ` using [nixpkgs-terraform](https://github.com/stackbuilders/nixpkgs-terraform). +Whether to pass filenames as arguments to the entry point. *Type:* -null or string +boolean *Default:* -` null ` +` true ` +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.clippy.raw -*Example:* -` "1.5.0 or 1.6.2" ` + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.texlive.enable +## git-hooks.hooks.clippy.require_serial -Whether to enable TeX Live. +if true this hook will execute using a single process instead of in parallel. @@ -6252,105 +6035,79 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.texlive.packages +## git-hooks.hooks.clippy.settings.allFeatures -Extra packages to add to the base TeX Live set +Run clippy with --all-features *Type:* -list of string +boolean *Default:* -` [ ] ` - - - -*Example:* - -``` -[ - "algorithms" - "latexmk" -] -``` +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.texlive.base +## git-hooks.hooks.clippy.settings.denyWarnings -TeX Live package set to use +Fail when warnings are present *Type:* -unspecified value +boolean *Default:* -` pkgs.texliveSmall ` - - - -*Example:* -` pkgs.texliveBasic ` +` false ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.typescript.enable +## git-hooks.hooks.clippy.settings.extraArgs -Whether to enable tools for TypeScript development. +Additional arguments to pass to clippy *Type:* -boolean +string *Default:* -` false ` - - - -*Example:* -` true ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/typescript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/typescript.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.typst.enable +## git-hooks.hooks.clippy.settings.offline -Whether to enable tools for Typst development. +Run clippy offline @@ -6360,91 +6117,86 @@ boolean *Default:* -` false ` - - - -*Example:* ` true ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/typst.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/typst.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.typst.package +## git-hooks.hooks.clippy.stages -Which package of Typst to use. +Confines the hook to run at a particular stage. *Type:* -package +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) *Default:* -` pkgs.typst ` +` default_stages ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/typst.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/typst.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.unison.enable +## git-hooks.hooks.clippy.types -Whether to enable tools for Unison development. +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -boolean +list of string *Default:* -` false ` - - -*Example:* -` true ` +``` +[ + "file" +] +``` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/unison.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/unison.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.unison.package +## git-hooks.hooks.clippy.types_or -Which package of Unison to use +List of file types to run on, where only a single type needs to match. *Type:* -package +list of string *Default:* -` pkgs.unison-ucm ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/unison.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/unison.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.v.enable +## git-hooks.hooks.clippy.verbose -Whether to enable tools for V development. +forces the output of the hook to be printed even when the hook passes. @@ -6456,42 +6208,32 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/v.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/v.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.v.package +## git-hooks.hooks.cmake-format -The V package to use. +cmake-format hook *Type:* -package - - - -*Default:* -` pkgs.vlang ` +submodule *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/v.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/v.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## languages.vala.enable +## git-hooks.hooks.cmake-format.enable -Whether to enable tools for Vala development. +Whether to enable this pre-commit hook. @@ -6503,47 +6245,37 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/vala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/vala.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.vala.package +## git-hooks.hooks.cmake-format.package -The Vala package to use. +An optional package that provides the hook. *Type:* -package +null or package *Default:* -` pkgs.vala ` - - - -*Example:* -` pkgs.vala_0_54 ` +` null ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/vala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/vala.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.zig.enable +## git-hooks.hooks.cmake-format.always_run -Whether to enable tools for Zig development. +if true this hook will run even if there are no matching files. @@ -6555,120 +6287,100 @@ boolean *Default:* ` false ` - - -*Example:* -` true ` - *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/zig.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/zig.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## languages.zig.package +## git-hooks.hooks.cmake-format.args -Which package of Zig to use. +List of additional parameters to pass to the hook. *Type:* -package +list of string *Default:* -` pkgs.zig ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/languages/zig.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/zig.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## name +## git-hooks.hooks.cmake-format.description -Name of the project. +Description of the hook. Used for metadata purposes only. *Type:* -null or string +string *Default:* -` null ` +` "" ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/top-level.nix](https://github.com/cachix/devenv/blob/main/src/modules/top-level.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## outputs +## git-hooks.hooks.cmake-format.entry -Nix outputs for ` devenv build ` consumption. +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. *Type:* -outputOf (attribute set) - - - -*Default:* - -``` -{ - foo = { - ncdu = ; - }; - git = ; -} -``` +string *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/outputs.nix](https://github.com/cachix/devenv/blob/main/src/modules/outputs.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit +## git-hooks.hooks.cmake-format.exclude_types -Integration of https://github.com/cachix/pre-commit-hooks.nix +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -submodule +list of string *Default:* -` { } ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/devenv/blob/main/src/modules/integrations/pre-commit.nix](https://github.com/cachix/devenv/blob/main/src/modules/integrations/pre-commit.nix) - + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.enabledPackages +## git-hooks.hooks.cmake-format.excludes -All packages provided by hooks that are enabled. -Useful for including into the developer environment. +Exclude files that were matched by these patterns. *Type:* -list of unspecified value +list of string @@ -6676,41 +6388,39 @@ list of unspecified value ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.package +## git-hooks.hooks.cmake-format.extraPackages -The ` pre-commit ` package to use. +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. *Type:* -package +list of package *Default:* - -``` -pkgs.pre-commit - -``` +` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.addGcRoot +## git-hooks.hooks.cmake-format.fail_fast -Whether to add the generated pre-commit-config.yaml to the garbage collector roots. -This prevents Nix from garbage-collecting the tools used by hooks. +if true pre-commit will stop running hooks if this hook fails. @@ -6720,703 +6430,30569 @@ boolean *Default:* -` true ` +` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.default_stages +## git-hooks.hooks.cmake-format.files -A configuration wide option for the stages property. -Installs hooks to the defined stages. -See [https://pre-commit.com/\#confining-hooks-to-run-at-certain-stages](https://pre-commit.com/\#confining-hooks-to-run-at-certain-stages). +The pattern of files to run on. *Type:* -list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) +string *Default:* - -``` -[ - "pre-commit" -] -``` +` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.excludes +## git-hooks.hooks.cmake-format.language -Exclude files that were matched by these patterns. +The language of the hook - tells pre-commit how to install the hook. *Type:* -list of string +string *Default:* -` [ ] ` +` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks +## git-hooks.hooks.cmake-format.name -The hook definitions. +The name of the hook. Shown during hook execution. -You can both specify your own hooks here and you can enable predefined hooks. -Example of enabling a predefined hook: -```nix -hooks.nixpkgs-fmt.enable = true; -``` +*Type:* +string -Example of a custom hook: -```nix -hooks.my-tool = { - enable = true; - name = "my-tool"; - description = "Run MyTool on all files in the project"; - files = "\.mtl$"; - entry = "${pkgs.my-tool}/bin/mytoolctl"; -}; + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.cmake-format.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.cmake-format.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.cmake-format.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.cmake-format.settings.configPath + + + +Path to the configuration file (.json,.python,.yaml) + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* +` ".cmake-format.json" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.cmake-format.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.cmake-format.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] ``` -The predefined hooks are: +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` actionlint `** -Static checker for GitHub Actions workflow files -**` alejandra `** +## git-hooks.hooks.cmake-format.types_or -The Uncompromising Nix Code Formatter -**` annex `** -Runs the git-annex hook for large file support +List of file types to run on, where only a single type needs to match. -**` ansible-lint `** -Ansible linter -**` autoflake `** +*Type:* +list of string -Remove unused imports and variables from Python code -**` bats `** -Run bash unit tests +*Default:* +` [ ] ` -**` beautysh `** +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -Format shell files -**` biome `** -A toolchain for web projects, aimed to provide functionalities to maintain them +## git-hooks.hooks.cmake-format.verbose -**` black `** -The uncompromising Python code formatter -**` cabal-fmt `** +forces the output of the hook to be printed even when the hook passes. -Format Cabal files -**` cabal-gild `** -Format Cabal files +*Type:* +boolean -**` cabal2nix `** -Run ` cabal2nix ` on all ` *.cabal ` files to generate corresponding ` default.nix ` files -**` cargo-check `** +*Default:* +` false ` -Check the cargo package for errors +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` check-added-large-files `** -Prevent very large files to be committed (e.g. binaries). -**` check-builtin-literals `** +## git-hooks.hooks.credo -Require literal syntax when initializing empty or zero builtin types in Python. -**` check-case-conflicts `** -Check for files that would conflict in case-insensitive filesystems. +credo hook -**` check-docstring-first `** -Check that all docstrings appear above the code. -**` check-executables-have-shebangs `** +*Type:* +submodule -Ensure that all non-binary executables have shebangs. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -**` check-json `** -Check syntax of JSON files. -**` check-merge-conflicts `** +## git-hooks.hooks.credo.enable -Check for files that contain merge conflict strings. -**` check-python `** -Check syntax of Python file by parsing Python abstract syntax tree. +Whether to enable this pre-commit hook. -**` check-shebang-scripts-are-executable `** -Ensure that all (non-binary) files with a shebang are executable. -**` check-symlinks `** +*Type:* +boolean -Find broken symlinks. -**` check-toml `** -Check syntax of TOML files. +*Default:* +` false ` -**` check-vcs-permalinks `** +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -Ensure that links to VCS websites are permalinks. -**` check-xml `** -Check syntax of TOML files. +## git-hooks.hooks.credo.package -**` check-yaml `** -Check syntax of YAML files. -**` checkmake `** +An optional package that provides the hook. -Experimental linter/analyzer for Makefiles -**` chktex `** -LaTeX semantic checker +*Type:* +null or package -**` clang-format `** -Format your code using ` clang-format `. -**` clang-tidy `** +*Default:* +` null ` -Static analyzer for C++ code. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` clippy `** -Lint Rust code. -**` cljfmt `** +## git-hooks.hooks.credo.always_run -A tool for formatting Clojure code. -**` cmake-format `** -A tool for formatting CMake-files. +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.settings.strict + + + +Whether to auto-promote the changes. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.credo.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.credo.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix + +deadnix hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.deadnix.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.settings.edit + + + +Remove unused code and write to source file. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.deadnix.settings.exclude + + + +Files to exclude from analysis. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.deadnix.settings.hidden + + + +Recurse into hidden subdirectories and process hidden .\*.nix files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.deadnix.settings.noLambdaArg + + + +Don’t check lambda parameter arguments. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.deadnix.settings.noLambdaPatternNames + + + +Don’t check lambda pattern names (don’t break nixpkgs ` callPackage `). + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.deadnix.settings.noUnderscore + + + +Don’t check any bindings that start with a ` _ `. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.deadnix.settings.quiet + + + +Don’t print a dead code report. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.deadnix.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.deadnix.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt + + + +denofmt hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.denofmt.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.settings.configPath + + + +Path to the configuration JSON file + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.denofmt.settings.write + + + +Whether to edit files inplace. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.denofmt.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denofmt.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint + + + +denolint hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.denolint.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.settings.configPath + + + +Path to the configuration JSON file + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.denolint.settings.format + + + +Output format. + + + +*Type:* +one of “default”, “compact”, “json” + + + +*Default:* +` "default" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.denolint.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.denolint.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt + + + +dune-fmt hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.dune-fmt.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.settings.auto-promote + + + +Whether to auto-promote the changes. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.dune-fmt.settings.extraRuntimeInputs + + + +Extra runtimeInputs to add to the environment, eg. ` ocamlformat `. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.dune-fmt.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.dune-fmt.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint + + + +eclint hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.eclint.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.settings.color + + + +When to generate colored output. + + + +*Type:* +one of “auto”, “always”, “never” + + + +*Default:* +` "auto" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.eclint.settings.exclude + + + +Filter to exclude files. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.eclint.settings.fix + + + +Modify files in place rather than showing the errors. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.eclint.settings.summary + + + +Only show number of errors per file. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.eclint.settings.verbosity + + + +Log level verbosity + + + +*Type:* +one of 0, 1, 2, 3, 4 + + + +*Default:* +` 0 ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.eclint.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eclint.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint + + + +eslint hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.eslint.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.settings.binPath + + + +` eslint ` binary path. E.g. if you want to use the ` eslint ` in ` node_modules `, use ` ./node_modules/.bin/eslint `. + + + +*Type:* +null or path + + + +*Default:* +` ${tools.eslint}/bin/eslint ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.eslint.settings.extensions + + + +The pattern of files to run on, see [https://pre-commit.com/\#hooks-files](https://pre-commit.com/\#hooks-files). + + + +*Type:* +string + + + +*Default:* +` "\.js$" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.eslint.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.eslint.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8 + + + +flake8 hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flake8.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.settings.binPath + + + +flake8 binary path. Should be used to specify flake8 binary from your Nix-managed Python environment. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.flake8}/bin/flake8" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flake8.settings.extendIgnore + + + +List of additional ignore codes + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + + + +*Example:* + +``` +[ + "E501" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flake8.settings.format + + + +Output format. + + + +*Type:* +string + + + +*Default:* +` "default" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flake8.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flake8.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt + + + +flynt hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.settings.aggressive + + + +Include conversions with potentially changed behavior. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.settings.binPath + + + +flynt binary path. Can be used to specify the flynt binary from an existing Python environment. + + + +*Type:* +null or string + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.settings.dry-run + + + +Do not change files in-place and print diff instead. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.settings.exclude + + + +Ignore files with given strings in their absolute path. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.settings.fail-on-change + + + +Fail when diff is not empty (for linting purposes). + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.settings.line-length + + + +Convert expressions spanning multiple lines, only if the resulting single line will fit into this line length limit. + + + +*Type:* +null or signed integer + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.settings.no-multiline + + + +Convert only single line expressions. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.settings.quiet + + + +Run without output. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.settings.string + + + +Interpret the input as a Python code snippet and print the converted version. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.settings.transform-concats + + + +Replace string concatenations with f-strings. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.settings.verbose + + + +Run with verbose output. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.flynt.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.flynt.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines + + + +golines hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.golines.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.settings.flags + + + +Flags passed to golines. See all available [here](https://github.com/segmentio/golines?tab=readme-ov-file\#options) + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* +` "-m 120" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.golines.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.golines.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache + + + +headache hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.headache.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.settings.header-file + + + +Path to the header file. + + + +*Type:* +string + + + +*Default:* +` ".header" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.headache.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.headache.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint + + + +hlint hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.hlint.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.settings.hintFile + + + +Path to hlint.yaml. By default, hlint searches for .hlint.yaml in the project root. + + + +*Type:* +null or path + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.hlint.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hlint.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack + + + +hpack hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.hpack.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.settings.silent + + + +Whether generation should be silent. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.hpack.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.hpack.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort + + + +isort hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.isort.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.settings.flags + + + +Flags passed to isort. See all available [here](https://pycqa.github.io/isort/docs/configuration/options.html). + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.isort.settings.profile + + + +Built-in profiles to allow easy interoperability with common projects and code styles. + + + +*Type:* +one of “”, “black”, “django”, “pycharm”, “google”, “open_stack”, “plone”, “attrs”, “hug”, “wemake”, “appnexus” + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.isort.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.isort.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck + + + +lacheck hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.lacheck.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lacheck.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent + + + +latexindent hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.latexindent.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.settings.flags + + + +Flags passed to latexindent. See available flags [here](https://latexindentpl.readthedocs.io/en/latest/sec-how-to-use.html\#from-the-command-line) + + + +*Type:* +string + + + +*Default:* +` "--local --silent --overwriteIfDifferent" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.latexindent.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.latexindent.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls + + + +lua-ls hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.lua-ls.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.settings.checklevel + + + +The diagnostic check level + + + +*Type:* +one of “Error”, “Warning”, “Information”, “Hint” + + + +*Default:* +` "Warning" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.lua-ls.settings.configuration + + + +See https://github.com/LuaLS/lua-language-server/wiki/Configuration-File\#luarcjson + + + +*Type:* +attribute set + + + +*Default:* +` { } ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.lua-ls.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lua-ls.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee + + + +lychee hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.lychee.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.settings.configPath + + + +Path to the config file. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.lychee.settings.flags + + + +Flags passed to lychee. See all available [here](https://lychee.cli.rs/\#/usage/cli). + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.lychee.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.lychee.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint + + + +markdownlint hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.markdownlint.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.settings.configuration + + + +See https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.jsonc + + + +*Type:* +attribute set + + + +*Default:* +` { } ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.markdownlint.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.markdownlint.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl + + + +mdl hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.settings.configPath + + + +The configuration file to use. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.git-recurse + + + +Only process files known to git when given a directory. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.ignore-front-matter + + + +Ignore YAML front matter. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.json + + + +Format output as JSON. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.rules + + + +Markdown rules to use for linting. Per default all rules are processed. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.rulesets + + + +Specify additional ruleset files to load. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.show-aliases + + + +Show rule alias instead of rule ID when viewing rules. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.skip-default-ruleset + + + +Do not load the default markdownlint ruleset. Use this option if you only want to load custom rulesets. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.style + + + +Select which style mdl uses. + + + +*Type:* +string + + + +*Default:* +` "default" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.tags + + + +Markdown rules to use for linting containing the given tags. Per default all rules are processed. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.verbose + + + +Increase verbosity. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.settings.warnings + + + +Show Kramdown warnings. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mdl.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mdl.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck + + + +mkdocs-linkcheck hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.settings.binPath + + + +mkdocs-linkcheck binary path. Should be used to specify the mkdocs-linkcheck binary from your Nix-managed Python environment. + + + +*Type:* +null or path + + + +*Default:* + +``` +"${tools.mkdocs-linkcheck}/bin/mkdocs-linkcheck" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.settings.extension + + + +File extension to scan for. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.settings.local-only + + + +Whether to only check local links. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.settings.method + + + +HTTP method to use when checking external links. + + + +*Type:* +one of “get”, “head” + + + +*Default:* +` "get" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.settings.path + + + +Path to check + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.settings.recurse + + + +Whether to recurse directories under path. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mkdocs-linkcheck.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy + + + +mypy hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mypy.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.settings.binPath + + + +Mypy binary path. Should be used to specify the mypy executable in an environment containing your typing stubs. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.mypy}/bin/mypy" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.mypy.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.mypy.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic + + + +nixfmt (classic) hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.nixfmt-classic.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.settings.width + + + +Line width. + + + +*Type:* +null or signed integer + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.nixfmt-classic.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-classic.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style + + + +nixfmt (RFC 166 style) hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.settings.width + + + +Line width. + + + +*Type:* +null or signed integer + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.nixfmt-rfc-style.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch + + + +no-commit-to-branch-hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.no-commit-to-branch.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.settings.branch + + + +Branches to disallow commits to. + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "main" +] +``` + + + +*Example:* + +``` +[ + "main" + "master" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.no-commit-to-branch.settings.pattern + + + +RegEx patterns for branch names to disallow commits to. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + + + +*Example:* + +``` +[ + "ma.*" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.no-commit-to-branch.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.no-commit-to-branch.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu + + + +ormolu hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.ormolu.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.settings.cabalDefaultExtensions + + + +Use ` default-extensions ` from ` .cabal ` files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.ormolu.settings.defaultExtensions + + + +Haskell language extensions to enable. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.ormolu.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ormolu.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer + + + +php-cs-fixer hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.php-cs-fixer.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.settings.binPath + + + +PHP-CS-Fixer binary path. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.php-cs-fixer}/bin/php-cs-fixer" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.php-cs-fixer.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.php-cs-fixer.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf + + + +phpcbf hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.phpcbf.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.settings.binPath + + + +PHP_CodeSniffer binary path. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.phpcbf}/bin/phpcbf" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.phpcbf.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcbf.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs + + + +phpcs hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.phpcs.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.settings.binPath + + + +PHP_CodeSniffer binary path. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.phpcs}/bin/phpcs" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.phpcs.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpcs.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan + + + +phpstan hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.phpstan.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.settings.binPath + + + +PHPStan binary path. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.phpstan}/bin/phpstan" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.phpstan.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.phpstan.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier + + + +prettier hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.settings.allow-parens + + + +Include parentheses around a sole arrow function parameter. + + + +*Type:* +one of “always”, “avoid” + + + +*Default:* +` "always" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.binPath + + + +` prettier ` binary path. E.g. if you want to use the ` prettier ` in ` node_modules `, use ` ./node_modules/.bin/prettier `. + + + +*Type:* +null or path + + + +*Default:* + +``` +"${tools.prettier}/bin/prettier" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.bracket-same-line + + + +Put > of opening tags on the last line instead of on a new line. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.cache + + + +Only format changed files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.cache-location + + + +Path to the cache file location used by ` --cache ` flag. + + + +*Type:* +string + + + +*Default:* +` "./node_modules/.cache/prettier/.prettier-cache" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.cache-strategy + + + +Strategy for the cache to use for detecting changed files. + + + +*Type:* +null or one of “metadata”, “content” + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.check + + + +Output a human-friendly message and a list of unformatted files, if any. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.color + + + +Colorize error messages. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.config-precedence + + + +Defines how config file should be evaluated in combination of CLI options. + + + +*Type:* +one of “cli-override”, “file-override”, “prefer-file” + + + +*Default:* +` "cli-override" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.configPath + + + +Path to a Prettier configuration file (.prettierrc, package.json, prettier.config.js). + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.embedded-language-formatting + + + +Control how Prettier formats quoted code embedded in the file. + + + +*Type:* +one of “auto”, “off” + + + +*Default:* +` "auto" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.end-of-line + + + +Which end of line characters to apply. + + + +*Type:* +one of “lf”, “crlf”, “cr”, “auto” + + + +*Default:* +` "lf" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.html-whitespace-sensitivity + + + +How to handle whitespaces in HTML. + + + +*Type:* +one of “css”, “strict”, “ignore” + + + +*Default:* +` "css" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.ignore-path + + + +Path to a file containing patterns that describe files to ignore. +By default, prettier looks for ` ./.gitignore ` and ` ./.prettierignore `. +Multiple values are accepted. + + + +*Type:* +list of path + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.ignore-unknown + + + +Ignore unknown files. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.insert-pragma + + + +Insert @format pragma into file’s first docblock comment. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.jsx-single-quote + + + +Use single quotes in JSX. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.list-different + + + +Print the filenames of files that are different from Prettier formatting. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.log-level + + + +What level of logs to report. + + + +*Type:* +one of “silent”, “error”, “warn”, “log”, “debug” + + + +*Default:* +` "log" ` + + + +*Example:* +` "debug" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.no-bracket-spacing + + + +Do not print spaces between brackets. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.no-config + + + +Do not look for a configuration file. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.no-editorconfig + + + +Don’t take .editorconfig into account when parsing configuration. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.no-error-on-unmatched-pattern + + + +Prevent errors when pattern is unmatched. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.no-semi + + + +Do not print semicolons, except at the beginning of lines which may need them. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.parser + + + +Which parser to use. + + + +*Type:* +one of “”, “flow”, “babel”, “babel-flow”, “babel-ts”, “typescript”, “acorn”, “espree”, “meriyah”, “css”, “less”, “scss”, “json”, “json5”, “json-stringify”, “graphql”, “markdown”, “mdx”, “vue”, “yaml”, “glimmer”, “html”, “angular”, “lwc” + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.plugins + + + +Add plugins from paths. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.print-width + + + +Line length that the printer will wrap on. + + + +*Type:* +signed integer + + + +*Default:* +` 80 ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.prose-wrap + + + +When to or if at all hard wrap prose to print width. + + + +*Type:* +one of “always”, “never”, “preserve” + + + +*Default:* +` "preserve" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.quote-props + + + +Change when properties in objects are quoted. + + + +*Type:* +one of “as-needed”, “consistent”, “preserve” + + + +*Default:* +` "as-needed" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.require-pragma + + + +Require either ‘@prettier’ or ‘@format’ to be present in the file’s first docblock comment. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.single-attribute-per-line + + + +Enforce single attribute per line in HTML, Vue andJSX. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.single-quote + + + +Number of spaces per indentation-level. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.tab-width + + + +Line length that the printer will wrap on. + + + +*Type:* +signed integer + + + +*Default:* +` 2 ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.trailing-comma + + + +Print trailing commas wherever possible in multi-line comma-separated syntactic structures. + + + +*Type:* +one of “all”, “es5”, “none” + + + +*Default:* +` "all" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.use-tabs + + + +Indent with tabs instead of spaces. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.vue-indent-script-and-style + + + +Indent script and style tags in Vue files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.with-node-modules + + + +Process files inside ‘node_modules’ directory. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.settings.write + + + +Edit files in-place. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.prettier.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.prettier.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm + + + +psalm hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.psalm.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.settings.binPath + + + +Psalm binary path. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.psalm}/bin/psalm" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.psalm.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.psalm.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint + + + +pylint hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.pylint.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.settings.binPath + + + +Pylint binary path. Should be used to specify Pylint binary from your Nix-managed Python environment. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.pylint}/bin/pylint" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.pylint.settings.reports + + + +Whether to display a full report. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.pylint.settings.score + + + +Whether to activate the evaluation score. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.pylint.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pylint.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright + + + +pyright hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.pyright.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.settings.binPath + + + +Pyright binary path. Should be used to specify the pyright executable in an environment containing your typing stubs. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.pyright}/bin/pyright" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.pyright.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyright.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade + + + +pyupgrade hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.pyupgrade.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.settings.binPath + + + +pyupgrade binary path. Should be used to specify the pyupgrade binary from your Nix-managed Python environment. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.pyupgrade}/bin/pyupgrade" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.pyupgrade.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.pyupgrade.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse + + + +reuse hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.reuse.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.settings.flags + + + +Flags passed to reuse. For available options run ‘reuse lint --help’ + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* +` "--json" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.reuse.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.reuse.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive + + + +revive hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.revive.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.settings.configPath + + + +Path to the configuration TOML file. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.revive.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.revive.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets + + + +ripsecrets hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.ripsecrets.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.settings.additionalPatterns + + + +Additional regex patterns used to find secrets. If there is a matching group in the regex the matched group will be tested for randomness before being reported as a secret. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.ripsecrets.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.ripsecrets.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt + + + +Additional rustfmt settings + +Override the ` rustfmt ` and ` cargo ` packages by setting ` hooks.rustfmt.packageOverrides `. + +``` +hooks.rustfmt.packageOverrides.cargo = pkgs.cargo; +hooks.rustfmt.packageOverrides.rustfmt = pkgs.rustfmt; +``` + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.packageOverrides.cargo + + + +The cargo package to use. + + + +*Type:* +package + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.packageOverrides.rustfmt + + + +The rustfmt package to use. + + + +*Type:* +package + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.settings.package + + + +Package(s) to check + + + +*Type:* +list of string matching the pattern \[]\[\*?!0-9A-Za-z_-]+ + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.settings.all + + + +Format all packages, and also their local path-based dependencies + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.settings.check + + + +Run rustfmt in check mode + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.settings.color + + + +Coloring the output + + + +*Type:* +one of “auto”, “always”, “never” + + + +*Default:* +` "always" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.settings.config + + + +Override configuration values + + + +*Type:* +attribute set + + + +*Default:* +` { } ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.settings.config-path + + + +Path to rustfmt.toml config file + + + +*Type:* +null or string + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.settings.emit + + + +What data to emit and how + + + +*Type:* +null or one of “files”, “stdout” + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.settings.files-with-diff + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.settings.manifest-path + + + +Path to Cargo.toml + + + +*Type:* +null or string + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.settings.message-format + + + +The output format of diagnostic messages + + + +*Type:* +null or one of “human”, “short” + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.settings.verbose + + + +Use verbose output + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.rustfmt.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.rustfmt.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt + + + +shfmt hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.shfmt.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.settings.simplify + + + +Simplify the code. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.shfmt.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.shfmt.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents + + + +sort-file-contents-hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.sort-file-contents.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.settings.ignore-case + + + +Fold lower case to upper case characters. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.sort-file-contents.settings.unique + + + +Ensure each line is unique. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.sort-file-contents.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.sort-file-contents.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix + + + +statix hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.statix.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.settings.config + + + +Path to statix.toml or its parent directory. + + + +*Type:* +null or string + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.statix.settings.format + + + +Error Output format. + + + +*Type:* +one of “stderr”, “errfmt”, “json” + + + +*Default:* +` "errfmt" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.statix.settings.ignore + + + +Globs of file patterns to skip. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + + + +*Example:* + +``` +[ + "flake.nix" + "_*" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.statix.settings.unrestricted + + + +Don’t respect .gitignore files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.statix.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.statix.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt + + + +Treefmt hook. + +Include any additional formatters configured by treefmt as ` hooks.treefmt.settings.formatters `. + +``` +hooks.treefmt.settings.formatters = [ + pkgs.nixpkgs-fmt + pkgs.black +]; +``` + +Override ` treefmt ` itself by setting ` hooks.treefmt.packageOverrides.treefmt `. + +``` +hooks.treefmt.packageOverrides.treefmt = pkgs.treefmt; +``` + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.treefmt.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.packageOverrides.treefmt + + + +The treefmt package to use + + + +*Type:* +package + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.treefmt.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.settings.formatters + + + +The formatter packages configured by treefmt + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.treefmt.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.treefmt.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos + + + +typos hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.settings.binary + + + +Whether to search binary files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.color + + + +When to use generate output. + + + +*Type:* +one of “auto”, “always”, “never” + + + +*Default:* +` "auto" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.configPath + + + +Path to a custom config file. + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* +` ".typos.toml" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.configuration + + + +Multiline-string configuration passed as config file. If set, config set in ` typos.settings.configPath ` gets ignored. + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* + +``` +'' + [files] + ignore-dot = true + + [default] + binary = false + + [type.py] + extend-glob = [] +'' +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.diff + + + +Print a diff of what would change. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.exclude + + + +Ignore files and directories matching the glob. + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* +` "*.nix" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.format + + + +Output format to use. + + + +*Type:* +one of “silent”, “brief”, “long”, “json” + + + +*Default:* +` "long" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.hidden + + + +Search hidden files and directories. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.ignored-words + + + +Spellings and words to ignore. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + + + +*Example:* + +``` +[ + "MQTT" + "mosquitto" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.locale + + + +Which language to use for spell checking. + + + +*Type:* +one of “en”, “en-us”, “en-gb”, “en-ca”, “en-au” + + + +*Default:* +` "en" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.no-check-filenames + + + +Skip verifying spelling in file names. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.no-check-files + + + +Skip verifying spelling in files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.no-unicode + + + +Only allow ASCII characters in identifiers. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.quiet + + + +Less output per occurrence. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.verbose + + + +More output per occurrence. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.settings.write + + + +Fix spelling in files by writing them. Cannot be used with ` typos.settings.diff `. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.typos.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.typos.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale + + + +vale hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.vale.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.settings.configPath + + + +Path to the config file. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.vale.settings.configuration + + + +Multiline-string configuration passed as config file. + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* + +``` +'' + MinAlertLevel = suggestion + [*] + BasedOnStyles = Vale +'' +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.vale.settings.flags + + + +Flags passed to vale. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.vale.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.vale.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt + + + +yamlfmt hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.yamlfmt.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.settings.configPath + + + +Path to a custom configuration file. + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* +` ".yamlfmt" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.yamlfmt.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamlfmt.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint + + + +yamllint hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.yamllint.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.settings.configData + + + +Serialized YAML object describing the configuration. + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* +` "{extends: relaxed, rules: {line-length: {max: 120}}}" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.yamllint.settings.configPath + + + +Path to a custom configuration file. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.yamllint.settings.configuration + + + +Multiline-string configuration passed as config file. If set, configuration file set in ` yamllint.settings.configPath ` gets ignored. + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* + +``` +'' + --- + + extends: relaxed + + rules: + indentation: enable +'' +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.yamllint.settings.format + + + +Format for parsing output. + + + +*Type:* +one of “parsable”, “standard”, “colored”, “github”, “auto” + + + +*Default:* +` "auto" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.yamllint.settings.preset + + + +The configuration preset to use. + + + +*Type:* +one of “default”, “relaxed” + + + +*Default:* +` "default" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.yamllint.settings.strict + + + +Return non-zero exit code on warnings as well as errors. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.hooks.yamllint.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.hooks.yamllint.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## git-hooks.installationScript + + + +A bash snippet that installs nix-pre-commit-hooks in the current directory + + + +*Type:* +string *(read only)* + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## git-hooks.rootSrc + + + +The source of the project to be checked. + +This is used in the derivation that performs the check. + +If you use the ` flakeModule `, the default is ` self.outPath `; the whole flake +sources. + + + +*Type:* +path + + + +*Default:* +` gitignoreSource config.src ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## git-hooks.run + + + +A derivation that tests whether the pre-commit hooks run cleanly on +the entire project. + + + +*Type:* +package *(read only)* + + + +*Default:* +` ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## git-hooks.settings.rust.cargoManifestPath + + + +Path to Cargo.toml + + + +*Type:* +null or string + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## git-hooks.src + + + +Root of the project. By default this will be filtered with the ` gitignoreSource ` +function later, unless ` rootSrc ` is specified. + +If you use the ` flakeModule `, the default is ` self.outPath `; the whole flake +sources. + + + +*Type:* +path + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## git-hooks.tools + + + +Tool set from which ` nix-pre-commit-hooks ` will pick binaries. + +` nix-pre-commit-hooks ` comes with its own set of packages for this purpose. + + + +*Type:* +lazy attribute set of (null or package) + + + +*Default:* +` git-hooks.nix-pkgs.callPackage tools-dot-nix { inherit (pkgs) system; } ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## hosts + + + +List of hosts entries. + + + +*Type:* +attribute set of (string or list of string) + + + +*Default:* +` { } ` + + + +*Example:* + +``` +{ + "another-example.com" = [ + "::1" + "127.0.0.1" + ]; + "example.com" = "127.0.0.1"; +} +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/integrations/hostctl.nix](https://github.com/cachix/devenv/blob/main/src/modules/integrations/hostctl.nix) + + + +## hostsProfileName + + + +Profile name to use. + + + +*Type:* +string + + + +*Default:* +` "devenv-" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/integrations/hostctl.nix](https://github.com/cachix/devenv/blob/main/src/modules/integrations/hostctl.nix) + + + +## infoSections + + + +Information about the environment + + + +*Type:* +attribute set of list of string + + + +*Default:* +` { } ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/info.nix](https://github.com/cachix/devenv/blob/main/src/modules/info.nix) + + + +## languages.ansible.enable + + + +Whether to enable tools for Ansible development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ansible.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ansible.nix) + + + +## languages.ansible.package + + + +The Ansible package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.ansible ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ansible.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ansible.nix) + + + +## languages.c.enable + + + +Whether to enable tools for C development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/c.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/c.nix) + + + +## languages.c.debugger + + + +An optional debugger package to use with c. +The default is ` gdb `, if supported on the current system. + + + +*Type:* +null or package + + + +*Default:* +` pkgs.gdb ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/c.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/c.nix) + + + +## languages.clojure.enable + + + +Whether to enable tools for Clojure development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/clojure.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/clojure.nix) + + + +## languages.cplusplus.enable + + + +Whether to enable tools for C++ development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/cplusplus.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/cplusplus.nix) + + + +## languages.crystal.enable + + + +Whether to enable Enable tools for Crystal development… + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/crystal.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/crystal.nix) + + + +## languages.cue.enable + + + +Whether to enable tools for Cue development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/cue.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/cue.nix) + + + +## languages.cue.package + + + +The CUE package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.cue ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/cue.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/cue.nix) + + + +## languages.dart.enable + + + +Whether to enable tools for Dart development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/dart.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/dart.nix) + + + +## languages.dart.package + + + +The Dart package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.dart ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/dart.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/dart.nix) + + + +## languages.deno.enable + + + +Whether to enable tools for Deno development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/deno.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/deno.nix) + + + +## languages.deno.package + + + +Which package of Deno to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.deno ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/deno.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/deno.nix) + + + +## languages.dotnet.enable + + + +Whether to enable tools for .NET development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/dotnet.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/dotnet.nix) + + + +## languages.dotnet.package + + + +The .NET SDK package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.dotnet-sdk ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/dotnet.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/dotnet.nix) + + + +## languages.elixir.enable + + + +Whether to enable tools for Elixir development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/elixir.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/elixir.nix) + + + +## languages.elixir.package + + + +Which package of Elixir to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.elixir ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/elixir.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/elixir.nix) + + + +## languages.elm.enable + + + +Whether to enable tools for Elm development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/elm.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/elm.nix) + + + +## languages.erlang.enable + + + +Whether to enable tools for Erlang development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/erlang.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/erlang.nix) + + + +## languages.erlang.package + + + +Which package of Erlang to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.erlang ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/erlang.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/erlang.nix) + + + +## languages.fortran.enable + + + +Whether to enable tools for Fortran Development… + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/fortran.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/fortran.nix) + + + +## languages.fortran.package + + + +The Fortran package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.gfortran ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/fortran.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/fortran.nix) + + + +## languages.gawk.enable + + + +Whether to enable tools for GNU Awk development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/gawk.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/gawk.nix) + + + +## languages.gleam.enable + + + +Whether to enable tools for Gleam development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/gleam.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/gleam.nix) + + + +## languages.gleam.package + + + +The Gleam package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.gleam ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/gleam.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/gleam.nix) + + + +## languages.go.enable + + + +Whether to enable tools for Go development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix) + + + +## languages.go.enableHardeningWorkaround + + + +Enable hardening workaround required for Delve debugger (https://github.com/go-delve/delve/issues/3085) + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix) + + + +## languages.go.package + + + +The Go package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.go ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/go.nix) + + + +## languages.haskell.enable + + + +Whether to enable tools for Haskell development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix) + + + +## languages.haskell.package + + + +Haskell compiler to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.ghc ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix) + + + +## languages.haskell.languageServer + + + +Haskell language server to use. + + + +*Type:* +null or package + + + +*Default:* +` pkgs.haskell-language-server ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix) + + + +## languages.haskell.stack + + + +Haskell stack to use. + + + +*Type:* +null or package + + + +*Default:* +` pkgs.stack ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/haskell.nix) + + + +## languages.idris.enable + + + +Whether to enable tools for Idris development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/idris.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/idris.nix) + + + +## languages.idris.package + + + +The Idris package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.idris2 ` + + + +*Example:* +` pkgs.idris ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/idris.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/idris.nix) + + + +## languages.java.enable + + + +Whether to enable tools for Java development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + + + +## languages.java.gradle.enable + + + +Whether to enable gradle. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + + + +## languages.java.gradle.package + + + +The Gradle package to use. +The Gradle package by default inherits the JDK from ` languages.java.jdk.package `. + + + +*Type:* +package + + + +*Default:* +` pkgs.gradle.override { java = cfg.jdk.package; } ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + + + +## languages.java.jdk.package + + + +The JDK package to use. +This will also become available as ` JAVA_HOME `. + + + +*Type:* +package + + + +*Default:* +` pkgs.jdk ` + + + +*Example:* +` pkgs.jdk8 ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + + + +## languages.java.maven.enable + + + +Whether to enable maven. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + + + +## languages.java.maven.package + + + +The Maven package to use. +The Maven package by default inherits the JDK from ` languages.java.jdk.package `. + + + +*Type:* +package + + + +*Default:* +` pkgs.maven.override { jdk_headless = cfg.jdk.package; } ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/java.nix) + + + +## languages.javascript.enable + + + +Whether to enable tools for JavaScript development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.package + + + +The Node.js package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.nodejs-slim ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.bun.enable + + + +Whether to enable install bun. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.bun.package + + + +The bun package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.bun ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.bun.install.enable + + + +Whether to enable bun install during devenv initialisation. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.corepack.enable + + + +Whether to enable wrappers for npm, pnpm and Yarn via Node.js Corepack. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.directory + + + +The JavaScript project’s root directory. Defaults to the root of the devenv project. +Can be an absolute path or one relative to the root of the devenv project. + + + +*Type:* +string + + + +*Default:* +` config.devenv.root ` + + + +*Example:* +` "./directory" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.npm.enable + + + +Whether to enable install npm. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.npm.package + + + +The Node.js package to use. + + + +*Type:* +package + + + +*Default:* +` languages.javascript.package ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.npm.install.enable + + + +Whether to enable npm install during devenv initialisation. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.pnpm.enable + + + +Whether to enable install pnpm. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.pnpm.package + + + +The pnpm package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.nodePackages.pnpm ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.pnpm.install.enable + + + +Whether to enable pnpm install during devenv initialisation. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.yarn.enable + + + +Whether to enable install yarn. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.yarn.package + + + +The yarn package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.yarn ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.javascript.yarn.install.enable + + + +Whether to enable yarn install during devenv initialisation. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/javascript.nix) + + + +## languages.jsonnet.enable + + + +Whether to enable tools for jsonnet development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/jsonnet.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/jsonnet.nix) + + + +## languages.julia.enable + + + +Whether to enable tools for Julia development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/julia.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/julia.nix) + + + +## languages.julia.package + + + +The Julia package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.julia-bin ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/julia.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/julia.nix) + + + +## languages.kotlin.enable + + + +Whether to enable tools for Kotlin development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/kotlin.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/kotlin.nix) + + + +## languages.lean4.enable + + + +Whether to enable tools for lean4 development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/lean4.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/lean4.nix) + + + +## languages.lean4.package + + + +The lean4 package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.lean4 ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/lean4.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/lean4.nix) + + + +## languages.lua.enable + + + +Whether to enable tools for Lua development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/lua.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/lua.nix) + + + +## languages.lua.package + + + +The Lua package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.lua ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/lua.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/lua.nix) + + + +## languages.nim.enable + + + +Whether to enable tools for Nim development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/nim.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/nim.nix) + + + +## languages.nim.package + + + +The Nim package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.nim ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/nim.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/nim.nix) + + + +## languages.nix.enable + + + +Whether to enable tools for Nix development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/nix.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/nix.nix) + + + +## languages.nix.lsp.package + + + +The LSP package to use + + + +*Type:* +package + + + +*Default:* +` pkgs.nil ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/nix.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/nix.nix) + + + +## languages.ocaml.enable + + + +Whether to enable tools for OCaml development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ocaml.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ocaml.nix) + + + +## languages.ocaml.packages + + + +The package set of OCaml to use + + + +*Type:* +attribute set + + + +*Default:* +` pkgs.ocaml-ng.ocamlPackages_4_12 ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ocaml.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ocaml.nix) + + + +## languages.odin.enable + + + +Whether to enable tools for Odin Language. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix) + + + +## languages.odin.package + + + +The odin package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.odin ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix) + + + +## languages.odin.debugger + + + +An optional debugger package to use with odin. +The default is ` gdb `, if supported on the current system. + + + +*Type:* +null or package + + + +*Default:* +` pkgs.gdb ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/odin.nix) + + + +## languages.opentofu.enable + + + +Whether to enable tools for OpenTofu development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/opentofu.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/opentofu.nix) + + + +## languages.opentofu.package + + + +The OpenTofu package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.opentofu ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/opentofu.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/opentofu.nix) + + + +## languages.pascal.enable + + + +Whether to enable tools for Pascal development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/pascal.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/pascal.nix) + + + +## languages.pascal.lazarus.enable + + + +Whether to enable lazarus graphical IDE for the FreePascal language. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/pascal.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/pascal.nix) + + + +## languages.perl.enable + + + +Whether to enable tools for Perl development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/perl.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/perl.nix) + + + +## languages.perl.packages + + + +Perl packages to include + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + + + +*Example:* + +``` +[ + "Mojolicious" +] +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/perl.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/perl.nix) + + + +## languages.php.enable + + + +Whether to enable tools for PHP development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.package + + + +Allows you to [override the default used package](https://nixos.org/manual/nixpkgs/stable/\#ssec-php-user-guide) +to adjust the settings or add more extensions. You can find the +extensions using ` devenv search 'php extensions' ` + + + +*Type:* +package + + + +*Default:* +` pkgs.php ` + + + +*Example:* + +``` +pkgs.php.buildEnv { + extensions = { all, enabled }: with all; enabled ++ [ xdebug ]; + extraConfig = '' + memory_limit=1G + ''; +}; + +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.packages + + + +Attribute set of packages including composer + + + +*Type:* +submodule + + + +*Default:* +` pkgs ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.packages.composer + + + +composer package + + + +*Type:* +null or package + + + +*Default:* +` pkgs.phpPackages.composer ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.disableExtensions + + + +PHP extensions to disable. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.extensions + + + +PHP extensions to enable. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.extraConfig + + + +Extra configuration that should be put in the global section of +the PHP-FPM configuration file. Do not specify the options +` error_log ` or ` daemonize ` here, since they are generated by +NixOS. + + + +*Type:* +null or strings concatenated with “\\n” + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.phpOptions + + + +Options appended to the PHP configuration file ` php.ini `. + + + +*Type:* +strings concatenated with “\\n” + + + +*Default:* +` "" ` + + + +*Example:* + +``` +'' + date.timezone = "CET" +'' +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.pools + + + +PHP-FPM pools. If no pools are defined, the PHP-FPM +service is disabled. + + + +*Type:* +attribute set of (submodule) + + + +*Default:* +` { } ` + + + +*Example:* + +``` +{ + mypool = { + user = "php"; + group = "php"; + phpPackage = pkgs.php; + settings = { + "pm" = "dynamic"; + "pm.max_children" = 75; + "pm.start_servers" = 10; + "pm.min_spare_servers" = 5; + "pm.max_spare_servers" = 20; + "pm.max_requests" = 500; + }; + } +} +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.pools.\.extraConfig + + + +Extra lines that go into the pool configuration. +See the documentation on ` php-fpm.conf ` for +details on configuration directives. + + + +*Type:* +null or strings concatenated with “\\n” + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.pools.\.listen + + + +The address on which to accept FastCGI requests. + + + +*Type:* +string + + + +*Default:* +` "" ` + + + +*Example:* +` "/path/to/unix/socket" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.pools.\.phpEnv + + + +Environment variables used for this PHP-FPM pool. + + + +*Type:* +attribute set of string + + + +*Default:* +` { } ` + + + +*Example:* + +``` +{ + HOSTNAME = "$HOSTNAME"; + TMP = "/tmp"; + TMPDIR = "/tmp"; + TEMP = "/tmp"; +} + +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.pools.\.phpOptions + + + +Options appended to the PHP configuration file ` php.ini ` used for this PHP-FPM pool. + + + +*Type:* +strings concatenated with “\\n” + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.pools.\.phpPackage + + + +The PHP package to use for running this PHP-FPM pool. + + + +*Type:* +package + + + +*Default:* +` phpfpm.phpPackage ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.pools.\.settings + + + +PHP-FPM pool directives. Refer to the “List of pool directives” section of +[https://www.php.net/manual/en/install.fpm.configuration.php"](https://www.php.net/manual/en/install.fpm.configuration.php%22) +the manual for details. Note that settings names must be +enclosed in quotes (e.g. ` "pm.max_children" ` instead of +` pm.max_children `). + + + +*Type:* +attribute set of (string or signed integer or boolean) + + + +*Default:* +` { } ` + + + +*Example:* + +``` +{ + "pm" = "dynamic"; + "pm.max_children" = 75; + "pm.start_servers" = 10; + "pm.min_spare_servers" = 5; + "pm.max_spare_servers" = 20; + "pm.max_requests" = 500; +} + +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.pools.\.socket + + + +Path to the Unix socket file on which to accept FastCGI requests. + +This option is read-only and managed by NixOS. + + + +*Type:* +string *(read only)* + + + +*Example:* +` config.env.DEVENV_STATE + "/php-fpm/.sock" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.fpm.settings + + + +PHP-FPM global directives. + +Refer to the “List of global php-fpm.conf directives” section of +[https://www.php.net/manual/en/install.fpm.configuration.php](https://www.php.net/manual/en/install.fpm.configuration.php) +for details. + +Note that settings names must be enclosed in +quotes (e.g. ` "pm.max_children" ` instead of ` pm.max_children `). + +You need not specify the options ` error_log ` or ` daemonize ` here, since +they are already set. + + + +*Type:* +attribute set of (string or signed integer or boolean) + + + +*Default:* + +``` +{ + error_log = config.env.DEVENV_STATE + "/php-fpm/php-fpm.log"; +} + +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.ini + + + +PHP.ini directives. Refer to the “List of php.ini directives” of PHP’s + + + +*Type:* +null or strings concatenated with “\\n” + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.php.version + + + +The PHP version to use. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/php.nix) + + + +## languages.purescript.enable + + + +Whether to enable tools for PureScript development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/purescript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/purescript.nix) + + + +## languages.purescript.package + + + +The PureScript package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.purescript ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/purescript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/purescript.nix) + + + +## languages.python.enable + + + +Whether to enable tools for Python development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.package + + + +The Python package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.python3 ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.directory + + + +The Python project’s root directory. Defaults to the root of the devenv project. +Can be an absolute path or one relative to the root of the devenv project. + + + +*Type:* +string + + + +*Default:* +` config.devenv.root ` + + + +*Example:* +` "./directory" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.libraries + + + +Additional libraries to make available to the Python interpreter. + +This is useful when you want to use Python wheels that depend on native libraries. + + + +*Type:* +list of path + + + +*Default:* + +``` +[ "${config.devenv.dotfile}/profile" ] + +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.manylinux.enable + + + +Whether to install manylinux2014 libraries. + +Enabled by default on linux; + +This is useful when you want to use Python wheels that depend on manylinux2014 libraries. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.enable + + + +Whether to enable poetry. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.package + + + +The Poetry package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.poetry ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.activate.enable + + + +Whether to activate the poetry virtual environment automatically. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.enable + + + +Whether to enable poetry install during devenv initialisation. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.allExtras + + + +Whether to install all extras. See ` --all-extras `. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.compile + + + +Whether ` poetry install ` should compile Python source files to bytecode. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.extras + + + +Which extras to install. See ` --extras `. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.groups + + + +Which dependency groups to install. See ` --with `. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.ignoredGroups + + + +Which dependency groups to ignore. See ` --without `. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.installRootPackage + + + +Whether the root package (your project) should be installed. See ` --no-root ` + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.onlyGroups + + + +Which dependency groups to exclusively install. See ` --only `. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.onlyInstallRootPackage + + + +Whether to only install the root package (your project) should be installed, but no dependencies. See ` --only-root ` + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.quiet + + + +Whether ` poetry install ` should avoid outputting messages during devenv initialisation. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.poetry.install.verbosity + + + +What level of verbosity the output of ` poetry install ` should have. + + + +*Type:* +one of “no”, “little”, “more”, “debug” + + + +*Default:* +` "no" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.uv.enable + + + +Whether to enable uv. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.uv.package + + + +The uv package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.uv ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.uv.sync.enable + + + +Whether to enable uv sync during devenv initialisation. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.uv.sync.allExtras + + + +Whether to install all extras. See ` --all-extras `. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.uv.sync.extras + + + +Which extras to install. See ` --extra `. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.venv.enable + + + +Whether to enable Python virtual environment. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.venv.quiet + + + +Whether ` pip install ` should avoid outputting messages during devenv initialisation. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.venv.requirements + + + +Contents of pip requirements.txt file. +This is passed to ` pip install -r ` during ` devenv shell ` initialisation. + + + +*Type:* +null or strings concatenated with “\\n” or path + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.python.version + + + +The Python version to use. +This automatically sets the ` languages.python.package ` using [nixpkgs-python](https://github.com/cachix/nixpkgs-python). + + + +*Type:* +null or string + + + +*Default:* +` null ` + + + +*Example:* +` "3.11 or 3.11.2" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/python.nix) + + + +## languages.r.enable + + + +Whether to enable tools for R development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix) + + + +## languages.r.package + + + +The R package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.R ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix) + + + +## languages.r.radian.enable + + + +Whether to enable a 21 century R console. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix) + + + +## languages.r.radian.package + + + +The radian package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.radianWrapper ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/r.nix) + + + +## languages.racket.enable + + + +Whether to enable tools for Racket development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/racket.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/racket.nix) + + + +## languages.racket.package + + + +The Racket package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.racket-minimal ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/racket.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/racket.nix) + + + +## languages.raku.enable + + + +Whether to enable tools for Raku development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/raku.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/raku.nix) + + + +## languages.robotframework.enable + + + +Whether to enable tools for Robot Framework development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/robotframework.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/robotframework.nix) + + + +## languages.robotframework.python + + + +The Python package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.python3 ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/robotframework.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/robotframework.nix) + + + +## languages.ruby.enable + + + +Whether to enable tools for Ruby development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + + + +## languages.ruby.package + + + +The Ruby package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.ruby_3_1 ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + + + +## languages.ruby.bundler.enable + + + +Whether to enable bundler. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + + + +## languages.ruby.bundler.package + + + +The bundler package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.bundler.override { ruby = cfg.package; } ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + + + +## languages.ruby.version + + + +The Ruby version to use. +This automatically sets the ` languages.ruby.package ` using [nixpkgs-ruby](https://github.com/bobvanderlinden/nixpkgs-ruby). + + + +*Type:* +null or string + + + +*Default:* +` null ` + + + +*Example:* +` "3.2.1" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + + + +## languages.ruby.versionFile + + + +The .ruby-version file path to extract the Ruby version from. +This automatically sets the ` languages.ruby.package ` using [nixpkgs-ruby](https://github.com/bobvanderlinden/nixpkgs-ruby). +When the ` .ruby-version ` file exists in the same directory as the devenv configuration, you can use: + +```nix +languages.ruby.versionFile = ./.ruby-version; +``` + + + +*Type:* +null or path + + + +*Default:* +` null ` + + + +*Example:* + +``` +./ruby-version + +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix) + + + +## languages.rust.enable + + + +Whether to enable tools for Rust development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.channel + + + +The rustup toolchain to install. + + + +*Type:* +one of “nixpkgs”, “stable”, “beta”, “nightly” + + + +*Default:* +` "nixpkgs" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.components + + + +List of [Rustup components](https://rust-lang.github.io/rustup/concepts/components.html) +to install. Defaults to those available in ` nixpkgs `. + + + +*Type:* +list of string + + + +*Default:* +` [ "rustc" "cargo" "clippy" "rustfmt" "rust-analyzer" ] ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.mold.enable + + + +Enable mold as the linker. + +Enabled by default on x86_64 Linux machines when no cross-compilation targets are specified. + + + +*Type:* +boolean + + + +*Default:* +` pkgs.stdenv.isLinux && pkgs.stdenv.isx86_64 && languages.rust.targets == [ ] ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.rustflags + + + +Extra flags to pass to the Rust compiler. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.targets + + + +List of extra [targets](https://github.com/nix-community/fenix\#supported-platforms-and-targets) +to install. Defaults to only the native target. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.toolchain + + + +Rust component packages. May optionally define additional components, for example ` miri `. + + + +*Type:* +attribute set of package + + + +*Default:* +` nixpkgs ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.toolchain.cargo + + + +cargo package + + + +*Type:* +null or package + + + +*Default:* +` pkgs.cargo ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.toolchain.clippy + + + +clippy package + + + +*Type:* +null or package + + + +*Default:* +` pkgs.clippy ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.toolchain.rust-analyzer + + + +rust-analyzer package + + + +*Type:* +null or package + + + +*Default:* +` pkgs.rust-analyzer ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.toolchain.rustc + + + +rustc package + + + +*Type:* +null or package + + + +*Default:* +` pkgs.rustc ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.rust.toolchain.rustfmt + + + +rustfmt package + + + +*Type:* +null or package + + + +*Default:* +` pkgs.rustfmt ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix) + + + +## languages.scala.enable + + + +Whether to enable tools for Scala development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + + + +## languages.scala.package + + + +The Scala package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.scala_3 ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + + + +## languages.scala.mill.enable + + + +Whether to enable mill, a simplified, fast build tool for Scala. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + + + +## languages.scala.mill.package + + + +The mill package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.mill ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + + + +## languages.scala.sbt.enable + + + +Whether to enable sbt, the standard build tool for Scala. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + + + +## languages.scala.sbt.package + + + +The sbt package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.sbt ` + + + +*Example:* +` sbt-with-scala-native ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/scala.nix) + + + +## languages.shell.enable + + + +Whether to enable tools for shell development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/shell.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/shell.nix) + + + +## languages.solidity.enable + + + +Whether to enable tools for Solidity development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix) + + + +## languages.solidity.package + + + +Which compiler of Solidity to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.elixir ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix) + + + +## languages.solidity.foundry.enable + + + +Whether to enable install Foundry. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix) + + + +## languages.solidity.foundry.package + + + +Which Foundry package to use. + + + +*Type:* +package + + + +*Default:* +` foundry.defaultPackage.$${pkgs.stdenv.system} ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/solidity.nix) + + + +## languages.standardml.enable + + + +Whether to enable tools for Standard ML development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/standardml.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/standardml.nix) + + + +## languages.standardml.package + + + +The Standard ML package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.mlton ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/standardml.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/standardml.nix) + + + +## languages.swift.enable + + + +Whether to enable tools for Swift development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/swift.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/swift.nix) + + + +## languages.swift.package + + + +The Swift package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.swift ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/swift.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/swift.nix) + + + +## languages.terraform.enable + + + +Whether to enable tools for Terraform development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix) + + + +## languages.terraform.package + + + +The Terraform package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.terraform ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix) + + + +## languages.terraform.version + + + +The Terraform version to use. +This automatically sets the ` languages.terraform.package ` using [nixpkgs-terraform](https://github.com/stackbuilders/nixpkgs-terraform). + + + +*Type:* +null or string + + + +*Default:* +` null ` + + + +*Example:* +` "1.5.0 or 1.6.2" ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/terraform.nix) + + + +## languages.texlive.enable + + + +Whether to enable TeX Live. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix) + + + +## languages.texlive.packages + + + +Extra packages to add to the base TeX Live set + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + + + +*Example:* + +``` +[ + "algorithms" + "latexmk" +] +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix) + + + +## languages.texlive.base + + + +TeX Live package set to use + + + +*Type:* +unspecified value + + + +*Default:* +` pkgs.texliveSmall ` + + + +*Example:* +` pkgs.texliveBasic ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/texlive.nix) + + + +## languages.typescript.enable + + + +Whether to enable tools for TypeScript development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/typescript.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/typescript.nix) + + + +## languages.typst.enable + + + +Whether to enable tools for Typst development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/typst.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/typst.nix) + + + +## languages.typst.package + + + +Which package of Typst to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.typst ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/typst.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/typst.nix) + + + +## languages.unison.enable + + + +Whether to enable tools for Unison development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/unison.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/unison.nix) + + + +## languages.unison.package + + + +Which package of Unison to use + + + +*Type:* +package + + + +*Default:* +` pkgs.unison-ucm ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/unison.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/unison.nix) + + + +## languages.v.enable + + + +Whether to enable tools for V development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/v.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/v.nix) + + + +## languages.v.package + + + +The V package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.vlang ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/v.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/v.nix) + + + +## languages.vala.enable + + + +Whether to enable tools for Vala development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/vala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/vala.nix) + + + +## languages.vala.package + + + +The Vala package to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.vala ` + + + +*Example:* +` pkgs.vala_0_54 ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/vala.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/vala.nix) + + + +## languages.zig.enable + + + +Whether to enable tools for Zig development. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/zig.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/zig.nix) + + + +## languages.zig.package + + + +Which package of Zig to use. + + + +*Type:* +package + + + +*Default:* +` pkgs.zig ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/languages/zig.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/zig.nix) + + + +## name + + + +Name of the project. + + + +*Type:* +null or string + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/top-level.nix](https://github.com/cachix/devenv/blob/main/src/modules/top-level.nix) + + + +## outputs + + + +Nix outputs for ` devenv build ` consumption. + + + +*Type:* +outputOf (attribute set) + + + +*Default:* + +``` +{ + foo = { + ncdu = ; + }; + git = ; +} +``` + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/outputs.nix](https://github.com/cachix/devenv/blob/main/src/modules/outputs.nix) + + + +## pre-commit + + + +Alias of ` git-hooks `. + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/devenv/blob/main/src/modules/integrations/git-hooks.nix](https://github.com/cachix/devenv/blob/main/src/modules/integrations/git-hooks.nix) + + + +## pre-commit.enabledPackages + + + +All packages provided by hooks that are enabled. + +Useful for including into the developer environment. + + + +*Type:* +list of unspecified value + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## pre-commit.package + + + +The ` pre-commit ` package to use. + + + +*Type:* +package + + + +*Default:* + +``` +pkgs.pre-commit + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## pre-commit.addGcRoot + + + +Whether to add the generated pre-commit-config.yaml to the garbage collector roots. +This prevents Nix from garbage-collecting the tools used by hooks. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## pre-commit.default_stages + + + +A configuration wide option for the stages property. +Installs hooks to the defined stages. +See [https://pre-commit.com/\#confining-hooks-to-run-at-certain-stages](https://pre-commit.com/\#confining-hooks-to-run-at-certain-stages). + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* + +``` +[ + "pre-commit" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## pre-commit.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## pre-commit.hooks + + + +The hook definitions. + +You can both specify your own hooks here and you can enable predefined hooks. + +Example of enabling a predefined hook: + +```nix +hooks.nixpkgs-fmt.enable = true; +``` + +Example of a custom hook: + +```nix +hooks.my-tool = { + enable = true; + name = "my-tool"; + description = "Run MyTool on all files in the project"; + files = "\.mtl$"; + entry = "${pkgs.my-tool}/bin/mytoolctl"; +}; +``` + +The predefined hooks are: + +**` actionlint `** + +Static checker for GitHub Actions workflow files + +**` alejandra `** + +The Uncompromising Nix Code Formatter + +**` annex `** + +Runs the git-annex hook for large file support + +**` ansible-lint `** + +Ansible linter + +**` autoflake `** + +Remove unused imports and variables from Python code + +**` bats `** + +Run bash unit tests + +**` beautysh `** + +Format shell files + +**` biome `** + +A toolchain for web projects, aimed to provide functionalities to maintain them + +**` black `** + +The uncompromising Python code formatter + +**` cabal-fmt `** + +Format Cabal files + +**` cabal-gild `** + +Format Cabal files + +**` cabal2nix `** + +Run ` cabal2nix ` on all ` *.cabal ` files to generate corresponding ` default.nix ` files + +**` cargo-check `** + +Check the cargo package for errors + +**` check-added-large-files `** + +Prevent very large files to be committed (e.g. binaries). + +**` check-builtin-literals `** + +Require literal syntax when initializing empty or zero builtin types in Python. + +**` check-case-conflicts `** + +Check for files that would conflict in case-insensitive filesystems. + +**` check-docstring-first `** + +Check that all docstrings appear above the code. + +**` check-executables-have-shebangs `** + +Ensure that all non-binary executables have shebangs. + +**` check-json `** + +Check syntax of JSON files. + +**` check-merge-conflicts `** + +Check for files that contain merge conflict strings. + +**` check-python `** + +Check syntax of Python file by parsing Python abstract syntax tree. + +**` check-shebang-scripts-are-executable `** + +Ensure that all (non-binary) files with a shebang are executable. + +**` check-symlinks `** + +Find broken symlinks. + +**` check-toml `** + +Check syntax of TOML files. + +**` check-vcs-permalinks `** + +Ensure that links to VCS websites are permalinks. + +**` check-xml `** + +Check syntax of XML files. + +**` check-yaml `** + +Check syntax of YAML files. + +**` checkmake `** + +Experimental linter/analyzer for Makefiles + +**` chktex `** + +LaTeX semantic checker + +**` clang-format `** + +Format your code using ` clang-format `. + +**` clang-tidy `** + +Static analyzer for C++ code. + +**` clippy `** + +Lint Rust code. + +**` cljfmt `** + +A tool for formatting Clojure code. + +**` cmake-format `** + +A tool for formatting CMake-files. + +**` commitizen `** + +Check whether the current commit message follows committing rules. + +**` conform `** + +Policy enforcement for commits. + +**` convco `** + +**` credo `** + +Runs a static code analysis using Credo + +**` crystal `** + +A tool that automatically formats Crystal source code + +**` cspell `** + +A Spell Checker for Code + +**` deadnix `** + +Scan Nix files for dead code (unused variable bindings). + +**` denofmt `** + +Auto-format JavaScript, TypeScript, Markdown, and JSON files. + +**` denolint `** + +Lint JavaScript/TypeScript source code. + +**` detect-aws-credentials `** + +Detect AWS credentials from the AWS cli credentials file. + +**` detect-private-keys `** + +Detect the presence of private keys. + +**` dhall-format `** + +Dhall code formatter. + +**` dialyzer `** + +Runs a static code analysis using Dialyzer + +**` dune-fmt `** + +Runs Dune’s formatters on the code tree. + +**` dune-opam-sync `** + +Check that Dune-generated OPAM files are in sync. + +**` eclint `** + +EditorConfig linter written in Go. + +**` editorconfig-checker `** + +Verify that the files are in harmony with the ` .editorconfig `. + +**` elm-format `** + +Format Elm files. + +**` elm-review `** + +Analyzes Elm projects, to help find mistakes before your users find them. + +**` elm-test `** + +Run unit tests and fuzz tests for Elm code. + +**` end-of-file-fixer `** + +Ensures that a file is either empty, or ends with a single newline. + +**` eslint `** + +Find and fix problems in your JavaScript code. + +**` fix-byte-order-marker `** + +Remove UTF-8 byte order marker. + +**` fix-encoding-pragma `** + +Adds \# -*- coding: utf-8 -*- to the top of Python files.’ + +**` flake-checker `** + +Run health checks on your flake-powered Nix projects. + +**` flake8 `** + +Check the style and quality of Python files. + +**` flynt `** + +CLI tool to convert a python project’s %-formatted strings to f-strings. + +**` forbid-new-submodules `** + +Prevent addition of new Git submodules. + +**` fourmolu `** + +Haskell code prettifier. + +**` fprettify `** + +Auto-formatter for modern Fortran code. + +**` gofmt `** + +A tool that automatically formats Go source code + +**` golangci-lint `** + +Fast linters runner for Go. + +**` golines `** + +A golang formatter that fixes long lines + +**` gotest `** + +Run go tests + +**` govet `** + +Checks correctness of Go programs. + +**` gptcommit `** + +Generate a commit message using GPT3. + +**` hadolint `** + +Dockerfile linter, validate inline bash. + +**` headache `** + +Lightweight tool for managing headers in source code files. + +**` hindent `** + +Haskell code prettifier. + +**` hlint `** + +HLint gives suggestions on how to improve your source code. + +**` hpack `** + +` hpack ` converts package definitions in the hpack format (` package.yaml `) to Cabal files. + +**` html-tidy `** + +HTML linter. + +**` hunspell `** + +Spell checker and morphological analyzer. + +**` isort `** + +A Python utility / library to sort imports. + +**` juliaformatter `** + +Run JuliaFormatter.jl against Julia source files + +**` lacheck `** + +A consistency checker for LaTeX documents. + +**` latexindent `** + +Perl script to add indentation to LaTeX files. + +**` lua-ls `** + +Uses the lua-language-server CLI to statically type-check and lint Lua code. + +**` luacheck `** + +A tool for linting and static analysis of Lua code. + +**` lychee `** + +A fast, async, stream-based link checker that finds broken hyperlinks and mail addresses inside Markdown, HTML, reStructuredText, or any other text file or website. + +**` markdownlint `** + +Style checker and linter for markdown files. + +**` mdl `** + +A tool to check markdown files and flag style issues. + +**` mdsh `** + +Markdown shell pre-processor. + +**` mix-format `** + +Runs the built-in Elixir syntax formatter + +**` mix-test `** + +Runs the built-in Elixir test framework + +**` mixed-line-endings `** + +Resolve mixed line endings. + +**` mkdocs-linkcheck `** + +Validate links associated with markdown-based, statically generated websites. + +**` mypy `** + +Static type checker for Python + +**` name-tests-test `** + +Verify that Python test files are named correctly. + +**` nil `** + +Incremental analysis assistant for writing in Nix. + +**` nixfmt `** + +Deprecated Nix code prettifier. Use nixfmt-classic. + +**` nixfmt-classic `** + +Nix code prettifier (classic). + +**` nixfmt-rfc-style `** + +Nix code prettifier (RFC 166 style). + +**` nixpkgs-fmt `** + +Nix code prettifier. + +**` no-commit-to-branch `** + +Disallow committing to certain branch/branches. + +**` ocp-indent `** + +A tool to indent OCaml code. + +**` opam-lint `** + +OCaml package manager configuration checker. + +**` ormolu `** + +Haskell code prettifier. + +**` php-cs-fixer `** + +Lint PHP files. + +**` phpcbf `** + +Lint PHP files. + +**` phpcs `** + +Lint PHP files. + +**` phpstan `** + +Static Analysis of PHP files. + +**` poetry-check `** + +Check the Poetry config for errors + +**` poetry-lock `** + +Update the Poetry lock file + +**` pre-commit-hook-ensure-sops `** + +**` prettier `** + +Opinionated multi-language code formatter. + +**` pretty-format-json `** + +Formats JSON files. + +**` psalm `** + +Static Analysis of PHP files. + +**` purs-tidy `** + +Format purescript files. + +**` purty `** + +Format purescript files. + +**` pylint `** + +Lint Python files. + +**` pyright `** + +Static type checker for Python + +**` python-debug-statements `** + +Check for debugger imports and py37+ ` breakpoint() ` calls in python source. + +**` pyupgrade `** + +Automatically upgrade syntax for newer versions. + +**` reuse `** + +reuse is a tool for compliance with the REUSE recommendations. + +**` revive `** + +A linter for Go source code. + +**` ripsecrets `** + +Prevent committing secret keys into your source code + +**` rome `** + +**` ruff `** + +An extremely fast Python linter, written in Rust. + +**` ruff-format `** + +An extremely fast Python code formatter, written in Rust. + +**` rustfmt `** + +Format Rust code. + +**` shellcheck `** + +Format shell files. + +**` shfmt `** + +Format shell files. + +**` single-quoted-strings `** + +Replace double quoted strings with single quoted strings. + +**` sort-file-contents `** + +Sort the lines in specified files (defaults to alphabetical). + +**` sort-requirements-txt `** + +Sort requirements in requirements.txt and constraints.txt files. + +**` sort-simple-yaml `** + +Sort simple YAML files which consist only of top-level keys, preserving comments and blocks. + +**` staticcheck `** + +State of the art linter for the Go programming language + +**` statix `** + +Lints and suggestions for the Nix programming language. + +**` stylish-haskell `** + +A simple Haskell code prettifier + +**` stylua `** + +An Opinionated Lua Code Formatter. + +**` tagref `** + +Have tagref check all references and tags. + +**` taplo `** + +Format TOML files with taplo fmt + +**` terraform-format `** + +Format terraform (` .tf `) files. + +**` terraform-validate `** + +Validates terraform configuration files (` .tf `). + +**` tflint `** + +A Pluggable Terraform Linter. + +**` topiary `** + +A universal formatter engine within the Tree-sitter ecosystem, with support for many languages. + +**` treefmt `** + +One CLI to format the code tree. + +**` trim-trailing-whitespace `** + +Trim trailing whitespace. + +**` trufflehog `** + +Secrets scanner + +**` typos `** + +Source code spell checker + +**` typstfmt `** + +format typst + +**` typstyle `** + +Beautiful and reliable typst code formatter + +**` vale `** + +A markup-aware linter for prose built with speed and extensibility in mind. + +**` yamlfmt `** + +Formatter for YAML files. + +**` yamllint `** + +Linter for YAML files. + +**` zprint `** + +Beautifully format Clojure and Clojurescript source code and s-expressions. + + + +*Type:* +attribute set of (submodule) + + + +*Default:* +` { } ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) + + + +## pre-commit.hooks.\.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.\.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.\.always_run + -**` commitizen `** -Check whether the current commit message follows committing rules. +if true this hook will run even if there are no matching files. -**` conform `** -Policy enforcement for commits. -**` convco `** +*Type:* +boolean -**` credo `** -Runs a static code analysis using Credo -**` crystal `** +*Default:* +` false ` -A tool that automatically formats Crystal source code +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` cspell `** -A Spell Checker for Code -**` deadnix `** +## pre-commit.hooks.\.args -Scan Nix files for dead code (unused variable bindings). -**` denofmt `** -Auto-format JavaScript, TypeScript, Markdown, and JSON files. +List of additional parameters to pass to the hook. -**` denolint `** -Lint JavaScript/TypeScript source code. -**` detect-aws-credentials `** +*Type:* +list of string -Detect AWS credentials from the AWS cli credentials file. -**` detect-private-keys `** -Detect the presence of private keys. +*Default:* +` [ ] ` -**` dhall-format `** +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -Dhall code formatter. -**` dialyzer `** -Runs a static code analysis using Dialyzer +## pre-commit.hooks.\.description -**` dune-fmt `** -Runs Dune’s formatters on the code tree. -**` dune-opam-sync `** +Description of the hook. Used for metadata purposes only. -Check that Dune-generated OPAM files are in sync. -**` eclint `** -EditorConfig linter written in Go. +*Type:* +string -**` editorconfig-checker `** -Verify that the files are in harmony with the ` .editorconfig `. -**` elm-format `** +*Default:* +` "" ` -Format Elm files. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` elm-review `** -Analyzes Elm projects, to help find mistakes before your users find them. -**` elm-test `** +## pre-commit.hooks.\.entry -Run unit tests and fuzz tests for Elm code. -**` end-of-file-fixer `** -Ensures that a file is either empty, or ends with a single newline. +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. -**` eslint `** -Find and fix problems in your JavaScript code. -**` fix-byte-order-marker `** +*Type:* +string -Remove UTF-8 byte order marker. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` fix-encoding-pragma `** -Adds \# -*- coding: utf-8 -*- to the top of Python files.’ -**` flake-checker `** +## pre-commit.hooks.\.exclude_types -Run health checks on your flake-powered Nix projects. -**` flake8 `** -Check the style and quality of Python files. +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). -**` flynt `** -CLI tool to convert a python project’s %-formatted strings to f-strings. -**` forbid-new-submodules `** +*Type:* +list of string -Prevent addition of new Git submodules. -**` fourmolu `** -Haskell code prettifier. +*Default:* +` [ ] ` -**` fprettify `** +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -Auto-formatter for modern Fortran code. -**` gofmt `** -A tool that automatically formats Go source code +## pre-commit.hooks.\.excludes -**` golangci-lint `** -Fast linters runner for Go. -**` gotest `** +Exclude files that were matched by these patterns. -Run go tests -**` govet `** -Checks correctness of Go programs. +*Type:* +list of string -**` gptcommit `** -Generate a commit message using GPT3. -**` hadolint `** +*Default:* +` [ ] ` -Dockerfile linter, validate inline bash. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` headache `** -Lightweight tool for managing headers in source code files. -**` hindent `** +## pre-commit.hooks.\.extraPackages -Haskell code prettifier. -**` hlint `** -HLint gives suggestions on how to improve your source code. +Additional packages required to run the hook. -**` hpack `** +These are propagated to ` enabledPackages ` for constructing developer +environments. -` hpack ` converts package definitions in the hpack format (` package.yaml `) to Cabal files. -**` html-tidy `** -HTML linter. +*Type:* +list of package -**` hunspell `** -Spell checker and morphological analyzer. -**` isort `** +*Default:* +` [ ] ` -A Python utility / library to sort imports. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` juliaformatter `** -Run JuliaFormatter.jl against Julia source files -**` lacheck `** +## pre-commit.hooks.\.fail_fast -A consistency checker for LaTeX documents. -**` latexindent `** -Perl script to add indentation to LaTeX files. +if true pre-commit will stop running hooks if this hook fails. -**` lua-ls `** -Uses the lua-language-server CLI to statically type-check and lint Lua code. -**` luacheck `** +*Type:* +boolean -A tool for linting and static analysis of Lua code. -**` lychee `** -A fast, async, stream-based link checker that finds broken hyperlinks and mail addresses inside Markdown, HTML, reStructuredText, or any other text file or website. +*Default:* +` false ` -**` markdownlint `** +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -Style checker and linter for markdown files. -**` mdl `** -A tool to check markdown files and flag style issues. +## pre-commit.hooks.\.files -**` mdsh `** -Markdown shell pre-processor. -**` mix-format `** +The pattern of files to run on. -Runs the built-in Elixir syntax formatter -**` mix-test `** -Runs the built-in Elixir test framework +*Type:* +string -**` mixed-line-endings `** -Resolve mixed line endings. -**` mkdocs-linkcheck `** +*Default:* +` "" ` -Validate links associated with markdown-based, statically generated websites. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` mypy `** -Static type checker for Python -**` name-tests-test `** +## pre-commit.hooks.\.language -Verify that Python test files are named correctly. -**` nil `** -Incremental analysis assistant for writing in Nix. +The language of the hook - tells pre-commit how to install the hook. -**` nixfmt `** -Nix code prettifier (classic). -**` nixfmt-classic `** +*Type:* +string -Nix code prettifier (classic). -**` nixfmt-rfc-style `** -Nix code prettifier (RFC 166 style). +*Default:* +` "system" ` -**` nixpkgs-fmt `** +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -Nix code prettifier. -**` no-commit-to-branch `** -Disallow committing to certain branch/branches. +## pre-commit.hooks.\.name -**` ocp-indent `** -A tool to indent OCaml code. -**` opam-lint `** +The name of the hook. Shown during hook execution. -OCaml package manager configuration checker. -**` ormolu `** -Haskell code prettifier. +*Type:* +string -**` php-cs-fixer `** -Lint PHP files. -**` phpcbf `** +*Default:* +internal name, same as ` id ` -Lint PHP files. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` phpcs `** -Lint PHP files. -**` phpstan `** +## pre-commit.hooks.\.pass_filenames -Static Analysis of PHP files. -**` poetry-check `** -Check the Poetry config for errors +Whether to pass filenames as arguments to the entry point. -**` poetry-lock `** -Update the Poetry lock file -**` pre-commit-hook-ensure-sops `** +*Type:* +boolean -**` prettier `** -Opinionated multi-language code formatter. -**` pretty-format-json `** +*Default:* +` true ` -Formats JSON files. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` psalm `** -Static Analysis of PHP files. -**` purs-tidy `** +## pre-commit.hooks.\.raw -Format purescript files. -**` purty `** -Format purescript files. +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. -**` pylint `** +Default: taken from the other hook options. -Lint Python files. -**` pyright `** -Static type checker for Python +*Type:* +attribute set of unspecified value -**` python-debug-statements `** +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -Check for debugger imports and py37+ ` breakpoint() ` calls in python source. -**` pyupgrade `** -Automatically upgrade syntax for newer versions. +## pre-commit.hooks.\.require_serial -**` reuse `** -reuse is a tool for compliance with the REUSE recommendations. -**` revive `** +if true this hook will execute using a single process instead of in parallel. -A linter for Go source code. -**` ripsecrets `** -Prevent committing secret keys into your source code +*Type:* +boolean -**` rome `** -A toolchain for web projects, aimed to provide functionalities to maintain them -**` ruff `** +*Default:* +` false ` -An extremely fast Python linter, written in Rust. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` ruff-format `** -An extremely fast Python code formatter, written in Rust. -**` rustfmt `** +## pre-commit.hooks.\.stages -Format Rust code. -**` shellcheck `** -Format shell files. +Confines the hook to run at a particular stage. -**` shfmt `** -Format shell files. -**` single-quoted-strings `** +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) -Replace double quoted strings with single quoted strings. -**` sort-file-contents `** -Sort the lines in specified files (defaults to alphabetical). +*Default:* +` default_stages ` -**` sort-requirements-txt `** +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -Sort requirements in requirements.txt and constraints.txt files. -**` sort-simple-yaml `** -Sort simple YAML files which consist only of top-level keys, preserving comments and blocks. +## pre-commit.hooks.\.types -**` staticcheck `** -State of the art linter for the Go programming language -**` statix `** +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). -Lints and suggestions for the Nix programming language. -**` stylish-haskell `** -A simple Haskell code prettifier +*Type:* +list of string -**` stylua `** -An Opinionated Lua Code Formatter. -**` tagref `** +*Default:* -Have tagref check all references and tags. +``` +[ + "file" +] +``` -**` taplo `** +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -Format TOML files with taplo fmt -**` terraform-format `** -Format terraform (` .tf `) files. +## pre-commit.hooks.\.types_or -**` terraform-validate `** -Validates terraform configuration files (` .tf `). -**` tflint `** +List of file types to run on, where only a single type needs to match. -A Pluggable Terraform Linter. -**` topiary `** -A universal formatter engine within the Tree-sitter ecosystem, with support for many languages. +*Type:* +list of string -**` treefmt `** -One CLI to format the code tree. -**` trim-trailing-whitespace `** +*Default:* +` [ ] ` -Trim trailing whitespace. +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -**` trufflehog `** -Secrets scanner -**` typos `** +## pre-commit.hooks.\.verbose -Source code spell checker -**` typstfmt `** -format typst +forces the output of the hook to be printed even when the hook passes. -**` typstyle `** -Beautiful and reliable typst code formatter -**` vale `** +*Type:* +boolean -A markup-aware linter for prose built with speed and extensibility in mind. -**` yamlfmt `** -Formatter for YAML files. +*Default:* +` false ` -**` yamllint `** +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -Linter for YAML files. -**` zprint `** -Beautifully format Clojure and Clojurescript source code and s-expressions. +## pre-commit.hooks.alejandra -*Type:* -attribute set of (submodule) +alejandra hook -*Default:* -` { } ` +*Type:* +submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.\.enable +## pre-commit.hooks.alejandra.enable @@ -7433,11 +37009,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.package +## pre-commit.hooks.alejandra.package @@ -7454,11 +37030,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.always_run +## pre-commit.hooks.alejandra.always_run @@ -7475,11 +37051,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.args +## pre-commit.hooks.alejandra.args @@ -7496,11 +37072,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.description +## pre-commit.hooks.alejandra.description @@ -7517,11 +37093,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.entry +## pre-commit.hooks.alejandra.entry @@ -7533,11 +37109,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.exclude_types +## pre-commit.hooks.alejandra.exclude_types @@ -7554,11 +37130,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.excludes +## pre-commit.hooks.alejandra.excludes @@ -7575,11 +37151,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.extraPackages +## pre-commit.hooks.alejandra.extraPackages @@ -7599,11 +37175,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.fail_fast +## pre-commit.hooks.alejandra.fail_fast @@ -7620,11 +37196,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.files +## pre-commit.hooks.alejandra.files @@ -7641,11 +37217,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.language +## pre-commit.hooks.alejandra.language @@ -7662,11 +37238,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.name +## pre-commit.hooks.alejandra.name @@ -7683,11 +37259,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.pass_filenames +## pre-commit.hooks.alejandra.pass_filenames @@ -7704,11 +37280,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.raw +## pre-commit.hooks.alejandra.raw @@ -7723,11 +37299,13 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.require_serial +## pre-commit.hooks.alejandra.require_serial + + if true this hook will execute using a single process instead of in parallel. @@ -7742,11 +37320,121 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.stages +## pre-commit.hooks.alejandra.settings.check + + + +Check if the input is already formatted and disable writing in-place the modified content + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.alejandra.settings.exclude + + + +Files or directories to exclude from formatting. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + + + +*Example:* + +``` +[ + "flake.nix" + "./templates" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.alejandra.settings.threads + + + +Number of formatting threads to spawn. + + + +*Type:* +null or signed integer + + + +*Default:* +` null ` + + + +*Example:* +` 8 ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.alejandra.settings.verbosity + + + +Whether informational messages or all messages should be hidden or not. + + + +*Type:* +one of “normal”, “quiet”, “silent” + + + +*Default:* +` "normal" ` + + + +*Example:* +` "quiet" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.alejandra.stages @@ -7763,11 +37451,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.types +## pre-commit.hooks.alejandra.types @@ -7789,11 +37477,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.types_or +## pre-commit.hooks.alejandra.types_or @@ -7810,11 +37498,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.\.verbose +## pre-commit.hooks.alejandra.verbose @@ -7831,15 +37519,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra +## pre-commit.hooks.ansible-lint -alejandra hook +ansible-lint hook @@ -7847,11 +37535,11 @@ alejandra hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.alejandra.enable +## pre-commit.hooks.ansible-lint.enable @@ -7868,11 +37556,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.package +## pre-commit.hooks.ansible-lint.package @@ -7889,11 +37577,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.always_run +## pre-commit.hooks.ansible-lint.always_run @@ -7910,11 +37598,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.args +## pre-commit.hooks.ansible-lint.args @@ -7931,11 +37619,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.description +## pre-commit.hooks.ansible-lint.description @@ -7952,11 +37640,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.entry +## pre-commit.hooks.ansible-lint.entry @@ -7968,11 +37656,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.exclude_types +## pre-commit.hooks.ansible-lint.exclude_types @@ -7989,11 +37677,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.excludes +## pre-commit.hooks.ansible-lint.excludes @@ -8010,11 +37698,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.extraPackages +## pre-commit.hooks.ansible-lint.extraPackages @@ -8034,11 +37722,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.fail_fast +## pre-commit.hooks.ansible-lint.fail_fast @@ -8055,11 +37743,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.files +## pre-commit.hooks.ansible-lint.files @@ -8076,11 +37764,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.language +## pre-commit.hooks.ansible-lint.language @@ -8097,11 +37785,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.name +## pre-commit.hooks.ansible-lint.name @@ -8118,11 +37806,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.pass_filenames +## pre-commit.hooks.ansible-lint.pass_filenames @@ -8139,11 +37827,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.raw +## pre-commit.hooks.ansible-lint.raw @@ -8158,11 +37846,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.require_serial +## pre-commit.hooks.ansible-lint.require_serial @@ -8179,121 +37867,53 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.alejandra.settings.check - - - -Check if the input is already formatted and disable writing in-place the modified content - - - -*Type:* -boolean - - - -*Default:* -` false ` - - - -*Example:* -` true ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.alejandra.settings.exclude - - - -Files or directories to exclude from formatting. - - - -*Type:* -list of string - - - -*Default:* -` [ ] ` - - - -*Example:* - -``` -[ - "flake.nix" - "./templates" -] -``` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.settings.threads +## pre-commit.hooks.ansible-lint.settings.configPath -Number of formatting threads to spawn. +Path to the YAML configuration file. *Type:* -null or signed integer +string *Default:* -` null ` - - - -*Example:* -` 8 ` +` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.alejandra.settings.verbosity +## pre-commit.hooks.ansible-lint.settings.subdir -Whether informational messages or all messages should be hidden or not. +Path to the Ansible subdirectory. *Type:* -one of “normal”, “quiet”, “silent” +string *Default:* -` "normal" ` - - - -*Example:* -` "quiet" ` +` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.alejandra.stages +## pre-commit.hooks.ansible-lint.stages @@ -8310,11 +37930,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.types +## pre-commit.hooks.ansible-lint.types @@ -8336,11 +37956,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.types_or +## pre-commit.hooks.ansible-lint.types_or @@ -8357,11 +37977,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.alejandra.verbose +## pre-commit.hooks.ansible-lint.verbose @@ -8378,15 +37998,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint +## pre-commit.hooks.autoflake -ansible-lint hook +autoflake hook @@ -8394,11 +38014,11 @@ ansible-lint hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.ansible-lint.enable +## pre-commit.hooks.autoflake.enable @@ -8415,11 +38035,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.package +## pre-commit.hooks.autoflake.package @@ -8436,11 +38056,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.always_run +## pre-commit.hooks.autoflake.always_run @@ -8457,11 +38077,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.args +## pre-commit.hooks.autoflake.args @@ -8478,11 +38098,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.description +## pre-commit.hooks.autoflake.description @@ -8499,11 +38119,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.entry +## pre-commit.hooks.autoflake.entry @@ -8515,11 +38135,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.exclude_types +## pre-commit.hooks.autoflake.exclude_types @@ -8536,11 +38156,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.excludes +## pre-commit.hooks.autoflake.excludes @@ -8557,11 +38177,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.extraPackages +## pre-commit.hooks.autoflake.extraPackages @@ -8581,11 +38201,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.fail_fast +## pre-commit.hooks.autoflake.fail_fast @@ -8602,11 +38222,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.files +## pre-commit.hooks.autoflake.files @@ -8623,11 +38243,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.language +## pre-commit.hooks.autoflake.language @@ -8644,11 +38264,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.name +## pre-commit.hooks.autoflake.name @@ -8665,11 +38285,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.pass_filenames +## pre-commit.hooks.autoflake.pass_filenames @@ -8686,11 +38306,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.raw +## pre-commit.hooks.autoflake.raw @@ -8705,11 +38325,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.require_serial +## pre-commit.hooks.autoflake.require_serial @@ -8726,36 +38346,40 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.settings.configPath +## pre-commit.hooks.autoflake.settings.binPath -Path to the YAML configuration file. +Path to autoflake binary. *Type:* -string +null or string *Default:* -` "" ` + +``` +"${tools.autoflake}/bin/autoflake" + +``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.ansible-lint.settings.subdir +## pre-commit.hooks.autoflake.settings.flags -Path to the Ansible subdirectory. +Flags passed to autoflake. @@ -8765,14 +38389,14 @@ string *Default:* -` "" ` +` "--in-place --expand-star-imports --remove-duplicate-keys --remove-unused-variables" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.ansible-lint.stages +## pre-commit.hooks.autoflake.stages @@ -8789,11 +38413,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.types +## pre-commit.hooks.autoflake.types @@ -8815,11 +38439,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.types_or +## pre-commit.hooks.autoflake.types_or @@ -8836,11 +38460,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ansible-lint.verbose +## pre-commit.hooks.autoflake.verbose @@ -8857,15 +38481,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake +## pre-commit.hooks.biome -autoflake hook +biome hook @@ -8873,11 +38497,11 @@ autoflake hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.autoflake.enable +## pre-commit.hooks.biome.enable @@ -8894,11 +38518,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.package +## pre-commit.hooks.biome.package @@ -8915,11 +38539,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.always_run +## pre-commit.hooks.biome.always_run @@ -8936,11 +38560,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.args +## pre-commit.hooks.biome.args @@ -8957,11 +38581,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.description +## pre-commit.hooks.biome.description @@ -8978,11 +38602,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.entry +## pre-commit.hooks.biome.entry @@ -8994,11 +38618,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.exclude_types +## pre-commit.hooks.biome.exclude_types @@ -9015,11 +38639,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.excludes +## pre-commit.hooks.biome.excludes @@ -9036,11 +38660,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.extraPackages +## pre-commit.hooks.biome.extraPackages @@ -9060,11 +38684,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.fail_fast +## pre-commit.hooks.biome.fail_fast @@ -9081,11 +38705,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.files +## pre-commit.hooks.biome.files @@ -9102,11 +38726,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.language +## pre-commit.hooks.biome.language @@ -9123,11 +38747,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.name +## pre-commit.hooks.biome.name @@ -9144,11 +38768,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.pass_filenames +## pre-commit.hooks.biome.pass_filenames @@ -9165,11 +38789,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.raw +## pre-commit.hooks.biome.raw @@ -9184,11 +38808,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.require_serial +## pre-commit.hooks.biome.require_serial @@ -9205,57 +38829,74 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.settings.binPath +## pre-commit.hooks.biome.settings.binPath -Path to autoflake binary. +` biome ` binary path. E.g. if you want to use the ` biome ` in ` node_modules `, use ` ./node_modules/.bin/biome `. *Type:* -null or string +null or path *Default:* +` null ` -``` -"${tools.autoflake}/bin/autoflake" +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.biome.settings.configPath + + + +Path to the configuration JSON file + + + +*Type:* +string -``` + + +*Default:* +` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.autoflake.settings.flags +## pre-commit.hooks.biome.settings.write -Flags passed to autoflake. +Whether to edit files inplace. *Type:* -string +boolean *Default:* -` "--in-place --expand-star-imports --remove-duplicate-keys --remove-unused-variables" ` +` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.autoflake.stages +## pre-commit.hooks.biome.stages @@ -9272,11 +38913,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.types +## pre-commit.hooks.biome.types @@ -9298,11 +38939,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.types_or +## pre-commit.hooks.biome.types_or @@ -9319,11 +38960,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.autoflake.verbose +## pre-commit.hooks.biome.verbose @@ -9340,15 +38981,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome +## pre-commit.hooks.black -biome hook +black hook @@ -9356,11 +38997,11 @@ biome hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.biome.enable +## pre-commit.hooks.black.enable @@ -9377,11 +39018,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.package +## pre-commit.hooks.black.package @@ -9398,11 +39039,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.always_run +## pre-commit.hooks.black.always_run @@ -9419,11 +39060,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.args +## pre-commit.hooks.black.args @@ -9440,11 +39081,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.description +## pre-commit.hooks.black.description @@ -9461,11 +39102,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.entry +## pre-commit.hooks.black.entry @@ -9477,11 +39118,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.exclude_types +## pre-commit.hooks.black.exclude_types @@ -9498,11 +39139,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.excludes +## pre-commit.hooks.black.excludes @@ -9519,11 +39160,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.extraPackages +## pre-commit.hooks.black.extraPackages @@ -9543,11 +39184,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.fail_fast +## pre-commit.hooks.black.fail_fast @@ -9564,11 +39205,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.files +## pre-commit.hooks.black.files @@ -9585,11 +39226,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.language +## pre-commit.hooks.black.language @@ -9606,11 +39247,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.name +## pre-commit.hooks.black.name @@ -9627,11 +39268,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.pass_filenames +## pre-commit.hooks.black.pass_filenames @@ -9648,11 +39289,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.raw +## pre-commit.hooks.black.raw @@ -9667,11 +39308,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.require_serial +## pre-commit.hooks.black.require_serial @@ -9688,36 +39329,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.biome.settings.binPath - - - -` biome ` binary path. E.g. if you want to use the ` biome ` in ` node_modules `, use ` ./node_modules/.bin/biome `. - - - -*Type:* -null or path + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -*Default:* -` "\${tools.biome}/bin/biome" ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.biome.settings.configPath +## pre-commit.hooks.black.settings.flags -Path to the configuration JSON file +Flags passed to black. See all available [here](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html\#command-line-options). @@ -9729,33 +39349,17 @@ string *Default:* ` "" ` -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.biome.settings.write - -Whether to edit files inplace. - - - -*Type:* -boolean - - - -*Default:* -` true ` +*Example:* +` "--skip-magic-trailing-comma" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.biome.stages +## pre-commit.hooks.black.stages @@ -9772,11 +39376,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.types +## pre-commit.hooks.black.types @@ -9798,11 +39402,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.types_or +## pre-commit.hooks.black.types_or @@ -9819,11 +39423,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.biome.verbose +## pre-commit.hooks.black.verbose @@ -9840,15 +39444,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black +## pre-commit.hooks.clippy -black hook +clippy hook @@ -9856,11 +39460,11 @@ black hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.black.enable +## pre-commit.hooks.clippy.enable @@ -9877,11 +39481,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.package +## pre-commit.hooks.clippy.package @@ -9898,11 +39502,43 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.always_run +## pre-commit.hooks.clippy.packageOverrides.cargo + + + +The cargo package to use + + + +*Type:* +package + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.clippy.packageOverrides.clippy + + + +The clippy package to use + + + +*Type:* +package + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.clippy.always_run @@ -9919,11 +39555,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.args +## pre-commit.hooks.clippy.args @@ -9940,11 +39576,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.description +## pre-commit.hooks.clippy.description @@ -9961,11 +39597,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.entry +## pre-commit.hooks.clippy.entry @@ -9977,11 +39613,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.exclude_types +## pre-commit.hooks.clippy.exclude_types @@ -9998,11 +39634,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.excludes +## pre-commit.hooks.clippy.excludes @@ -10019,11 +39655,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.extraPackages +## pre-commit.hooks.clippy.extraPackages @@ -10043,11 +39679,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.fail_fast +## pre-commit.hooks.clippy.fail_fast @@ -10064,11 +39700,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.files +## pre-commit.hooks.clippy.files @@ -10085,11 +39721,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.language +## pre-commit.hooks.clippy.language @@ -10106,11 +39742,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.name +## pre-commit.hooks.clippy.name @@ -10127,11 +39763,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.pass_filenames +## pre-commit.hooks.clippy.pass_filenames @@ -10148,11 +39784,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.raw +## pre-commit.hooks.clippy.raw @@ -10167,11 +39803,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.require_serial +## pre-commit.hooks.clippy.require_serial @@ -10188,15 +39824,57 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.settings.flags +## pre-commit.hooks.clippy.settings.allFeatures -Flags passed to black. See all available [here](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html\#command-line-options). +Run clippy with --all-features + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.clippy.settings.denyWarnings + + + +Fail when warnings are present + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.clippy.settings.extraArgs + + + +Additional arguments to pass to clippy @@ -10208,17 +39886,33 @@ string *Default:* ` "" ` +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -*Example:* -` "--skip-magic-trailing-comma" ` + +## pre-commit.hooks.clippy.settings.offline + + + +Run clippy offline + + + +*Type:* +boolean + + + +*Default:* +` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.black.stages +## pre-commit.hooks.clippy.stages @@ -10235,11 +39929,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.types +## pre-commit.hooks.clippy.types @@ -10261,11 +39955,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.types_or +## pre-commit.hooks.clippy.types_or @@ -10282,11 +39976,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.black.verbose +## pre-commit.hooks.clippy.verbose @@ -10303,15 +39997,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy +## pre-commit.hooks.cmake-format -clippy hook +cmake-format hook @@ -10319,11 +40013,11 @@ clippy hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.clippy.enable +## pre-commit.hooks.cmake-format.enable @@ -10340,11 +40034,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.package +## pre-commit.hooks.cmake-format.package @@ -10361,43 +40055,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.packageOverrides.cargo - - - -The cargo package to use - - - -*Type:* -package - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.clippy.packageOverrides.clippy - - - -The clippy package to use - - - -*Type:* -package - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.clippy.always_run +## pre-commit.hooks.cmake-format.always_run @@ -10414,11 +40076,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.args +## pre-commit.hooks.cmake-format.args @@ -10435,11 +40097,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.description +## pre-commit.hooks.cmake-format.description @@ -10456,11 +40118,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.entry +## pre-commit.hooks.cmake-format.entry @@ -10472,11 +40134,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.exclude_types +## pre-commit.hooks.cmake-format.exclude_types @@ -10493,11 +40155,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.excludes +## pre-commit.hooks.cmake-format.excludes @@ -10514,11 +40176,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.extraPackages +## pre-commit.hooks.cmake-format.extraPackages @@ -10538,11 +40200,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.fail_fast +## pre-commit.hooks.cmake-format.fail_fast @@ -10559,11 +40221,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.files +## pre-commit.hooks.cmake-format.files @@ -10580,11 +40242,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.language +## pre-commit.hooks.cmake-format.language @@ -10601,11 +40263,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.name +## pre-commit.hooks.cmake-format.name @@ -10622,11 +40284,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.pass_filenames +## pre-commit.hooks.cmake-format.pass_filenames @@ -10643,11 +40305,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.raw +## pre-commit.hooks.cmake-format.raw @@ -10662,11 +40324,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.require_serial +## pre-commit.hooks.cmake-format.require_serial @@ -10683,74 +40345,37 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.clippy.settings.allFeatures - - - -Run clippy with --all-features - - - -*Type:* -boolean - - - -*Default:* -` false ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.settings.denyWarnings +## pre-commit.hooks.cmake-format.settings.configPath -Fail when warnings are present +Path to the configuration file (.json,.python,.yaml) *Type:* -boolean +string *Default:* -` false ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.clippy.settings.offline - - - -Run clippy offline - - - -*Type:* -boolean +` "" ` -*Default:* -` true ` +*Example:* +` ".cmake-format.json" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.clippy.stages +## pre-commit.hooks.cmake-format.stages @@ -10767,11 +40392,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.types +## pre-commit.hooks.cmake-format.types @@ -10793,11 +40418,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.types_or +## pre-commit.hooks.cmake-format.types_or @@ -10814,11 +40439,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.clippy.verbose +## pre-commit.hooks.cmake-format.verbose @@ -10835,15 +40460,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format +## pre-commit.hooks.credo -cmake-format hook +credo hook @@ -10851,11 +40476,11 @@ cmake-format hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.cmake-format.enable +## pre-commit.hooks.credo.enable @@ -10872,11 +40497,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.package +## pre-commit.hooks.credo.package @@ -10893,11 +40518,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.always_run +## pre-commit.hooks.credo.always_run @@ -10914,11 +40539,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.args +## pre-commit.hooks.credo.args @@ -10935,11 +40560,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.description +## pre-commit.hooks.credo.description @@ -10956,11 +40581,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.entry +## pre-commit.hooks.credo.entry @@ -10972,11 +40597,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.exclude_types +## pre-commit.hooks.credo.exclude_types @@ -10993,11 +40618,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.excludes +## pre-commit.hooks.credo.excludes @@ -11014,11 +40639,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.extraPackages +## pre-commit.hooks.credo.extraPackages @@ -11038,11 +40663,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.fail_fast +## pre-commit.hooks.credo.fail_fast @@ -11059,11 +40684,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.files +## pre-commit.hooks.credo.files @@ -11080,11 +40705,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.language +## pre-commit.hooks.credo.language @@ -11101,11 +40726,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.name +## pre-commit.hooks.credo.name @@ -11122,11 +40747,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.pass_filenames +## pre-commit.hooks.credo.pass_filenames @@ -11143,11 +40768,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.raw +## pre-commit.hooks.credo.raw @@ -11162,11 +40787,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.require_serial +## pre-commit.hooks.credo.require_serial @@ -11183,37 +40808,32 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.settings.configPath +## pre-commit.hooks.credo.settings.strict -Path to the configuration file (.json,.python,.yaml) +Whether to auto-promote the changes. *Type:* -string +boolean *Default:* -` "" ` - - - -*Example:* -` ".cmake-format.json" ` +` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.cmake-format.stages +## pre-commit.hooks.credo.stages @@ -11230,11 +40850,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.types +## pre-commit.hooks.credo.types @@ -11256,11 +40876,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.types_or +## pre-commit.hooks.credo.types_or @@ -11277,11 +40897,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.cmake-format.verbose +## pre-commit.hooks.credo.verbose @@ -11298,15 +40918,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo +## pre-commit.hooks.deadnix -credo hook +deadnix hook @@ -11314,11 +40934,11 @@ credo hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.credo.enable +## pre-commit.hooks.deadnix.enable @@ -11335,11 +40955,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.package +## pre-commit.hooks.deadnix.package @@ -11356,11 +40976,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.always_run +## pre-commit.hooks.deadnix.always_run @@ -11377,11 +40997,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.args +## pre-commit.hooks.deadnix.args @@ -11398,11 +41018,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.description +## pre-commit.hooks.deadnix.description @@ -11419,11 +41039,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.entry +## pre-commit.hooks.deadnix.entry @@ -11435,11 +41055,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.exclude_types +## pre-commit.hooks.deadnix.exclude_types @@ -11456,11 +41076,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.excludes +## pre-commit.hooks.deadnix.excludes @@ -11477,11 +41097,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.extraPackages +## pre-commit.hooks.deadnix.extraPackages @@ -11501,11 +41121,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.fail_fast +## pre-commit.hooks.deadnix.fail_fast @@ -11522,11 +41142,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.files +## pre-commit.hooks.deadnix.files @@ -11543,11 +41163,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.language +## pre-commit.hooks.deadnix.language @@ -11564,11 +41184,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.name +## pre-commit.hooks.deadnix.name @@ -11585,11 +41205,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.pass_filenames +## pre-commit.hooks.deadnix.pass_filenames @@ -11606,11 +41226,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.raw +## pre-commit.hooks.deadnix.raw @@ -11625,11 +41245,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.require_serial +## pre-commit.hooks.deadnix.require_serial @@ -11646,15 +41266,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.settings.strict +## pre-commit.hooks.deadnix.settings.edit -Whether to auto-promote the changes. +Remove unused code and write to source file. @@ -11664,14 +41284,140 @@ boolean *Default:* -` true ` +` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.credo.stages +## pre-commit.hooks.deadnix.settings.exclude + + + +Files to exclude from analysis. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.deadnix.settings.hidden + + + +Recurse into hidden subdirectories and process hidden .\*.nix files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.deadnix.settings.noLambdaArg + + + +Don’t check lambda parameter arguments. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.deadnix.settings.noLambdaPatternNames + + + +Don’t check lambda pattern names (don’t break nixpkgs ` callPackage `). + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.deadnix.settings.noUnderscore + + + +Don’t check any bindings that start with a ` _ `. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.deadnix.settings.quiet + + + +Don’t print a dead code report. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.deadnix.stages @@ -11688,11 +41434,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.types +## pre-commit.hooks.deadnix.types @@ -11714,11 +41460,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.types_or +## pre-commit.hooks.deadnix.types_or @@ -11735,11 +41481,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.credo.verbose +## pre-commit.hooks.deadnix.verbose @@ -11756,15 +41502,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix +## pre-commit.hooks.denofmt -deadnix hook +denofmt hook @@ -11772,11 +41518,11 @@ deadnix hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.deadnix.enable +## pre-commit.hooks.denofmt.enable @@ -11793,11 +41539,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.package +## pre-commit.hooks.denofmt.package @@ -11814,11 +41560,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.always_run +## pre-commit.hooks.denofmt.always_run @@ -11835,11 +41581,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.args +## pre-commit.hooks.denofmt.args @@ -11856,11 +41602,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.description +## pre-commit.hooks.denofmt.description @@ -11877,11 +41623,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.entry +## pre-commit.hooks.denofmt.entry @@ -11893,11 +41639,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.exclude_types +## pre-commit.hooks.denofmt.exclude_types @@ -11914,11 +41660,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.excludes +## pre-commit.hooks.denofmt.excludes @@ -11935,11 +41681,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.extraPackages +## pre-commit.hooks.denofmt.extraPackages @@ -11959,11 +41705,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.fail_fast +## pre-commit.hooks.denofmt.fail_fast @@ -11980,11 +41726,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.files +## pre-commit.hooks.denofmt.files @@ -12001,11 +41747,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.language +## pre-commit.hooks.denofmt.language @@ -12022,11 +41768,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.name +## pre-commit.hooks.denofmt.name @@ -12043,11 +41789,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.pass_filenames +## pre-commit.hooks.denofmt.pass_filenames @@ -12064,11 +41810,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.raw +## pre-commit.hooks.denofmt.raw @@ -12083,11 +41829,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.require_serial +## pre-commit.hooks.denofmt.require_serial @@ -12104,141 +41850,36 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.deadnix.settings.edit - - - -Remove unused code and write to source file. - - - -*Type:* -boolean - - - -*Default:* -` false ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.deadnix.settings.exclude - - - -Files to exclude from analysis. - - - -*Type:* -list of string - - - -*Default:* -` [ ] ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.deadnix.settings.hidden - - - -Recurse into hidden subdirectories and process hidden .\*.nix files. - - - -*Type:* -boolean - - - -*Default:* -` false ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.deadnix.settings.noLambdaArg - - - -Don’t check lambda parameter arguments. - - - -*Type:* -boolean - - - -*Default:* -` false ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.deadnix.settings.noLambdaPatternNames - - - -Don’t check lambda pattern names (don’t break nixpkgs ` callPackage `). - - - -*Type:* -boolean - - - -*Default:* -` false ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.settings.noUnderscore +## pre-commit.hooks.denofmt.settings.configPath -Don’t check any bindings that start with a ` _ `. +Path to the configuration JSON file *Type:* -boolean +string *Default:* -` false ` +` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.deadnix.settings.quiet +## pre-commit.hooks.denofmt.settings.write -Don’t print a dead code report. +Whether to edit files inplace. @@ -12248,14 +41889,14 @@ boolean *Default:* -` false ` +` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.deadnix.stages +## pre-commit.hooks.denofmt.stages @@ -12272,11 +41913,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.types +## pre-commit.hooks.denofmt.types @@ -12298,11 +41939,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.types_or +## pre-commit.hooks.denofmt.types_or @@ -12319,11 +41960,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.deadnix.verbose +## pre-commit.hooks.denofmt.verbose @@ -12340,15 +41981,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt +## pre-commit.hooks.denolint -denofmt hook +denolint hook @@ -12356,11 +41997,11 @@ denofmt hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.denofmt.enable +## pre-commit.hooks.denolint.enable @@ -12377,11 +42018,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.package +## pre-commit.hooks.denolint.package @@ -12398,11 +42039,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.always_run +## pre-commit.hooks.denolint.always_run @@ -12419,11 +42060,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.args +## pre-commit.hooks.denolint.args @@ -12440,11 +42081,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.description +## pre-commit.hooks.denolint.description @@ -12461,11 +42102,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.entry +## pre-commit.hooks.denolint.entry @@ -12477,11 +42118,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.exclude_types +## pre-commit.hooks.denolint.exclude_types @@ -12498,11 +42139,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.excludes +## pre-commit.hooks.denolint.excludes @@ -12519,11 +42160,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.extraPackages +## pre-commit.hooks.denolint.extraPackages @@ -12543,11 +42184,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.fail_fast +## pre-commit.hooks.denolint.fail_fast @@ -12564,11 +42205,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.files +## pre-commit.hooks.denolint.files @@ -12585,11 +42226,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.language +## pre-commit.hooks.denolint.language @@ -12606,11 +42247,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.name +## pre-commit.hooks.denolint.name @@ -12627,11 +42268,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.pass_filenames +## pre-commit.hooks.denolint.pass_filenames @@ -12648,11 +42289,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.raw +## pre-commit.hooks.denolint.raw @@ -12667,11 +42308,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.require_serial +## pre-commit.hooks.denolint.require_serial @@ -12688,11 +42329,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.settings.configPath +## pre-commit.hooks.denolint.settings.configPath @@ -12709,32 +42350,32 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.denofmt.settings.write +## pre-commit.hooks.denolint.settings.format -Whether to edit files inplace. +Output format. *Type:* -boolean +one of “default”, “compact”, “json” *Default:* -` true ` +` "default" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.denofmt.stages +## pre-commit.hooks.denolint.stages @@ -12751,11 +42392,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.types +## pre-commit.hooks.denolint.types @@ -12777,11 +42418,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.types_or +## pre-commit.hooks.denolint.types_or @@ -12798,11 +42439,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denofmt.verbose +## pre-commit.hooks.denolint.verbose @@ -12819,15 +42460,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint +## pre-commit.hooks.dune-fmt -denolint hook +dune-fmt hook @@ -12835,11 +42476,11 @@ denolint hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.denolint.enable +## pre-commit.hooks.dune-fmt.enable @@ -12856,11 +42497,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.package +## pre-commit.hooks.dune-fmt.package @@ -12877,11 +42518,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.always_run +## pre-commit.hooks.dune-fmt.always_run @@ -12898,11 +42539,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.args +## pre-commit.hooks.dune-fmt.args @@ -12919,11 +42560,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.description +## pre-commit.hooks.dune-fmt.description @@ -12940,11 +42581,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.entry +## pre-commit.hooks.dune-fmt.entry @@ -12956,11 +42597,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.exclude_types +## pre-commit.hooks.dune-fmt.exclude_types @@ -12977,11 +42618,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.excludes +## pre-commit.hooks.dune-fmt.excludes @@ -12998,11 +42639,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.extraPackages +## pre-commit.hooks.dune-fmt.extraPackages @@ -13022,11 +42663,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.fail_fast +## pre-commit.hooks.dune-fmt.fail_fast @@ -13043,11 +42684,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.files +## pre-commit.hooks.dune-fmt.files @@ -13064,11 +42705,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.language +## pre-commit.hooks.dune-fmt.language @@ -13085,11 +42726,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.name +## pre-commit.hooks.dune-fmt.name @@ -13106,11 +42747,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.pass_filenames +## pre-commit.hooks.dune-fmt.pass_filenames @@ -13127,11 +42768,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.raw +## pre-commit.hooks.dune-fmt.raw @@ -13146,11 +42787,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.require_serial +## pre-commit.hooks.dune-fmt.require_serial @@ -13167,53 +42808,53 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.settings.configPath +## pre-commit.hooks.dune-fmt.settings.auto-promote -Path to the configuration JSON file +Whether to auto-promote the changes. *Type:* -string +boolean *Default:* -` "" ` +` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.denolint.settings.format +## pre-commit.hooks.dune-fmt.settings.extraRuntimeInputs -Output format. +Extra runtimeInputs to add to the environment, eg. ` ocamlformat `. *Type:* -one of “default”, “compact”, “json” +list of package *Default:* -` "default" ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.denolint.stages +## pre-commit.hooks.dune-fmt.stages @@ -13230,11 +42871,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.types +## pre-commit.hooks.dune-fmt.types @@ -13256,11 +42897,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.types_or +## pre-commit.hooks.dune-fmt.types_or @@ -13277,11 +42918,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.denolint.verbose +## pre-commit.hooks.dune-fmt.verbose @@ -13298,15 +42939,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt +## pre-commit.hooks.eclint -dune-fmt hook +eclint hook @@ -13314,11 +42955,11 @@ dune-fmt hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.dune-fmt.enable +## pre-commit.hooks.eclint.enable @@ -13335,11 +42976,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.package +## pre-commit.hooks.eclint.package @@ -13356,11 +42997,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.always_run +## pre-commit.hooks.eclint.always_run @@ -13377,11 +43018,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.args +## pre-commit.hooks.eclint.args @@ -13398,11 +43039,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.description +## pre-commit.hooks.eclint.description @@ -13419,11 +43060,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.entry +## pre-commit.hooks.eclint.entry @@ -13435,11 +43076,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.exclude_types +## pre-commit.hooks.eclint.exclude_types @@ -13456,11 +43097,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.excludes +## pre-commit.hooks.eclint.excludes @@ -13477,11 +43118,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.extraPackages +## pre-commit.hooks.eclint.extraPackages @@ -13501,11 +43142,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.fail_fast +## pre-commit.hooks.eclint.fail_fast @@ -13522,11 +43163,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.files +## pre-commit.hooks.eclint.files @@ -13543,11 +43184,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.language +## pre-commit.hooks.eclint.language @@ -13564,11 +43205,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.name +## pre-commit.hooks.eclint.name @@ -13585,11 +43226,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.pass_filenames +## pre-commit.hooks.eclint.pass_filenames @@ -13606,11 +43247,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.raw +## pre-commit.hooks.eclint.raw @@ -13625,11 +43266,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.require_serial +## pre-commit.hooks.eclint.require_serial @@ -13646,41 +43287,41 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.settings.auto-promote +## pre-commit.hooks.eclint.settings.color -Whether to auto-promote the changes. +When to generate colored output. *Type:* -boolean +one of “auto”, “always”, “never” *Default:* -` true ` +` "auto" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.dune-fmt.settings.extraRuntimeInputs +## pre-commit.hooks.eclint.settings.exclude -Extra runtimeInputs to add to the environment, eg. ` ocamlformat `. +Filter to exclude files. *Type:* -list of package +list of string @@ -13688,11 +43329,74 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.dune-fmt.stages +## pre-commit.hooks.eclint.settings.fix + + + +Modify files in place rather than showing the errors. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.eclint.settings.summary + + + +Only show number of errors per file. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.eclint.settings.verbosity + + + +Log level verbosity + + + +*Type:* +one of 0, 1, 2, 3, 4 + + + +*Default:* +` 0 ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.eclint.stages @@ -13709,11 +43413,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.types +## pre-commit.hooks.eclint.types @@ -13735,11 +43439,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.types_or +## pre-commit.hooks.eclint.types_or @@ -13756,11 +43460,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.dune-fmt.verbose +## pre-commit.hooks.eclint.verbose @@ -13777,15 +43481,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint +## pre-commit.hooks.eslint -eclint hook +eslint hook @@ -13793,11 +43497,11 @@ eclint hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.eclint.enable +## pre-commit.hooks.eslint.enable @@ -13814,11 +43518,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.package +## pre-commit.hooks.eslint.package @@ -13835,11 +43539,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.always_run +## pre-commit.hooks.eslint.always_run @@ -13856,11 +43560,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.args +## pre-commit.hooks.eslint.args @@ -13877,11 +43581,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.description +## pre-commit.hooks.eslint.description @@ -13898,11 +43602,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.entry +## pre-commit.hooks.eslint.entry @@ -13914,11 +43618,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.exclude_types +## pre-commit.hooks.eslint.exclude_types @@ -13935,11 +43639,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.excludes +## pre-commit.hooks.eslint.excludes @@ -13956,11 +43660,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.extraPackages +## pre-commit.hooks.eslint.extraPackages @@ -13980,11 +43684,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.fail_fast +## pre-commit.hooks.eslint.fail_fast @@ -14001,11 +43705,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.files +## pre-commit.hooks.eslint.files @@ -14022,11 +43726,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.language +## pre-commit.hooks.eslint.language @@ -14043,11 +43747,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.name +## pre-commit.hooks.eslint.name @@ -14064,11 +43768,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.pass_filenames +## pre-commit.hooks.eslint.pass_filenames @@ -14085,11 +43789,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.raw +## pre-commit.hooks.eslint.raw @@ -14104,11 +43808,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.require_serial +## pre-commit.hooks.eslint.require_serial @@ -14125,116 +43829,53 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.eclint.settings.color - - - -When to generate colored output. - - - -*Type:* -one of “auto”, “always”, “never” - - - -*Default:* -` "auto" ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.eclint.settings.exclude - - - -Filter to exclude files. - - - -*Type:* -list of string - - - -*Default:* -` [ ] ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.eclint.settings.fix - - - -Modify files in place rather than showing the errors. - - - -*Type:* -boolean - - - -*Default:* -` false ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.settings.summary +## pre-commit.hooks.eslint.settings.binPath -Only show number of errors per file. +` eslint ` binary path. E.g. if you want to use the ` eslint ` in ` node_modules `, use ` ./node_modules/.bin/eslint `. *Type:* -boolean +null or path *Default:* -` false ` +` ${tools.eslint}/bin/eslint ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.eclint.settings.verbosity +## pre-commit.hooks.eslint.settings.extensions -Log level verbosity +The pattern of files to run on, see [https://pre-commit.com/\#hooks-files](https://pre-commit.com/\#hooks-files). *Type:* -one of 0, 1, 2, 3, 4 +string *Default:* -` 0 ` +` "\.js$" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.eclint.stages +## pre-commit.hooks.eslint.stages @@ -14251,11 +43892,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.types +## pre-commit.hooks.eslint.types @@ -14277,11 +43918,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.types_or +## pre-commit.hooks.eslint.types_or @@ -14298,11 +43939,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eclint.verbose +## pre-commit.hooks.eslint.verbose @@ -14319,15 +43960,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint +## pre-commit.hooks.flake8 -eslint hook +flake8 hook @@ -14335,11 +43976,11 @@ eslint hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.eslint.enable +## pre-commit.hooks.flake8.enable @@ -14356,11 +43997,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.package +## pre-commit.hooks.flake8.package @@ -14377,11 +44018,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.always_run +## pre-commit.hooks.flake8.always_run @@ -14398,11 +44039,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.args +## pre-commit.hooks.flake8.args @@ -14419,11 +44060,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.description +## pre-commit.hooks.flake8.description @@ -14440,11 +44081,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.entry +## pre-commit.hooks.flake8.entry @@ -14456,11 +44097,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.exclude_types +## pre-commit.hooks.flake8.exclude_types @@ -14477,11 +44118,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.excludes +## pre-commit.hooks.flake8.excludes @@ -14498,11 +44139,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.extraPackages +## pre-commit.hooks.flake8.extraPackages @@ -14522,11 +44163,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.fail_fast +## pre-commit.hooks.flake8.fail_fast @@ -14543,11 +44184,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.files +## pre-commit.hooks.flake8.files @@ -14564,11 +44205,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.language +## pre-commit.hooks.flake8.language @@ -14585,11 +44226,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.name +## pre-commit.hooks.flake8.name @@ -14606,11 +44247,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.pass_filenames +## pre-commit.hooks.flake8.pass_filenames @@ -14627,11 +44268,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.raw +## pre-commit.hooks.flake8.raw @@ -14646,11 +44287,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.require_serial +## pre-commit.hooks.flake8.require_serial @@ -14667,36 +44308,71 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.settings.binPath +## pre-commit.hooks.flake8.settings.binPath -` eslint ` binary path. E.g. if you want to use the ` eslint ` in ` node_modules `, use ` ./node_modules/.bin/eslint `. +flake8 binary path. Should be used to specify flake8 binary from your Nix-managed Python environment. *Type:* -null or path +null or string *Default:* -` ${tools.eslint}/bin/eslint ` + +``` +"${tools.flake8}/bin/flake8" + +``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.eslint.settings.extensions +## pre-commit.hooks.flake8.settings.extendIgnore -The pattern of files to run on, see [https://pre-commit.com/\#hooks-files](https://pre-commit.com/\#hooks-files). +List of additional ignore codes + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + + + +*Example:* + +``` +[ + "E501" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.flake8.settings.format + + + +Output format. @@ -14706,14 +44382,14 @@ string *Default:* -` "\.js$" ` +` "default" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.eslint.stages +## pre-commit.hooks.flake8.stages @@ -14730,11 +44406,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.types +## pre-commit.hooks.flake8.types @@ -14756,11 +44432,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.types_or +## pre-commit.hooks.flake8.types_or @@ -14777,11 +44453,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.eslint.verbose +## pre-commit.hooks.flake8.verbose @@ -14798,15 +44474,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8 +## pre-commit.hooks.flynt -flake8 hook +flynt hook @@ -14814,11 +44490,11 @@ flake8 hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flake8.enable +## pre-commit.hooks.flynt.enable @@ -14835,11 +44511,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.package +## pre-commit.hooks.flynt.package @@ -14856,11 +44532,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.always_run +## pre-commit.hooks.flynt.always_run @@ -14877,11 +44553,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.args +## pre-commit.hooks.flynt.args @@ -14898,11 +44574,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.description +## pre-commit.hooks.flynt.description @@ -14919,11 +44595,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.entry +## pre-commit.hooks.flynt.entry @@ -14935,11 +44611,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.exclude_types +## pre-commit.hooks.flynt.exclude_types @@ -14956,11 +44632,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.excludes +## pre-commit.hooks.flynt.excludes @@ -14977,11 +44653,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.extraPackages +## pre-commit.hooks.flynt.extraPackages @@ -15001,11 +44677,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.fail_fast +## pre-commit.hooks.flynt.fail_fast @@ -15022,11 +44698,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.files +## pre-commit.hooks.flynt.files @@ -15043,11 +44719,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.language +## pre-commit.hooks.flynt.language @@ -15064,11 +44740,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.name +## pre-commit.hooks.flynt.name @@ -15085,11 +44761,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.pass_filenames +## pre-commit.hooks.flynt.pass_filenames @@ -15106,11 +44782,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.raw +## pre-commit.hooks.flynt.raw @@ -15125,11 +44801,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.require_serial +## pre-commit.hooks.flynt.require_serial @@ -15146,160 +44822,141 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flake8.settings.binPath +## pre-commit.hooks.flynt.settings.aggressive -flake8 binary path. Should be used to specify flake8 binary from your Nix-managed Python environment. +Include conversions with potentially changed behavior. *Type:* -null or string +boolean *Default:* - -``` -"${tools.flake8}/bin/flake8" - -``` +` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flake8.settings.extendIgnore +## pre-commit.hooks.flynt.settings.binPath -List of additional ignore codes +flynt binary path. Can be used to specify the flynt binary from an existing Python environment. *Type:* -list of string +null or string *Default:* -` [ ] ` - - - -*Example:* - -``` -[ - "E501" -] -``` +` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flake8.settings.format +## pre-commit.hooks.flynt.settings.dry-run -Output format. +Do not change files in-place and print diff instead. *Type:* -string +boolean *Default:* -` "default" ` +` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flake8.stages +## pre-commit.hooks.flynt.settings.exclude -Confines the hook to run at a particular stage. +Ignore files with given strings in their absolute path. *Type:* -list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) +list of string *Default:* -` default_stages ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flake8.types +## pre-commit.hooks.flynt.settings.fail-on-change -List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). +Fail when diff is not empty (for linting purposes). *Type:* -list of string +boolean *Default:* - -``` -[ - "file" -] -``` +` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flake8.types_or +## pre-commit.hooks.flynt.settings.line-length -List of file types to run on, where only a single type needs to match. +Convert expressions spanning multiple lines, only if the resulting single line will fit into this line length limit. *Type:* -list of string +null or signed integer *Default:* -` [ ] ` +` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flake8.verbose +## pre-commit.hooks.flynt.settings.no-multiline -forces the output of the hook to be printed even when the hook passes. +Convert only single line expressions. @@ -15312,31 +44969,36 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flynt +## pre-commit.hooks.flynt.settings.quiet -flynt hook +Run without output. *Type:* -submodule +boolean + + + +*Default:* +` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flynt.enable +## pre-commit.hooks.flynt.settings.string -Whether to enable this pre-commit hook. +Interpret the input as a Python code snippet and print the converted version. @@ -15349,36 +45011,36 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flynt.package +## pre-commit.hooks.flynt.settings.transform-concats -An optional package that provides the hook. +Replace string concatenations with f-strings. *Type:* -null or package +boolean *Default:* -` null ` +` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flynt.always_run +## pre-commit.hooks.flynt.settings.verbose -if true this hook will run even if there are no matching files. +Run with verbose output. @@ -15391,73 +45053,62 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flynt.args +## pre-commit.hooks.flynt.stages -List of additional parameters to pass to the hook. +Confines the hook to run at a particular stage. *Type:* -list of string +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) *Default:* -` [ ] ` +` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.description +## pre-commit.hooks.flynt.types -Description of the hook. Used for metadata purposes only. +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -string +list of string *Default:* -` "" ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.flynt.entry - - -The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. - - - -*Type:* -string +``` +[ + "file" +] +``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.exclude_types +## pre-commit.hooks.flynt.types_or -List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). +List of file types to run on, where only a single type needs to match. @@ -15470,60 +45121,52 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.excludes +## pre-commit.hooks.flynt.verbose -Exclude files that were matched by these patterns. +forces the output of the hook to be printed even when the hook passes. *Type:* -list of string +boolean *Default:* -` [ ] ` +` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.extraPackages - +## pre-commit.hooks.golines -Additional packages required to run the hook. -These are propagated to ` enabledPackages ` for constructing developer -environments. +golines hook *Type:* -list of package - - - -*Default:* -` [ ] ` +submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flynt.fail_fast +## pre-commit.hooks.golines.enable -if true pre-commit will stop running hooks if this hook fails. +Whether to enable this pre-commit hook. @@ -15536,181 +45179,181 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.files +## pre-commit.hooks.golines.package -The pattern of files to run on. +An optional package that provides the hook. *Type:* -string +null or package *Default:* -` "" ` +` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.language +## pre-commit.hooks.golines.always_run -The language of the hook - tells pre-commit how to install the hook. +if true this hook will run even if there are no matching files. *Type:* -string +boolean *Default:* -` "system" ` +` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.name +## pre-commit.hooks.golines.args -The name of the hook. Shown during hook execution. +List of additional parameters to pass to the hook. *Type:* -string +list of string *Default:* -internal name, same as ` id ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.pass_filenames +## pre-commit.hooks.golines.description -Whether to pass filenames as arguments to the entry point. +Description of the hook. Used for metadata purposes only. *Type:* -boolean +string *Default:* -` true ` +` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.raw +## pre-commit.hooks.golines.entry -Raw fields of a pre-commit hook. This is mostly for internal use but -exposed in case you need to work around something. - -Default: taken from the other hook options. +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. *Type:* -attribute set of unspecified value +string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.require_serial +## pre-commit.hooks.golines.exclude_types -if true this hook will execute using a single process instead of in parallel. +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). *Type:* -boolean +list of string *Default:* -` false ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.settings.aggressive +## pre-commit.hooks.golines.excludes -Include conversions with potentially changed behavior. +Exclude files that were matched by these patterns. *Type:* -boolean +list of string *Default:* -` false ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.settings.binPath +## pre-commit.hooks.golines.extraPackages -flynt binary path. Can be used to specify the flynt binary from an existing Python environment. +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. *Type:* -null or string +list of package *Default:* -` "\${hooks.flynt.package}/bin/flynt" ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.settings.dry-run +## pre-commit.hooks.golines.fail_fast -Do not change files in-place and print diff instead. +if true pre-commit will stop running hooks if this hook fails. @@ -15723,78 +45366,78 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.settings.exclude +## pre-commit.hooks.golines.files -Ignore files with given strings in their absolute path. +The pattern of files to run on. *Type:* -list of string +string *Default:* -` [ ] ` +` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.settings.fail-on-change +## pre-commit.hooks.golines.language -Fail when diff is not empty (for linting purposes). +The language of the hook - tells pre-commit how to install the hook. *Type:* -boolean +string *Default:* -` true ` +` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.settings.line-length +## pre-commit.hooks.golines.name -Convert expressions spanning multiple lines, only if the resulting single line will fit into this line length limit. +The name of the hook. Shown during hook execution. *Type:* -null or signed integer +string *Default:* -` null ` +internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.settings.no-multiline +## pre-commit.hooks.golines.pass_filenames -Convert only single line expressions. +Whether to pass filenames as arguments to the entry point. @@ -15804,39 +45447,37 @@ boolean *Default:* -` false ` +` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.settings.quiet +## pre-commit.hooks.golines.raw -Run without output. - - +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. -*Type:* -boolean +Default: taken from the other hook options. -*Default:* -` false ` +*Type:* +attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.settings.string +## pre-commit.hooks.golines.require_serial -Interpret the input as a Python code snippet and print the converted version. +if true this hook will execute using a single process instead of in parallel. @@ -15849,53 +45490,37 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.settings.transform-concats +## pre-commit.hooks.golines.settings.flags -Replace string concatenations with f-strings. +Flags passed to golines. See all available [here](https://github.com/segmentio/golines?tab=readme-ov-file\#options) *Type:* -boolean +string *Default:* -` false ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.flynt.settings.verbose - - - -Run with verbose output. - - - -*Type:* -boolean +` "" ` -*Default:* -` false ` +*Example:* +` "-m 120" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.flynt.stages +## pre-commit.hooks.golines.stages @@ -15912,11 +45537,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.types +## pre-commit.hooks.golines.types @@ -15938,11 +45563,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.types_or +## pre-commit.hooks.golines.types_or @@ -15959,11 +45584,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.flynt.verbose +## pre-commit.hooks.golines.verbose @@ -15980,7 +45605,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -15996,7 +45621,7 @@ headache hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -16017,7 +45642,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16038,7 +45663,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16059,7 +45684,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16080,7 +45705,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16101,7 +45726,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16117,7 +45742,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16138,7 +45763,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16159,7 +45784,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16183,7 +45808,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16204,7 +45829,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16225,7 +45850,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16246,7 +45871,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16267,7 +45892,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16288,7 +45913,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16307,7 +45932,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16328,7 +45953,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16349,7 +45974,7 @@ string ` ".header" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -16370,7 +45995,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16396,7 +46021,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16417,7 +46042,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16438,7 +46063,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16454,7 +46079,7 @@ hlint hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -16475,7 +46100,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16496,7 +46121,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16517,7 +46142,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16538,7 +46163,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16559,7 +46184,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16575,7 +46200,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16596,7 +46221,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16617,7 +46242,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16641,7 +46266,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16662,7 +46287,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16683,7 +46308,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16704,7 +46329,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16725,7 +46350,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16746,7 +46371,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16765,7 +46390,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16786,7 +46411,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16807,7 +46432,7 @@ null or path ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -16828,7 +46453,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16854,7 +46479,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16875,7 +46500,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16896,7 +46521,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16912,7 +46537,7 @@ hpack hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -16933,7 +46558,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16954,7 +46579,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16975,7 +46600,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -16996,7 +46621,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17017,7 +46642,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17033,7 +46658,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17054,7 +46679,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17075,7 +46700,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17099,7 +46724,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17120,7 +46745,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17141,7 +46766,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17162,7 +46787,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17183,7 +46808,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17204,7 +46829,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17223,7 +46848,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17244,7 +46869,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17265,7 +46890,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -17286,7 +46911,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17312,7 +46937,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17333,7 +46958,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17354,7 +46979,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17370,7 +46995,7 @@ isort hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -17391,7 +47016,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17412,7 +47037,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17433,7 +47058,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17454,7 +47079,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17475,7 +47100,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17491,7 +47116,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17512,7 +47137,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17533,7 +47158,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17557,7 +47182,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17578,7 +47203,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17599,7 +47224,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17620,7 +47245,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17641,7 +47266,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17662,7 +47287,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17681,7 +47306,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17702,7 +47327,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17723,7 +47348,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -17744,7 +47369,7 @@ one of “”, “black”, “django”, “pycharm”, “google”, “open_s ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -17765,7 +47390,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17791,7 +47416,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17812,7 +47437,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17833,7 +47458,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17849,7 +47474,7 @@ lacheck hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -17870,7 +47495,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17891,7 +47516,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17912,7 +47537,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17933,7 +47558,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17954,7 +47579,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17970,7 +47595,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -17991,7 +47616,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18012,7 +47637,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18036,7 +47661,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18057,7 +47682,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18078,7 +47703,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18099,7 +47724,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18120,7 +47745,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18141,7 +47766,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18160,7 +47785,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18181,7 +47806,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18202,7 +47827,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18228,7 +47853,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18249,7 +47874,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18270,7 +47895,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18286,7 +47911,7 @@ latexindent hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -18307,7 +47932,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18328,7 +47953,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18349,7 +47974,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18370,7 +47995,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18391,7 +48016,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18407,7 +48032,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18428,7 +48053,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18449,7 +48074,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18473,7 +48098,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18494,7 +48119,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18515,7 +48140,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18536,7 +48161,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18557,7 +48182,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18578,7 +48203,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18597,7 +48222,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18618,7 +48243,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18639,7 +48264,7 @@ string ` "--local --silent --overwriteIfDifferent" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -18660,7 +48285,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18686,7 +48311,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18707,7 +48332,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18728,7 +48353,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18744,7 +48369,7 @@ lua-ls hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -18765,7 +48390,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18786,7 +48411,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18807,7 +48432,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18828,7 +48453,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18849,7 +48474,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18865,7 +48490,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18886,7 +48511,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18907,7 +48532,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18931,7 +48556,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18952,7 +48577,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18973,7 +48598,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -18994,7 +48619,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19015,7 +48640,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19036,7 +48661,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19055,7 +48680,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19076,7 +48701,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19097,7 +48722,7 @@ one of “Error”, “Warning”, “Information”, “Hint” ` "Warning" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -19118,7 +48743,7 @@ attribute set ` { } ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -19139,7 +48764,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19165,7 +48790,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19186,7 +48811,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19207,7 +48832,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19223,7 +48848,7 @@ lychee hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -19244,7 +48869,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19265,7 +48890,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19286,7 +48911,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19307,7 +48932,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19328,7 +48953,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19344,7 +48969,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19365,7 +48990,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19386,7 +49011,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19410,7 +49035,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19431,7 +49056,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19452,7 +49077,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19473,7 +49098,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19494,7 +49119,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19515,7 +49140,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19534,7 +49159,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19555,7 +49180,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19576,7 +49201,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -19597,7 +49222,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -19618,7 +49243,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19644,7 +49269,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19665,7 +49290,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19686,7 +49311,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19702,7 +49327,7 @@ markdownlint hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -19723,7 +49348,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19744,7 +49369,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19765,7 +49390,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19786,7 +49411,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19807,7 +49432,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19823,7 +49448,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19844,7 +49469,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19865,7 +49490,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19889,7 +49514,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19910,7 +49535,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19931,7 +49556,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19952,7 +49577,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19973,7 +49598,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -19994,7 +49619,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20013,7 +49638,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20034,7 +49659,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20055,7 +49680,7 @@ attribute set ` { } ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20076,7 +49701,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20102,7 +49727,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20123,7 +49748,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20144,7 +49769,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20160,7 +49785,7 @@ mdl hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20181,7 +49806,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20202,7 +49827,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20223,7 +49848,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20244,7 +49869,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20265,7 +49890,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20281,7 +49906,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20302,7 +49927,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20323,7 +49948,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20347,7 +49972,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20368,7 +49993,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20389,7 +50014,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20410,7 +50035,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20431,7 +50056,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20452,7 +50077,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20471,7 +50096,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20492,7 +50117,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20513,7 +50138,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20534,7 +50159,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20555,7 +50180,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20576,7 +50201,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20597,7 +50222,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20618,7 +50243,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20639,7 +50264,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20660,7 +50285,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20681,7 +50306,7 @@ string ` "default" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20702,7 +50327,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20723,7 +50348,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20744,7 +50369,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20765,7 +50390,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20791,7 +50416,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20812,7 +50437,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20833,7 +50458,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20849,7 +50474,7 @@ mkdocs-linkcheck hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -20870,7 +50495,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20891,7 +50516,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20912,7 +50537,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20933,7 +50558,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20954,7 +50579,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20970,7 +50595,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -20991,7 +50616,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21012,7 +50637,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21036,7 +50661,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21057,7 +50682,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21078,7 +50703,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21099,7 +50724,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21120,7 +50745,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21141,7 +50766,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21160,7 +50785,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21181,7 +50806,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21206,7 +50831,7 @@ null or path ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -21227,7 +50852,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -21248,7 +50873,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -21269,7 +50894,7 @@ one of “get”, “head” ` "get" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -21290,7 +50915,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -21311,7 +50936,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -21332,7 +50957,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21358,7 +50983,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21379,7 +51004,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21400,7 +51025,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21416,7 +51041,7 @@ mypy hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -21437,7 +51062,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21458,7 +51083,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21479,7 +51104,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21500,7 +51125,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21521,7 +51146,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21537,7 +51162,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21558,7 +51183,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21579,7 +51204,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21603,7 +51228,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21624,7 +51249,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21645,7 +51270,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21666,7 +51291,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21687,7 +51312,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21708,7 +51333,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21727,7 +51352,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21748,7 +51373,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21773,7 +51398,7 @@ null or string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -21794,7 +51419,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21820,7 +51445,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21841,7 +51466,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21862,7 +51487,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21878,7 +51503,7 @@ nixfmt (classic) hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -21899,7 +51524,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21920,7 +51545,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21941,7 +51566,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21962,7 +51587,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21983,7 +51608,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -21999,7 +51624,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22020,7 +51645,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22041,7 +51666,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22065,7 +51690,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22086,7 +51711,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22107,7 +51732,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22128,7 +51753,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22149,7 +51774,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22170,7 +51795,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22189,7 +51814,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22210,7 +51835,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22231,7 +51856,7 @@ null or signed integer ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -22252,7 +51877,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22278,7 +51903,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22299,7 +51924,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22320,7 +51945,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22336,7 +51961,7 @@ nixfmt (RFC 166 style) hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -22357,7 +51982,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22378,7 +52003,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22399,7 +52024,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22420,7 +52045,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22441,7 +52066,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22457,7 +52082,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22478,7 +52103,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22499,7 +52124,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22523,7 +52148,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22544,7 +52169,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22565,7 +52190,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22586,7 +52211,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22607,7 +52232,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22628,7 +52253,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22647,7 +52272,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22668,7 +52293,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22689,7 +52314,7 @@ null or signed integer ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -22710,7 +52335,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22736,7 +52361,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22757,7 +52382,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22778,7 +52403,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22794,7 +52419,7 @@ no-commit-to-branch-hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -22815,7 +52440,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22836,7 +52461,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22857,7 +52482,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22878,7 +52503,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22899,7 +52524,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22915,7 +52540,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22936,7 +52561,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22957,7 +52582,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -22981,7 +52606,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23002,7 +52627,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23023,7 +52648,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23044,7 +52669,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23065,7 +52690,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23086,7 +52711,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23105,7 +52730,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23126,7 +52751,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23163,7 +52788,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -23194,7 +52819,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -23215,7 +52840,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23241,7 +52866,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23262,7 +52887,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23283,7 +52908,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23299,7 +52924,7 @@ ormolu hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -23320,7 +52945,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23341,7 +52966,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23362,7 +52987,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23383,7 +53008,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23404,7 +53029,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23420,7 +53045,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23441,7 +53066,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23462,7 +53087,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23486,7 +53111,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23507,7 +53132,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23528,7 +53153,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23549,7 +53174,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23570,7 +53195,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23591,7 +53216,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23610,7 +53235,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23631,7 +53256,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23652,7 +53277,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -23673,7 +53298,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -23694,7 +53319,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23720,7 +53345,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23741,7 +53366,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23762,7 +53387,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23778,7 +53403,7 @@ php-cs-fixer hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -23799,7 +53424,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23820,7 +53445,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23841,7 +53466,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23862,7 +53487,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23883,7 +53508,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23899,7 +53524,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23920,7 +53545,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23941,7 +53566,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23965,7 +53590,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -23986,7 +53611,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24007,7 +53632,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24028,7 +53653,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24049,7 +53674,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24070,7 +53695,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24089,7 +53714,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24110,7 +53735,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24135,7 +53760,7 @@ null or string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -24156,7 +53781,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24182,7 +53807,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24203,7 +53828,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24224,7 +53849,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24240,7 +53865,7 @@ phpcbf hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -24261,7 +53886,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24282,7 +53907,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24303,7 +53928,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24324,7 +53949,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24345,7 +53970,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24361,7 +53986,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24382,7 +54007,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24403,7 +54028,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24427,7 +54052,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24448,7 +54073,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24469,7 +54094,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24490,7 +54115,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24511,7 +54136,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24532,7 +54157,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24551,7 +54176,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24572,7 +54197,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24597,7 +54222,7 @@ null or string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -24618,7 +54243,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24644,7 +54269,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24665,7 +54290,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24686,7 +54311,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24702,7 +54327,7 @@ phpcs hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -24723,7 +54348,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24744,7 +54369,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24765,7 +54390,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24786,7 +54411,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24807,7 +54432,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24823,7 +54448,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24844,7 +54469,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24865,7 +54490,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24889,7 +54514,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24910,7 +54535,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24931,7 +54556,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24952,7 +54577,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24973,7 +54598,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -24994,7 +54619,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25013,7 +54638,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25034,7 +54659,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25059,7 +54684,7 @@ null or string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -25080,7 +54705,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25106,7 +54731,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25127,7 +54752,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25148,7 +54773,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25164,7 +54789,7 @@ phpstan hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -25185,7 +54810,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25206,7 +54831,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25227,7 +54852,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25248,7 +54873,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25269,7 +54894,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25285,7 +54910,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25306,7 +54931,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25327,7 +54952,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25351,7 +54976,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25372,7 +54997,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25393,7 +55018,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25414,7 +55039,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25435,7 +55060,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25456,7 +55081,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25475,7 +55100,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25496,7 +55121,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25521,7 +55146,7 @@ null or string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -25542,7 +55167,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25568,7 +55193,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25589,7 +55214,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25610,7 +55235,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25626,7 +55251,7 @@ prettier hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -25647,7 +55272,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25668,7 +55293,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25689,7 +55314,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25710,7 +55335,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25731,7 +55356,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25747,7 +55372,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25768,7 +55393,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25789,7 +55414,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25813,7 +55438,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25834,7 +55459,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25855,7 +55480,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25876,7 +55501,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25897,7 +55522,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25918,7 +55543,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25937,7 +55562,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25958,7 +55583,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -25979,7 +55604,7 @@ one of “always”, “avoid” ` "always" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26004,7 +55629,7 @@ null or path ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26025,7 +55650,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26046,7 +55671,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26067,7 +55692,7 @@ string ` "./node_modules/.cache/prettier/.prettier-cache" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26088,7 +55713,7 @@ null or one of “metadata”, “content” ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26109,7 +55734,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26130,7 +55755,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26151,7 +55776,7 @@ one of “cli-override”, “file-override”, “prefer-file” ` "cli-override" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26172,7 +55797,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26193,7 +55818,7 @@ one of “auto”, “off” ` "auto" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26214,7 +55839,7 @@ one of “lf”, “crlf”, “cr”, “auto” ` "lf" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26235,7 +55860,7 @@ one of “css”, “strict”, “ignore” ` "css" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26258,7 +55883,7 @@ list of path ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26279,7 +55904,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26300,7 +55925,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26321,7 +55946,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26342,7 +55967,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26368,7 +55993,7 @@ one of “silent”, “error”, “warn”, “log”, “debug” ` "debug" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26389,7 +56014,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26410,7 +56035,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26431,7 +56056,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26452,7 +56077,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26473,7 +56098,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26494,7 +56119,7 @@ one of “”, “flow”, “babel”, “babel-flow”, “babel-ts”, “typ ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26515,7 +56140,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26536,7 +56161,7 @@ signed integer ` 80 ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26557,7 +56182,7 @@ one of “always”, “never”, “preserve” ` "preserve" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26578,7 +56203,7 @@ one of “as-needed”, “consistent”, “preserve” ` "as-needed" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26599,7 +56224,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26620,7 +56245,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26641,7 +56266,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26662,7 +56287,7 @@ signed integer ` 2 ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26683,7 +56308,7 @@ one of “all”, “es5”, “none” ` "all" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26704,7 +56329,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26725,7 +56350,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26746,7 +56371,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26767,7 +56392,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26788,7 +56413,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -26814,7 +56439,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -26835,7 +56460,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -26856,7 +56481,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -26872,7 +56497,7 @@ psalm hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -26893,7 +56518,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -26914,7 +56539,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -26935,7 +56560,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -26956,7 +56581,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -26977,7 +56602,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -26993,7 +56618,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27014,7 +56639,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27035,7 +56660,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27059,7 +56684,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27080,7 +56705,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27101,7 +56726,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27122,7 +56747,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27143,7 +56768,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27164,7 +56789,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27183,7 +56808,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27204,7 +56829,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27229,7 +56854,7 @@ null or string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -27250,7 +56875,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27276,7 +56901,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27297,7 +56922,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27318,7 +56943,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27334,7 +56959,7 @@ pylint hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -27355,7 +56980,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27376,7 +57001,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27397,7 +57022,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27418,7 +57043,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27439,7 +57064,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27455,7 +57080,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27476,7 +57101,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27497,7 +57122,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27521,7 +57146,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27542,7 +57167,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27563,7 +57188,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27584,7 +57209,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27605,7 +57230,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27626,7 +57251,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27645,7 +57270,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27666,7 +57291,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27691,7 +57316,7 @@ null or string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -27712,7 +57337,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -27733,7 +57358,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -27754,7 +57379,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -27780,11 +57405,473 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pylint.types_or + + + +List of file types to run on, where only a single type needs to match. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pylint.verbose + + + +forces the output of the hook to be printed even when the hook passes. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright + + + +pyright hook + + + +*Type:* +submodule + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.pyright.enable + + + +Whether to enable this pre-commit hook. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.package + + + +An optional package that provides the hook. + + + +*Type:* +null or package + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.always_run + + + +if true this hook will run even if there are no matching files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.args + + + +List of additional parameters to pass to the hook. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.description + + + +Description of the hook. Used for metadata purposes only. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.entry + + + +The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. + + + +*Type:* +string + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.exclude_types + + + +List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.excludes + + + +Exclude files that were matched by these patterns. + + + +*Type:* +list of string + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.extraPackages + + + +Additional packages required to run the hook. + +These are propagated to ` enabledPackages ` for constructing developer +environments. + + + +*Type:* +list of package + + + +*Default:* +` [ ] ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.fail_fast + + + +if true pre-commit will stop running hooks if this hook fails. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.files + + + +The pattern of files to run on. + + + +*Type:* +string + + + +*Default:* +` "" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.language + + + +The language of the hook - tells pre-commit how to install the hook. + + + +*Type:* +string + + + +*Default:* +` "system" ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.name + + + +The name of the hook. Shown during hook execution. + + + +*Type:* +string + + + +*Default:* +internal name, same as ` id ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.pass_filenames + + + +Whether to pass filenames as arguments to the entry point. + + + +*Type:* +boolean + + + +*Default:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.raw + + + +Raw fields of a pre-commit hook. This is mostly for internal use but +exposed in case you need to work around something. + +Default: taken from the other hook options. + + + +*Type:* +attribute set of unspecified value + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.require_serial + + + +if true this hook will execute using a single process instead of in parallel. + + + +*Type:* +boolean + + + +*Default:* +` false ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.settings.binPath + + + +Pyright binary path. Should be used to specify the pyright executable in an environment containing your typing stubs. + + + +*Type:* +null or string + + + +*Default:* + +``` +"${tools.pyright}/bin/pyright" + +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.pyright.stages + + + +Confines the hook to run at a particular stage. + + + +*Type:* +list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) + + + +*Default:* +` default_stages ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.pyright.types + + + +List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). + + + +*Type:* +list of string + + + +*Default:* + +``` +[ + "file" +] +``` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pylint.types_or +## pre-commit.hooks.pyright.types_or @@ -27801,11 +57888,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pylint.verbose +## pre-commit.hooks.pyright.verbose @@ -27822,15 +57909,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright +## pre-commit.hooks.pyupgrade -pyright hook +pyupgrade hook @@ -27838,11 +57925,11 @@ pyright hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.pyright.enable +## pre-commit.hooks.pyupgrade.enable @@ -27859,11 +57946,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.package +## pre-commit.hooks.pyupgrade.package @@ -27880,11 +57967,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.always_run +## pre-commit.hooks.pyupgrade.always_run @@ -27901,11 +57988,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.args +## pre-commit.hooks.pyupgrade.args @@ -27922,11 +58009,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.description +## pre-commit.hooks.pyupgrade.description @@ -27943,11 +58030,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.entry +## pre-commit.hooks.pyupgrade.entry @@ -27959,11 +58046,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.exclude_types +## pre-commit.hooks.pyupgrade.exclude_types @@ -27980,11 +58067,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.excludes +## pre-commit.hooks.pyupgrade.excludes @@ -28001,11 +58088,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.extraPackages +## pre-commit.hooks.pyupgrade.extraPackages @@ -28025,11 +58112,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.fail_fast +## pre-commit.hooks.pyupgrade.fail_fast @@ -28046,11 +58133,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.files +## pre-commit.hooks.pyupgrade.files @@ -28067,11 +58154,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.language +## pre-commit.hooks.pyupgrade.language @@ -28088,11 +58175,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.name +## pre-commit.hooks.pyupgrade.name @@ -28109,11 +58196,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.pass_filenames +## pre-commit.hooks.pyupgrade.pass_filenames @@ -28130,11 +58217,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.raw +## pre-commit.hooks.pyupgrade.raw @@ -28149,11 +58236,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.require_serial +## pre-commit.hooks.pyupgrade.require_serial @@ -28170,15 +58257,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.settings.binPath +## pre-commit.hooks.pyupgrade.settings.binPath -Pyright binary path. Should be used to specify the pyright executable in an environment containing your typing stubs. +pyupgrade binary path. Should be used to specify the pyupgrade binary from your Nix-managed Python environment. @@ -28190,16 +58277,16 @@ null or string *Default:* ``` -"${tools.pyright}/bin/pyright" +"${tools.pyupgrade}/bin/pyupgrade" ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.pyright.stages +## pre-commit.hooks.pyupgrade.stages @@ -28216,11 +58303,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.types +## pre-commit.hooks.pyupgrade.types @@ -28242,11 +58329,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.types_or +## pre-commit.hooks.pyupgrade.types_or @@ -28263,11 +58350,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyright.verbose +## pre-commit.hooks.pyupgrade.verbose @@ -28284,15 +58371,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade +## pre-commit.hooks.reuse -pyupgrade hook +reuse hook @@ -28300,11 +58387,11 @@ pyupgrade hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.pyupgrade.enable +## pre-commit.hooks.reuse.enable @@ -28321,11 +58408,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.package +## pre-commit.hooks.reuse.package @@ -28342,11 +58429,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.always_run +## pre-commit.hooks.reuse.always_run @@ -28363,11 +58450,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.args +## pre-commit.hooks.reuse.args @@ -28384,11 +58471,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.description +## pre-commit.hooks.reuse.description @@ -28405,11 +58492,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.entry +## pre-commit.hooks.reuse.entry @@ -28421,11 +58508,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.exclude_types +## pre-commit.hooks.reuse.exclude_types @@ -28442,11 +58529,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.excludes +## pre-commit.hooks.reuse.excludes @@ -28463,11 +58550,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.extraPackages +## pre-commit.hooks.reuse.extraPackages @@ -28487,11 +58574,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.fail_fast +## pre-commit.hooks.reuse.fail_fast @@ -28508,11 +58595,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.files +## pre-commit.hooks.reuse.files @@ -28529,11 +58616,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.language +## pre-commit.hooks.reuse.language @@ -28550,11 +58637,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.name +## pre-commit.hooks.reuse.name @@ -28571,11 +58658,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.pass_filenames +## pre-commit.hooks.reuse.pass_filenames @@ -28592,11 +58679,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.raw +## pre-commit.hooks.reuse.raw @@ -28611,11 +58698,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.require_serial +## pre-commit.hooks.reuse.require_serial @@ -28632,36 +58719,37 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.settings.binPath +## pre-commit.hooks.reuse.settings.flags -pyupgrade binary path. Should be used to specify the pyupgrade binary from your Nix-managed Python environment. +Flags passed to reuse. For available options run ‘reuse lint --help’ *Type:* -null or string +string *Default:* +` "" ` -``` -"${tools.pyupgrade}/bin/pyupgrade" -``` + +*Example:* +` "--json" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.pyupgrade.stages +## pre-commit.hooks.reuse.stages @@ -28678,11 +58766,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.types +## pre-commit.hooks.reuse.types @@ -28704,11 +58792,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.types_or +## pre-commit.hooks.reuse.types_or @@ -28725,11 +58813,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.pyupgrade.verbose +## pre-commit.hooks.reuse.verbose @@ -28746,15 +58834,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse +## pre-commit.hooks.revive -reuse hook +revive hook @@ -28762,11 +58850,11 @@ reuse hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.reuse.enable +## pre-commit.hooks.revive.enable @@ -28783,11 +58871,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.package +## pre-commit.hooks.revive.package @@ -28804,11 +58892,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.always_run +## pre-commit.hooks.revive.always_run @@ -28825,11 +58913,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.args +## pre-commit.hooks.revive.args @@ -28846,11 +58934,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.description +## pre-commit.hooks.revive.description @@ -28867,11 +58955,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.entry +## pre-commit.hooks.revive.entry @@ -28883,11 +58971,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.exclude_types +## pre-commit.hooks.revive.exclude_types @@ -28904,11 +58992,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.excludes +## pre-commit.hooks.revive.excludes @@ -28925,11 +59013,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.extraPackages +## pre-commit.hooks.revive.extraPackages @@ -28949,11 +59037,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.fail_fast +## pre-commit.hooks.revive.fail_fast @@ -28970,11 +59058,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.files +## pre-commit.hooks.revive.files @@ -28991,11 +59079,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.language +## pre-commit.hooks.revive.language @@ -29012,11 +59100,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.name +## pre-commit.hooks.revive.name @@ -29033,11 +59121,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.pass_filenames +## pre-commit.hooks.revive.pass_filenames @@ -29054,11 +59142,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.raw +## pre-commit.hooks.revive.raw @@ -29073,11 +59161,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.require_serial +## pre-commit.hooks.revive.require_serial @@ -29094,15 +59182,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.settings.flags +## pre-commit.hooks.revive.settings.configPath -Flags passed to reuse. For available options run ‘reuse lint --help’ +Path to the configuration TOML file. @@ -29114,17 +59202,12 @@ string *Default:* ` "" ` - - -*Example:* -` "--json" ` - *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.reuse.stages +## pre-commit.hooks.revive.stages @@ -29141,11 +59224,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.types +## pre-commit.hooks.revive.types @@ -29167,11 +59250,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.types_or +## pre-commit.hooks.revive.types_or @@ -29188,11 +59271,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.reuse.verbose +## pre-commit.hooks.revive.verbose @@ -29209,15 +59292,15 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive +## pre-commit.hooks.ripsecrets -revive hook +ripsecrets hook @@ -29225,11 +59308,11 @@ revive hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.revive.enable +## pre-commit.hooks.ripsecrets.enable @@ -29246,11 +59329,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.package +## pre-commit.hooks.ripsecrets.package @@ -29267,11 +59350,11 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.always_run +## pre-commit.hooks.ripsecrets.always_run @@ -29288,11 +59371,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.args +## pre-commit.hooks.ripsecrets.args @@ -29309,11 +59392,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.description +## pre-commit.hooks.ripsecrets.description @@ -29330,11 +59413,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.entry +## pre-commit.hooks.ripsecrets.entry @@ -29346,11 +59429,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.exclude_types +## pre-commit.hooks.ripsecrets.exclude_types @@ -29367,11 +59450,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.excludes +## pre-commit.hooks.ripsecrets.excludes @@ -29388,11 +59471,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.extraPackages +## pre-commit.hooks.ripsecrets.extraPackages @@ -29412,11 +59495,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.fail_fast +## pre-commit.hooks.ripsecrets.fail_fast @@ -29433,11 +59516,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.files +## pre-commit.hooks.ripsecrets.files @@ -29454,11 +59537,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.language +## pre-commit.hooks.ripsecrets.language @@ -29475,11 +59558,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.name +## pre-commit.hooks.ripsecrets.name @@ -29496,11 +59579,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.pass_filenames +## pre-commit.hooks.ripsecrets.pass_filenames @@ -29517,11 +59600,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.raw +## pre-commit.hooks.ripsecrets.raw @@ -29536,11 +59619,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.require_serial +## pre-commit.hooks.ripsecrets.require_serial @@ -29557,32 +59640,32 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.settings.configPath +## pre-commit.hooks.ripsecrets.settings.additionalPatterns -Path to the configuration TOML file. +Additional regex patterns used to find secrets. If there is a matching group in the regex the matched group will be tested for randomness before being reported as a secret. *Type:* -string +list of string *Default:* -` "" ` +` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.revive.stages +## pre-commit.hooks.ripsecrets.stages @@ -29599,11 +59682,11 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.types +## pre-commit.hooks.ripsecrets.types @@ -29625,11 +59708,11 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.types_or +## pre-commit.hooks.ripsecrets.types_or @@ -29646,11 +59729,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.revive.verbose +## pre-commit.hooks.ripsecrets.verbose @@ -29667,15 +59750,22 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets +## pre-commit.hooks.rustfmt -ripsecrets hook +Additional rustfmt settings + +Override the ` rustfmt ` and ` cargo ` packages by setting ` hooks.rustfmt.packageOverrides `. + +``` +hooks.rustfmt.packageOverrides.cargo = pkgs.cargo; +hooks.rustfmt.packageOverrides.rustfmt = pkgs.rustfmt; +``` @@ -29683,11 +59773,11 @@ ripsecrets hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.ripsecrets.enable +## pre-commit.hooks.rustfmt.enable @@ -29704,11 +59794,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.package +## pre-commit.hooks.rustfmt.package @@ -29725,11 +59815,43 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.always_run +## pre-commit.hooks.rustfmt.packageOverrides.cargo + + + +The cargo package to use. + + + +*Type:* +package + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.rustfmt.packageOverrides.rustfmt + + + +The rustfmt package to use. + + + +*Type:* +package + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.rustfmt.always_run @@ -29746,11 +59868,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.args +## pre-commit.hooks.rustfmt.args @@ -29767,11 +59889,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.description +## pre-commit.hooks.rustfmt.description @@ -29788,11 +59910,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.entry +## pre-commit.hooks.rustfmt.entry @@ -29804,11 +59926,11 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.exclude_types +## pre-commit.hooks.rustfmt.exclude_types @@ -29825,11 +59947,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.excludes +## pre-commit.hooks.rustfmt.excludes @@ -29846,11 +59968,11 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.extraPackages +## pre-commit.hooks.rustfmt.extraPackages @@ -29870,11 +59992,11 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.fail_fast +## pre-commit.hooks.rustfmt.fail_fast @@ -29891,11 +60013,11 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.files +## pre-commit.hooks.rustfmt.files @@ -29912,11 +60034,11 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.language +## pre-commit.hooks.rustfmt.language @@ -29933,11 +60055,11 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.name +## pre-commit.hooks.rustfmt.name @@ -29954,11 +60076,11 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.pass_filenames +## pre-commit.hooks.rustfmt.pass_filenames @@ -29975,11 +60097,11 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.raw +## pre-commit.hooks.rustfmt.raw @@ -29994,11 +60116,11 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.require_serial +## pre-commit.hooks.rustfmt.require_serial @@ -30015,88 +60137,20 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.ripsecrets.settings.additionalPatterns - - - -Additional regex patterns used to find secrets. If there is a matching group in the regex the matched group will be tested for randomness before being reported as a secret. - - - -*Type:* -list of string - - - -*Default:* -` [ ] ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.ripsecrets.stages - - - -Confines the hook to run at a particular stage. - - - -*Type:* -list of (one of “commit-msg”, “post-checkout”, “post-commit”, “post-merge”, “post-rewrite”, “pre-commit”, “pre-merge-commit”, “pre-push”, “pre-rebase”, “prepare-commit-msg”, “manual”, “commit”, “push”, “merge-commit”) - - - -*Default:* -` default_stages ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) -## pre-commit.hooks.ripsecrets.types +## pre-commit.hooks.rustfmt.settings.package -List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). +Package(s) to check *Type:* -list of string - - - -*Default:* - -``` -[ - "file" -] -``` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.ripsecrets.types_or - - - -List of file types to run on, where only a single type needs to match. - - - -*Type:* -list of string +list of string matching the pattern \[]\[\*?!0-9A-Za-z_-]+ @@ -30104,15 +60158,15 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.ripsecrets.verbose +## pre-commit.hooks.rustfmt.settings.all -forces the output of the hook to be printed even when the hook passes. +Format all packages, and also their local path-based dependencies @@ -30122,41 +60176,18 @@ boolean *Default:* -` false ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.rustfmt - - - -Additional rustfmt settings - -Override the ` rustfmt ` and ` cargo ` packages by setting ` hooks.rustfmt.packageOverrides `. - -``` -hooks.rustfmt.packageOverrides.cargo = pkgs.cargo; -hooks.rustfmt.packageOverrides.rustfmt = pkgs.rustfmt; -``` - - - -*Type:* -submodule +` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.rustfmt.enable +## pre-commit.hooks.rustfmt.settings.check -Whether to enable this pre-commit hook. +Run rustfmt in check mode @@ -30169,213 +60200,95 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.rustfmt.package - - - -An optional package that provides the hook. - - - -*Type:* -null or package - - - -*Default:* -` null ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.rustfmt.packageOverrides.cargo - - - -The cargo package to use. - - - -*Type:* -package - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.rustfmt.packageOverrides.rustfmt +## pre-commit.hooks.rustfmt.settings.color -The rustfmt package to use. +Coloring the output *Type:* -package - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) - - - -## pre-commit.hooks.rustfmt.always_run - - - -if true this hook will run even if there are no matching files. - - - -*Type:* -boolean - - - -*Default:* -` false ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.rustfmt.args - - - -List of additional parameters to pass to the hook. - - - -*Type:* -list of string - - - -*Default:* -` [ ] ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.rustfmt.description - - - -Description of the hook. Used for metadata purposes only. - - - -*Type:* -string +one of “auto”, “always”, “never” *Default:* -` "" ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.rustfmt.entry - - - -The entry point - the executable to run. ` entry ` can also contain arguments that will not be overridden, such as ` entry = "autopep8 -i"; `. - - - -*Type:* -string +` "always" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.rustfmt.exclude_types +## pre-commit.hooks.rustfmt.settings.config -List of file types to exclude. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types). +Override configuration values *Type:* -list of string +attribute set *Default:* -` [ ] ` +` { } ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.rustfmt.excludes +## pre-commit.hooks.rustfmt.settings.config-path -Exclude files that were matched by these patterns. +Path to rustfmt.toml config file *Type:* -list of string +null or string *Default:* -` [ ] ` +` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.rustfmt.extraPackages +## pre-commit.hooks.rustfmt.settings.emit -Additional packages required to run the hook. - -These are propagated to ` enabledPackages ` for constructing developer -environments. +What data to emit and how *Type:* -list of package +null or one of “files”, “stdout” *Default:* -` [ ] ` +` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.rustfmt.fail_fast - - - -if true pre-commit will stop running hooks if this hook fails. +## pre-commit.hooks.rustfmt.settings.files-with-diff @@ -30388,118 +60301,57 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.rustfmt.files - +## pre-commit.hooks.rustfmt.settings.manifest-path -The pattern of files to run on. - - - -*Type:* -string - - - -*Default:* -` "" ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.rustfmt.language - - - -The language of the hook - tells pre-commit how to install the hook. - - -*Type:* -string - - - -*Default:* -` "system" ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.rustfmt.name - - - -The name of the hook. Shown during hook execution. +Path to Cargo.toml *Type:* -string +null or string *Default:* -internal name, same as ` id ` +` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.rustfmt.pass_filenames +## pre-commit.hooks.rustfmt.settings.message-format -Whether to pass filenames as arguments to the entry point. +The output format of diagnostic messages *Type:* -boolean +null or one of “human”, “short” *Default:* -` true ` - -*Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) - - - -## pre-commit.hooks.rustfmt.raw - - - -Raw fields of a pre-commit hook. This is mostly for internal use but -exposed in case you need to work around something. - -Default: taken from the other hook options. - - - -*Type:* -attribute set of unspecified value +` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) -## pre-commit.hooks.rustfmt.require_serial +## pre-commit.hooks.rustfmt.settings.verbose -if true this hook will execute using a single process instead of in parallel. +Use verbose output @@ -30512,7 +60364,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -30533,7 +60385,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30559,7 +60411,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30580,7 +60432,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30601,7 +60453,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30617,7 +60469,7 @@ shfmt hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -30638,7 +60490,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30659,7 +60511,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30680,7 +60532,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30701,7 +60553,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30722,7 +60574,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30738,7 +60590,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30759,7 +60611,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30780,7 +60632,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30804,7 +60656,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30825,7 +60677,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30846,7 +60698,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30867,7 +60719,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30888,7 +60740,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30909,7 +60761,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30928,7 +60780,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30949,7 +60801,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -30970,7 +60822,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -30991,7 +60843,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31017,7 +60869,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31038,7 +60890,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31059,7 +60911,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31075,7 +60927,7 @@ sort-file-contents-hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -31096,7 +60948,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31117,7 +60969,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31138,7 +60990,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31159,7 +61011,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31180,7 +61032,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31196,7 +61048,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31217,7 +61069,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31238,7 +61090,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31262,7 +61114,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31283,7 +61135,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31304,7 +61156,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31325,7 +61177,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31346,7 +61198,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31367,7 +61219,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31386,7 +61238,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31407,7 +61259,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31428,7 +61280,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -31449,7 +61301,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -31470,7 +61322,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31496,7 +61348,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31517,7 +61369,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31538,7 +61390,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31554,7 +61406,7 @@ statix hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -31575,7 +61427,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31596,7 +61448,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31617,7 +61469,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31638,7 +61490,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31659,7 +61511,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31675,7 +61527,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31696,7 +61548,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31717,7 +61569,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31741,7 +61593,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31762,7 +61614,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31783,7 +61635,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31804,7 +61656,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31825,7 +61677,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31846,7 +61698,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31865,7 +61717,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31886,7 +61738,28 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) + + + +## pre-commit.hooks.statix.settings.config + + + +Path to statix.toml or its parent directory. + + + +*Type:* +null or string + + + +*Default:* +` null ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -31907,7 +61780,7 @@ one of “stderr”, “errfmt”, “json” ` "errfmt" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -31939,7 +61812,33 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) + + + +## pre-commit.hooks.statix.settings.unrestricted + + + +Don’t respect .gitignore files. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + +*Declared by:* + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -31960,7 +61859,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -31986,7 +61885,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32007,7 +61906,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32028,7 +61927,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32059,7 +61958,7 @@ hooks.treefmt.packageOverrides.treefmt = pkgs.treefmt; submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -32080,7 +61979,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32101,7 +62000,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32117,7 +62016,7 @@ The treefmt package to use package *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -32138,7 +62037,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32159,7 +62058,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32180,7 +62079,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32196,7 +62095,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32217,7 +62116,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32238,7 +62137,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32262,7 +62161,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32283,7 +62182,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32304,7 +62203,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32325,7 +62224,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32346,7 +62245,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32367,7 +62266,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32386,7 +62285,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32407,7 +62306,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32428,7 +62327,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -32449,7 +62348,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32475,7 +62374,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32496,7 +62395,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32517,7 +62416,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32533,7 +62432,7 @@ typos hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -32554,7 +62453,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32575,7 +62474,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32596,7 +62495,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32617,7 +62516,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32638,7 +62537,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32654,7 +62553,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32675,7 +62574,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32696,7 +62595,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32720,7 +62619,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32741,7 +62640,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32762,7 +62661,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32783,7 +62682,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32804,7 +62703,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32825,7 +62724,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32844,7 +62743,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32865,7 +62764,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -32886,7 +62785,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -32907,7 +62806,7 @@ one of “auto”, “always”, “never” ` "auto" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -32933,7 +62832,7 @@ string ` ".typos.toml" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -32971,7 +62870,7 @@ string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -32992,7 +62891,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33018,7 +62917,7 @@ string ` "*.nix" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33039,7 +62938,7 @@ one of “silent”, “brief”, “long”, “json” ` "long" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33060,7 +62959,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33092,7 +62991,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33113,7 +63012,7 @@ one of “en”, “en-us”, “en-gb”, “en-ca”, “en-au” ` "en" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33134,7 +63033,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33155,7 +63054,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33176,7 +63075,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33197,7 +63096,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33218,7 +63117,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33239,7 +63138,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33260,7 +63159,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33286,7 +63185,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33307,7 +63206,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33328,7 +63227,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33344,7 +63243,7 @@ vale hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33365,7 +63264,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33386,7 +63285,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33407,7 +63306,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33428,7 +63327,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33449,7 +63348,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33465,7 +63364,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33486,7 +63385,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33507,7 +63406,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33531,7 +63430,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33552,7 +63451,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33573,7 +63472,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33594,7 +63493,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33615,7 +63514,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33636,7 +63535,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33655,7 +63554,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33676,7 +63575,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33697,7 +63596,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33730,7 +63629,7 @@ string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33751,7 +63650,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33772,7 +63671,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33798,7 +63697,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33819,7 +63718,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33840,7 +63739,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33856,7 +63755,7 @@ yamlfmt hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -33877,7 +63776,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33898,7 +63797,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33919,7 +63818,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33940,7 +63839,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33961,7 +63860,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33977,7 +63876,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -33998,7 +63897,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34019,7 +63918,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34043,7 +63942,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34064,7 +63963,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34085,7 +63984,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34106,7 +64005,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34127,7 +64026,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34148,7 +64047,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34167,7 +64066,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34188,7 +64087,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34214,7 +64113,7 @@ string ` ".yamlfmt" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -34235,7 +64134,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34261,7 +64160,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34282,7 +64181,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34303,7 +64202,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34319,7 +64218,7 @@ yamllint hook submodule *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -34340,7 +64239,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34361,7 +64260,7 @@ null or package ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34382,7 +64281,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34403,7 +64302,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34424,7 +64323,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34440,7 +64339,7 @@ The entry point - the executable to run. ` entry ` can also contain arguments th string *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34461,7 +64360,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34482,7 +64381,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34506,7 +64405,7 @@ list of package ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34527,7 +64426,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34548,7 +64447,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34569,7 +64468,7 @@ string ` "system" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34590,7 +64489,7 @@ string internal name, same as ` id ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34611,7 +64510,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34630,7 +64529,7 @@ Default: taken from the other hook options. attribute set of unspecified value *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34651,7 +64550,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34677,7 +64576,7 @@ string ` "{extends: relaxed, rules: {line-length: {max: 120}}}" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -34698,7 +64597,7 @@ string ` "" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -34734,7 +64633,7 @@ string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -34755,7 +64654,7 @@ one of “parsable”, “standard”, “colored”, “github”, “auto” ` "auto" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -34776,7 +64675,7 @@ one of “default”, “relaxed” ` "default" ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -34797,7 +64696,7 @@ boolean ` true ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -34818,7 +64717,7 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos ` default_stages ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34844,7 +64743,7 @@ list of string ``` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34865,7 +64764,7 @@ list of string ` [ ] ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34886,7 +64785,7 @@ boolean ` false ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hook.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hook.nix) @@ -34902,7 +64801,7 @@ A bash snippet that installs nix-pre-commit-hooks in the current directory string *(read only)* *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) @@ -34928,7 +64827,7 @@ path ` gitignoreSource config.src ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) @@ -34947,10 +64846,10 @@ package *(read only)* *Default:* -` "" ` +` ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) @@ -34971,7 +64870,7 @@ null or string ` null ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/hooks.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/hooks.nix) @@ -34991,7 +64890,7 @@ sources. path *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix) @@ -35014,7 +64913,7 @@ lazy attribute set of (null or package) ` git-hooks.nix-pkgs.callPackage tools-dot-nix { inherit (pkgs) system; } ` *Declared by:* - - [https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/pre-commit-hooks.nix/blob/master/modules/pre-commit.nix) + - [https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix](https://github.com/cachix/git-hooks.nix/blob/master/modules/pre-commit.nix)