-
-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add FloodWaitError import * Add .idea * code refactoring * code refactoring * code refactoring * code refactoring * Add ruff * code refactoring with ruff * Add Ruff GitHub Action for style checking * Add Ruff GitHub Action for style checking * Add Ruff GitHub Action for style checking * Add Ruff GitHub Action for style checking * Update ruff config * Add Ruff GitHub Action for style checking * code refactoring * Add Ruff GitHub Action for style checking * fix merge conflicts * remove ruff.yml * code review --------- Co-authored-by: ask0n <[email protected]>
- Loading branch information
1 parent
290e4bd
commit d27e8f4
Showing
7 changed files
with
365 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ avatars | |
__pycache__/ | ||
.DS_Store | ||
reports-* | ||
.idea |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
from .functions import combine_json_files | ||
from .json_into_html import generate_html_from_json | ||
|
||
def combine_data(report_json_directory="./reports-json/", report_html_directory="./reports-html/"): | ||
|
||
def combine_data(report_json_directory="./reports-json/", report_html_directory="./reports-html/"): | ||
combine_json_files(report_json_directory, f"{report_json_directory}_combined_data.json") | ||
|
||
# Generate the HTML file from JSON | ||
generate_html_from_json(f"{report_json_directory}_combined_data.json", f"{report_html_directory}_combined_data.html") | ||
generate_html_from_json( | ||
f"{report_json_directory}_combined_data.json", f"{report_html_directory}_combined_data.html" | ||
) | ||
|
||
|
||
# Call the function to execute the functionality | ||
if __name__ == "__main__": | ||
combine_data() | ||
combine_data() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.