Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/prek-consts/src/env_vars.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl EnvVars {
"PREK_INTERNAL__RUN_ORIGINAL_PRE_COMMIT";
pub const PREK_INTERNAL__GO_BINARY_NAME: &'static str = "PREK_INTERNAL__GO_BINARY_NAME";
pub const PREK_INTERNAL__NODE_BINARY_NAME: &'static str = "PREK_INTERNAL__NODE_BINARY_NAME";
pub const PREK_INTERNAL__RUST_BINARY_NAME: &'static str = "PREK_INTERNAL__RUST_BINARY_NAME";
pub const PREK_INTERNAL__RUSTUP_BINARY_NAME: &'static str = "PREK_INTERNAL__RUSTUP_BINARY_NAME";
pub const PREK_GENERATE: &'static str = "PREK_GENERATE";

// Python & uv related
Expand Down
2 changes: 1 addition & 1 deletion docs/todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The original pre-commit supports hooks written in 10+ languages. The table below
| python ⭐ | ✅ Supported | — | `prek` supports automatic version management of Python toolchains. |
| node | ✅ Supported | — | |
| golang | ✅ Supported | — | |
| rust | ✅ Supported | — | |
| lua | ✅ Supported | — | |
| system | ✅ Supported | — | |
| script | ✅ Supported | — | |
Expand All @@ -24,7 +25,6 @@ The original pre-commit supports hooks written in 10+ languages. The table below
| fail | ✅ Supported | — | |
| deno ⭐ | 🚧 WIP | — | Experimental support in `prek`; upstream `pre-commit` lacks a native `deno` language. |
| ruby | 🚧 WIP | [#43](https://github.com/j178/prek/issues/43) | `prek` does not currently support downloading new Ruby versions, but can use multiple simultaneously installed interpreters |
| rust | 🚧 Planned | [#44](https://github.com/j178/prek/issues/44) | |
| conda | 🚧 Planned | [#52](https://github.com/j178/prek/issues/52) | |
| coursier | 🚧 Planned | [#53](https://github.com/j178/prek/issues/53) | |
| dart | 🚧 Planned | [#51](https://github.com/j178/prek/issues/51) | |
Expand Down
2 changes: 1 addition & 1 deletion src/languages/golang/golang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl LanguageImpl for Golang {
let progress = reporter.on_install_start(&hook);

// 1. Install Go
let go_dir = store.tools_path(crate::store::ToolBucket::Go);
let go_dir = store.tools_path(ToolBucket::Go);
let installer = GoInstaller::new(go_dir);

let (version, allows_download) = match &hook.language_request {
Expand Down
Loading