You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced a new utility, -t, which will display a visual tree of the current day's scrape directory by default. Optionally, include a different date to display that day's scrape directory.
Move CI providers from Travis-CI to GitHub Actions.
Travis-CI is no longer free - there is now a free build cap.
-t/--tree - display the directory structure of the current date directory. Or optionally include a date to display that day's scrape directory.
Source code
Added a new file Utilities.py to the urs/utils module.
Added a class DateTree which contains methods to find and build a visual tree for the target date's directory.
Added logging when this utility is run.
Added an additional Halo to the wordcloud generator.
README
Added new "Utilities" section.
This section describes how to use the -t/--tree and --check utility flags.
Added new "Sponsors" section.
Tests
Added test_Utilities.py under the test_utils module.
Changed
Source code
Refactored the following methods within the analytics module:
GetPath.get_scrape_type()
GetPath.name_file()
FinalizeWordcloud().save_wordcloud()
Implemented pathlib's Path() method to get the path.
Upgraded all string formatting from old-school Python formatting (using the % operator) to the superior f-string.
Updated GitHub Actions workflow pytest.yml.
This workflow was previously disabled. The workflow has been upgraded to test URS on all platforms (ubuntu-latest, macOS-latest, and windows-latest) and to send test coverage to Codecov after testing completes on ubuntu-latest.
README
Changed the Travis-CI badge to a GitHub Actions badge.
Updated badge link to route to the workflows page within the repository.
Tests
Upgraded all string formatting from old-school Python formatting (using the % operator) to the superior f-string in the following modules: