Skip to content

Commit

Permalink
remove boolean annotations from toolkit (#59)
Browse files Browse the repository at this point in the history
## Description of changes
boolean annotations have been removed for quite some time now.
  • Loading branch information
amtoine authored Apr 20, 2024
1 parent 995e756 commit dbb9be7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions toolkit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def pretty-print-command [] {

# check standard code formatting and apply the changes
export def fmt [
--check: bool # do not apply the format changes, only check the syntax
--verbose: bool # print extra information about the command's progress
--check # do not apply the format changes, only check the syntax
--verbose # print extra information about the command's progress
] {
if $verbose {
print $"running ('toolkit fmt' | pretty-print-command)"
Expand All @@ -37,7 +37,7 @@ export def fmt [
#
# > it is important to make `clippy` happy :relieved:
export def clippy [
--verbose: bool # print extra information about the command's progress
--verbose # print extra information about the command's progress
] {
if $verbose {
print $"running ('toolkit clippy' | pretty-print-command)"
Expand Down Expand Up @@ -65,7 +65,7 @@ export def clippy [

# check that all the tests pass
export def test [
--fast: bool # use the "nextext" `cargo` subcommand to speed up the tests (see [`cargo-nextest`](https://nexte.st/) and [`nextest-rs/nextest`](https://github.com/nextest-rs/nextest))
--fast # use the "nextext" `cargo` subcommand to speed up the tests (see [`cargo-nextest`](https://nexte.st/) and [`nextest-rs/nextest`](https://github.com/nextest-rs/nextest))
] {
if $fast {
cargo nextest run --all
Expand Down

0 comments on commit dbb9be7

Please sign in to comment.