GuidanceOfGrace / CLASSIC-Fallout4

Crash Log Auto-Scanner & Setup Integrity Checker for Fallout 4 / Buffout 4. Tool that extensively scans Fallout 4 game & mod files and Buffout 4 crash logs, then provides troubleshooting advice depending on what it finds.
8 stars 4 forks source link

Improvements and fixes from VSCode's fine-toothed comb (aka type-checker) #30

Closed evildarkarchon closed 1 year ago

evildarkarchon commented 1 year ago

Changed Info to a dataclass now that it's feasible to do so. VSCode's type-checker was always getting confused by the None placeholders. In retrospect, I should have used the dataclass in the first place. In the Mod_Check3 section, the special mod checks were looking for a variable from a for-loop that wasn't there. A nested list in FCX mode where it printed the main files report was causing the script to error out. Plus, the standard placation regarding unbound variables.