PHS-TSA / wizards-in-calculus

TSA Video Game Design 2023-2024
3 stars 0 forks source link

Format Code and Fix Lints with GDScript-Toolkit #16

Closed lishaduck closed 6 months ago

lishaduck commented 6 months ago

The code changes in this pull request include formatting the code using gdformat and fixing linting issues. These changes improve the readability and maintainability of the codebase.

lishaduck commented 6 months ago

@MattsAttack, you see if this is all makes sense? I think its relatively straightforward, but I want to make sure this isn't a big disruption before I merge it.

MattsAttack commented 6 months ago

All of it but the : before the =. I understand the ones after the variable names cause you specify data types that way. But the : before the = signs are kind of wonky

lishaduck commented 6 months ago

All of it but the : before the =. I understand the ones after the variable names cause you specify data types that way. But the : before the = signs are kind of wonky

Yeah. They repurposed the walrus operator and I'm torn over weather it's evil or genius. := is basically :<type> =, which makes sense, but it isn't how Python does it.