diff --git a/insights.py b/insights.py index 731d255..0d22c54 100755 --- a/insights.py +++ b/insights.py @@ -15,6 +15,8 @@ IGNORED: List[str] = [ "package-lock.json", "/@", "eslint-plugin", + ".yy", + "Ladder2800.js", # BBY06 - Auto generated code detected. please dont rename this file at all. "...", # It is possible someone has so many sub folders and such a long file name it gets ignored ] # git log --stat kinda sucks that it doesnt always show the full folder path @@ -116,7 +118,7 @@ async def getInsights(repoURL: str, teamID: str) -> Dict[str, str|List]: offset += 1 continue - if "Bin 0 -> " in lines[offset]: + if "Bin" in lines[offset] and "bytes" in lines[offset] and "->" in lines[offset]: offset += 1 continue diff --git a/templates/index.html b/templates/index.html index a60a921..753dba9 100755 --- a/templates/index.html +++ b/templates/index.html @@ -11,10 +11,10 @@

See Leaderboards

Disclaimer: This reads commits from git log and may not match - commits from Github insights. + commits from Github insights. It only reads from MAIN branch.

- Additionally, any commits made through the Github web interface are ignored. + Any commits made through the Github web interface are ignored.

Files with matching patterns may be ignored in your commits. E.g. node_module files.