Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zanger67 committed Jul 20, 2024
1 parent 5cd82f0 commit a8ecf79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@
" try :\n",
" number = int(re.search(\"\\d{1,4}\", leetcodeFile).group()) # Takes the first full number as the question\n",
" print(f'Parsing {number}...')\n",
" print(questionDetailsDict[number])\n",
" level = questionDetailsDict[number].level # number and uses that as reference\n",
" # e.g. 'e123 v1.py' becomes 123\n",
" except AttributeError as ae :\n",
Expand Down Expand Up @@ -1497,6 +1498,7 @@
"\n",
"\n",
" questionDetailsDict = retrieveQuestionDetails()\n",
" print(questionDetailsDict)\n",
"\n",
" leetcodeFiles.sort()\n",
" contestLeetcodeFiles.sort()\n",
Expand Down
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ def parseCase(leetcodeFile: str, # file name
try :
number = int(re.search("\d{1,4}", leetcodeFile).group()) # Takes the first full number as the question
print(f'Parsing {number}...')
print(questionDetailsDict[number])
level = questionDetailsDict[number].level # number and uses that as reference
# e.g. 'e123 v1.py' becomes 123
except AttributeError as ae :
Expand Down Expand Up @@ -1311,6 +1312,7 @@ def main(*, recalculateAll: bool = False, noRecord: bool = False) -> None :


questionDetailsDict = retrieveQuestionDetails()
print(questionDetailsDict)

leetcodeFiles.sort()
contestLeetcodeFiles.sort()
Expand Down

0 comments on commit a8ecf79

Please sign in to comment.