-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add code for producing HTML outputs for GTFS data * Update requirements.txt * fix: Update tests to reflect changes * Added better file ext checking; update tests; added new tests * chore: Clean up docstrings to comply with numpy formatting * chore: Add additional raises in docstrings * chore: Breaking changes with dev resolved * refactor: Several type utils -> _type_defence * fix: Undo accidental overwrite with review branch * test: _type_defence raises with single or multiple types * test: _type_defence pass on single & multiple values to types * Refactor save paths for plotting summaries (#124) * feat: Tests for _check_column_in_df() * fix: Added another stage of testing for set_up_report_dir() which improves coverage * Updated gtfs_utils.py and corresponding tests. Removed scheme param. Improved type check. Improved type hint. Included test fixture * Make TemplateHtml methods private; Update docstring * Updated error message for replace_multiple=False and multiple placeholders found * Updated test_report_utils.py to reflect private functions * Updated _set_up_report_dir() to better suite check_parent_dir_exists() functionality * Update tests in test_report_utils * Only .lower() orientation in one place, rather than 2 * Create small helper function to remove duplicate logic; added testing * Move test to test__plot_summary_defences() as it is more appropriate * Refactore validation.py to only use _plot_summary();Added additional defences;Included and updated testing for all changes/additions * Update check_attribute() due to save error * Update defence.py * Update defence.py for missing char * chore: Run pre-commit against all files * docs: Update private methods in docstring * chore: Remove lint * refactor: Param formatting in Error message * refactor: Rm str replace carriage returns logic in test * chore: Remove filterwarning --------- Co-authored-by: r-leyshon <richard.leyshon@ons.gov.uk> 8d973c4
- Loading branch information
Showing
15 changed files
with
1,135 additions
and
38 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
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.