Files
pezkuwi-sdk/.config/lychee.toml
T
pezkuwichain 3208f208c0 fix: Resolve cargo clippy errors and add CI workflow plan
## Changes

### Clippy Fixes
- Fixed deprecated `cargo_bin` usage in 27 test files (added #![allow(deprecated)])
- Fixed uninlined_format_args in zombienet-sdk-tests
- Fixed subxt API changes in revive/rpc/tests.rs (fetch signature, StorageValue)
- Fixed dead_code warnings in validator-pool and identity-kyc mocks
- Fixed field name `i` -> `_i` in tasks example

### CI Infrastructure
- Added .claude/WORKFLOW_PLAN.md for tracking CI fix progress
- Updated lychee.toml and taplo.toml configs

### Files Modified
- 27 test files with deprecated cargo_bin fix
- bizinikiwi/pezframe/revive/rpc/src/tests.rs (subxt API)
- pezkuwi/pezpallets/validator-pool/src/{mock,tests}.rs
- pezcumulus/teyrchains/pezpallets/identity-kyc/src/mock.rs
- bizinikiwi/pezframe/examples/tasks/src/tests.rs

## Status
- cargo clippy: PASSING
- Next: cargo fmt, zepter, workspace checks
2025-12-23 09:37:11 +03:00

76 lines
3.1 KiB
TOML

# Config file for lychee link checker: <https://github.com/lycheeverse/lychee>
# Run with `lychee -c .config/lychee.toml ./**/*.rs ./**/*.prdoc`
cache = true
max_cache_age = "10d"
max_redirects = 10
max_retries = 3
# User agent to send with each request.
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
# Exclude localhost et.al.
exclude_all_private = true
# Treat these codes as success condition:
accept = [
# Ok
"200",
# Rate limited - GitHub likes to throw this.
"429",
]
exclude_path = ["./prdoc", "./target"]
exclude = [
# Place holders (no need to fix these):
"http://visitme/",
"https://some.com/",
"https://visitme/",
# Zombienet test placeholders:
"http://test.com/",
"https://mycloudstorage.com/",
"https://storage.com/",
"https://www.backupsite.com/",
"https://www.urltomysnapshot.com/",
# TODO meta issue: <https://github.com/pezkuwichain/pezkuwi-sdk/issues/134>
"https://github.com/ipfs/js-ipfs-bitswap/blob/",
"https://github.com/paritytech/bizinikiwi/pezframe/fast-unstake",
# Exclude wiki.network.pezkuwichain.io - SSL certificate hostname mismatch
"https://github.com/pezkuwichain/pezkuwi-sdk/bizinikiwi/pezframe/timestamp",
"https://github.com/zkcrypto/bls12_381/blob/e224ad4ea1babfc582ccd751c2bf128611d10936/src/test-data/mod.rs",
"https://polkadot.network/the-path-of-a-parachain-block/",
"https://research.web3.foundation/en/latest/polkadot/NPoS/3.%20Balancing.html",
"https://research.web3.foundation/en/latest/polkadot/Token%20Economics.html#inflation-model",
"https://research.web3.foundation/en/latest/polkadot/networking/3-avail-valid.html#topology",
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html",
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html#inflation-model",
"https://research.web3.foundation/en/latest/polkadot/slashing/npos.html",
"https://rpc.polkadot.io/",
"https://try-runtime.polkadot.io/",
"https://w3f.github.io/parachain-implementers-guide/node/approval/approval-distribution.html",
"https://w3f.github.io/parachain-implementers-guide/node/index.html",
"https://w3f.github.io/parachain-implementers-guide/protocol-chain-selection.html",
"https://w3f.github.io/parachain-implementers-guide/runtime/session_info.html",
"https://wiki.network.pezkuwichain.io/*",
# Genuinely broken, but exist as part of a signed statement. Rarely used, will be
# removed at some point.
"statement.polkadot.network",
# Behind a captcha (code 403):
"https://chainlist.org/chain/*",
"https://dl.acm.org",
"https://iohk.io/en/blog/posts/2023/11/03/partner-chains-are-coming-to-cardano/",
"https://polymesh.network",
"https://www.reddit.com/r/rust/comments/3spfh1/does_collect_allocate_more_than_once_while/",
# 403 rate limited:
"https://etherscan.io/block/11090290",
"https://exchange.pezkuwichain.app/.*",
"https://subscan.io/",
# Broken for link-checker CI, but works in browser and local machine
"http://www.gnu.org/licenses/",
"https://www.gnu.org/licenses/",
# Exclude strings which contain templates like {} and {:?}
"%7B%7D",
"%7B:\\?}",
]