Skip to content

Commit 1512922

Browse files
committed
Tweaks with accordance to user experience
1 parent f97b494 commit 1512922

4 files changed

Lines changed: 14 additions & 11 deletions

File tree

.githooks/pre-push

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ if ! cargo fmt --all -- --check; then
2020
fi
2121

2222
# Typo check
23-
if ! typos; then
24-
echo "❌ Spelling mistakes found (run 'typos --write-changes')"
25-
exit 4
26-
fi
23+
# TODO(template) enable if sensible
24+
# if ! typos; then
25+
# echo "❌ Spelling mistakes found (run 'typos --write-changes')"
26+
# exit 4
27+
# fi
2728

2829
# Linting
2930
if ! cargo clippy --all-targets --all-features -- -D warnings; then

.github/workflows/linter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
- name: Run Clippy
2020
run: cargo clippy --all-targets --all-features
2121

22-
- name: Check typos
23-
uses: crate-ci/typos@master
24-
22+
# TODO(template) enable if sensible
23+
# - name: Check typos
24+
# uses: crate-ci/typos@master

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
members = ["examples", "mycrate"]
55
resolver = "2"
66
default-members = ["mycrate"]
7+
78
[workspace.package]
89
version = "0.1.0"
910
edition = "2021"

deny.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ db-path = "~/.cargo/advisory-db"
2424
db-urls = ["https://github.com/rustsec/advisory-db"]
2525
yanked = "deny"
2626
ignore = []
27+
unmaintained = "workspace"
2728

2829
[licenses]
2930
allow = [
@@ -35,6 +36,7 @@ allow = [
3536
"CC-BY-2.0",
3637
"CC-BY-3.0",
3738
"CC-BY-4.0",
39+
"CC0-1.0",
3840
"ISC",
3941
"OpenSSL",
4042
"Unicode-3.0",
@@ -49,9 +51,8 @@ ignore = false
4951
registries = []
5052

5153
[bans]
52-
allow-wildcard-paths = true
54+
wildcards = "allow"
5355
multiple-versions = "warn"
54-
wildcards = "deny"
5556
highlight = "all"
5657

5758
[bans.workspace-dependencies]
@@ -65,6 +66,6 @@ unknown-git = "deny"
6566
allow-git = []
6667

6768
[sources.allow-org]
68-
github = []
69+
github = ["NethermindEth"]
6970
gitlab = []
70-
bitbucket = []
71+
bitbucket = []

0 commit comments

Comments
 (0)