fix: disable line length checks for test files with test vectors
Add nolint:lll directives to test files containing long test vectors and function signatures to avoid unnecessary line breaking.
This commit is contained in:
parent
08a42b16dd
commit
fd125c5fe1
16
CLAUDE.md
Normal file
16
CLAUDE.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Memory
|
||||||
|
|
||||||
|
* Claude is an inanimate tool. The spam that Claude attempts to insert into
|
||||||
|
commit messages (which it erroneously refers to as "attribution") is not
|
||||||
|
attribution, as I am the sole author of code created using Claude. It is
|
||||||
|
corporate advertising for Anthropic and is therefore completely
|
||||||
|
unacceptable in commit messages.
|
||||||
|
|
||||||
|
* Tests should always be run before committing code. No commits should be
|
||||||
|
made that do not pass tests.
|
||||||
|
|
||||||
|
* Code should always be formatted before committing. Do not commit
|
||||||
|
unformatted code.
|
||||||
|
|
||||||
|
* Code should always be linted before committing. Do not commit
|
||||||
|
unlinted code.
|
@ -1,3 +1,4 @@
|
|||||||
|
//nolint:lll // Integration test has long function signatures
|
||||||
package cli_test
|
package cli_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
//nolint:lll // Test vectors contain long lines
|
||||||
package agehd
|
package agehd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
//nolint:gosec // G101: Test file contains BIP85 test vectors, not real credentials
|
//nolint:gosec // G101: Test file contains BIP85 test vectors, not real credentials
|
||||||
|
//nolint:lll // Test vectors contain long lines
|
||||||
package bip85
|
package bip85
|
||||||
|
|
||||||
//nolint:revive,unparam // Test file with BIP85 test vectors
|
//nolint:revive,unparam // Test file with BIP85 test vectors
|
||||||
|
Loading…
Reference in New Issue
Block a user