diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..5dc3e62 --- /dev/null +++ b/CLAUDE.md @@ -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. diff --git a/internal/cli/integration_test.go b/internal/cli/integration_test.go index 4408f2c..f9c7aa6 100644 --- a/internal/cli/integration_test.go +++ b/internal/cli/integration_test.go @@ -1,3 +1,4 @@ +//nolint:lll // Integration test has long function signatures package cli_test import ( diff --git a/pkg/agehd/agehd_test.go b/pkg/agehd/agehd_test.go index 916c95a..caec4a5 100644 --- a/pkg/agehd/agehd_test.go +++ b/pkg/agehd/agehd_test.go @@ -1,3 +1,4 @@ +//nolint:lll // Test vectors contain long lines package agehd import ( @@ -679,7 +680,7 @@ func TestConcurrentDerivation(t *testing.T) { // Collect results resultMap := make(map[string]int) - for range testNumGoroutines*testNumIterations { + for range testNumGoroutines * testNumIterations { select { case result := <-results: resultMap[result]++ diff --git a/pkg/bip85/bip85_test.go b/pkg/bip85/bip85_test.go index 6ac8c3f..ca6a79f 100644 --- a/pkg/bip85/bip85_test.go +++ b/pkg/bip85/bip85_test.go @@ -1,4 +1,5 @@ //nolint:gosec // G101: Test file contains BIP85 test vectors, not real credentials +//nolint:lll // Test vectors contain long lines package bip85 //nolint:revive,unparam // Test file with BIP85 test vectors