File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 99 steps :
1010 - uses : actions/checkout@v4
1111
12- - name : Check file formatting with Black
13- uses : psf/black@stable
14- with :
15- options : " --check --verbose "
12+ - name : Check file formatting
13+ run : |
14+ pip install black
15+ black --check .
Original file line number Diff line number Diff line change 33
44Export your LeetCode submissions and related problem statements.
55"""
6+
67import argparse
78import logging
89import os
@@ -214,9 +215,9 @@ def main():
214215 problem_folder_name = problem_folder_name_template .substitute (
215216 ** problem_statement .__dict__
216217 )
217- title_slug_to_problem_folder_name [
218- submission . title_slug
219- ] = problem_folder_name
218+ title_slug_to_problem_folder_name [submission . title_slug ] = (
219+ problem_folder_name
220+ )
220221 if not os .path .exists (problem_folder_name ):
221222 os .mkdir (problem_folder_name )
222223 os .chdir (problem_folder_name )
Original file line number Diff line number Diff line change 11"""
22LeetCode Python APIs for retrieving submitted problems and problem statements.
33"""
4+
45import datetime
56import logging
67from time import sleep
You can’t perform that action at this time.
0 commit comments