Lint errors in script #23
Closed
opened 2021-06-15 19:01:57 +00:00 by StellarStellas
·
6 comments
No Branch/Tag Specified
master
stinky-frenchmen
CTC
thai
pt_br
fix-snootgame-building
Espaniolo
improved_epilogue_menu
wani_mod_menu
flower-line
indentation-continued
update-readme
unbumoversion
fixcrash
russia
Patch9
NewPatch
Patch7
Patch13-ChbabMaeMeung
C̄hbạbMâeMeung
Patch12.1-Monkeyborea
Patch12-Monkeyborea
Patch11.1-MoldyBuenoAlDante
Patch11-MoldyBuenoAlDante
Patch11-RC1
Patch10.1-KurwaBobr
Patch10-KurwaBobr
Patch9.1-RoastedLaika
Patch9-RoastedLaika
Monster-Updates-Release
MonsterUpdate
Labels
Clear labels
bug
Critical Priority
duplicate
enhancement
help wanted
High Priority
Low Priority
Medium Priority
Meta
needs more info
question
refactor
wontfix
back-burner
bug
Critical Priority
enhancement
help wanted
High Priority
Low Priority
Medium Priority
Meta
question
undelegated
Something is not working
Absolutely urgent issues that must be delt with before others can even be considered.
This issue or pull request already exists
New feature
Need some help
Bugs that cause crashes, major story errors, or other massively negative issues. Features that are a must-have inclusion or else the game won't be as good.
Minor or easy to miss errors. Features that'd be nice, but can be done with out.
Errors that stick out, but aren't fatal to gameplay. Features that are in decent demand or would improve gameplay by a signifigant amount
for all the other fun stuff about the project thats not code
Something is wrong
Cleaning up the cruft
This won't be fixed
"Shit Nobody Cares About" issues
Something is not working
Absolutely urgent issues that must be delt with before others can even be considered.
New feature
Need some help
Bugs that cause crashes, major story errors, or other massively negative issues. Features that are a must-have inclusion or else the game won't be as good.
Minor or easy to miss errors. Features that'd be nice, but can be done with out.
Errors that stick out, but aren't fatal to gameplay. Features that are in decent demand or would improve gameplay by a signifigant amount
for all the other fun stuff about the project thats not code
More information is needed
Issues that need to be assigned by a project manager
Milestone
No items
No Milestone
Patchy-Patch5 Release
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Cavemanon/SnootGame#23
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
So I was going to write a tool to extract stuff from the script to find those missing image that sometimes pop-up. Then I read the renpy docs and found they already have a tool for that. So here's the output of the lint tool at current master (
c61f3b3). I would fix it myself but it sounds like you guys are doing massive edits to clean up the project structure so I didn't want to waste my time.this is a goldmine and i'm mad at myself for not doing this earlier. big thanks - will definitely look to get these incorporated alongside all the other patches/tweaks going on right now
do you mind posting the documentation for this tool from the renpy wiki? Would be a massive help for issue no #22 and the quality assurance section of it.
I found it in the quickstart guide for renpy https://www.renpy.org/doc/html/quickstart.html
It seems to require you to open the project with the renpy launcher, then just click "Check Script".
The code is in
renpy/lint.pyin the renpy sdk, but it doesn't seem to be designed as a standalone script, I think it gets called from somewhere else after the project has been setup so it knows where to look for assets and stuff.I've never dived too deeply into it, but the company I work for standard practice is to just run things through LINTs standard ruleset, although I know they can be tweaked. It's great for syntax errors, null pointers, etc. High # of false flags on larger projects though.
https://git.snootgame.xyz/Cavemanon/SnootGame/pulls/17 should now fix all of this except
dimstagehttps://git.snootgame.xyz/Cavemanon/SnootGame/pulls/17 has been merged.