Skip to content

Update regarding the use of key argument at min() method#156

Merged
dbrnz merged 3 commits intoAnatomicMaps:mainfrom
napakalas:issue-#154
Aug 21, 2025
Merged

Update regarding the use of key argument at min() method#156
dbrnz merged 3 commits intoAnatomicMaps:mainfrom
napakalas:issue-#154

Conversation

@napakalas
Copy link
Copy Markdown
Contributor

@dbrnz
Copy link
Copy Markdown
Collaborator

dbrnz commented Aug 21, 2025

Yes, much clearer with using a lambda.

BTW, I've learnt that best practise is to annotate with # pyright: ignore[reportXXX] (where reportXXX is the particular class of error as reported by PyRight (e.g. reportCallIssue)), instead of the generic # type: ignore.

@dbrnz dbrnz merged commit d469c6f into AnatomicMaps:main Aug 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants