London | 25-SDC-Nov | Aida Eslamimoghadam | Sprint 5 | Implement laptop allocation#300
London | 25-SDC-Nov | Aida Eslamimoghadam | Sprint 5 | Implement laptop allocation#300aydaeslami wants to merge 1 commit intoCodeYourFuture:mainfrom
Conversation
|
Your PR description contained template fields which weren't filled in. Check you've ticked everything in the self checklist, and that any sections which prompt you to fill in an answer are either filled in or removed. If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed). If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above. |
LonMcGregor
left a comment
There was a problem hiding this comment.
Good start on this sprint's tasks, I have spotted a few areas where you could improve code further
There was a problem hiding this comment.
When I run mypy on this, the type annotations are giving me an error, do you also see this?
|
|
||
| def allocate_laptops(people: List[Person], laptops: List[Laptop]) -> dict[Person, Laptop]: | ||
| allocateLp = {} | ||
| lpNewList = laptops.copy() |
There was a problem hiding this comment.
are these variable names clear about what they represent?
Changelist