New
URS v3.3.1
Summary
- 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.
- Minor code refactoring and issue resolution.
Full Changelog
Added
- User interface
- Added a new utility:
-t/--tree- display the directory structure of the current date directory. Or optionally include a date to display that day's scrape directory.
- Added a new utility:
- Source code
- Added a new file
Utilities.pyto theurs/utilsmodule.- Added a class
DateTreewhich contains methods to find and build a visual tree for the target date's directory.- Added logging when this utility is run.
- Added a class
- Added an additional Halo to the wordcloud generator.
- Added a new file
README- Added new "Utilities" section.
- This section describes how to use the
-t/--treeand--checkutility flags.
- This section describes how to use the
- Added new "Sponsors" section.
- Added new "Utilities" section.
- Tests
- Added
test_Utilities.pyunder thetest_utilsmodule.
- Added
Changed
- Source code
- Refactored the following methods within the
analyticsmodule:GetPath.get_scrape_type()GetPath.name_file()FinalizeWordcloud().save_wordcloud()- Implemented
pathlib'sPath()method to get the path.
- Implemented
- Upgraded all string formatting from old-school Python formatting (using the
%operator) to the superiorf-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, andwindows-latest) and to send test coverage to Codecov after testing completes onubuntu-latest.
- This workflow was previously disabled. The workflow has been upgraded to test URS on all platforms (
- Refactored the following methods within the
README- Changed the Travis-CI badge to a GitHub Actions badge.
- Updated badge link to route to the workflows page within the repository.
- Changed the Travis-CI badge to a GitHub Actions badge.
- Tests
- Upgraded all string formatting from old-school Python formatting (using the
%operator) to the superiorf-stringin the following modules:test_utils/test_Export.pytest_praw_scrapers/test_live_scrapers/test_Livestream.py
- Refactored two tests within
test_Export.py:TestExportWriteCSVAndWriteJSON().test_write_csv()TestExportExportMethod().test_export_write_csv()
- Upgraded all string formatting from old-school Python formatting (using the
- Community documents
- Updated
PULL_REQUEST_TEMPLATE.md.- Removed Travis-CI configuration block.
- Updated
Deprecated
- Source code
- Removed
.travis.yml- URS no longer uses Travis-CI as its CI provider.
- Removed