Lint errors in script #23
Labels
No Label
bug
Critical Priority
duplicate
enhancement
help wanted
High Priority
Low Priority
Medium Priority
Meta
needs more info
question
refactor
wontfix
bug
Critical Priority
duplicate
enhancement
help wanted
High Priority
invalid
Low Priority
Medium Priority
Meta
question
wontfix
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Cavemanon/SnootGame#23
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.py
in 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
dimstage
https://git.snootgame.xyz/Cavemanon/SnootGame/pulls/17 has been merged.