diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4b83aed..e6d5cb1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -16,7 +16,7 @@ repos: example_output/7.5/distribution_network_cer_generation_limit_profiles.csv - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.8.1 + rev: v0.15.0 hooks: # Run the linter. - id: ruff diff --git a/tests/test_packaged_table_configs.py b/tests/test_packaged_table_configs.py index 2da7a1e..23382b3 100644 --- a/tests/test_packaged_table_configs.py +++ b/tests/test_packaged_table_configs.py @@ -10,9 +10,9 @@ @pytest.mark.parametrize("workbook_version_folder", workbook_path.iterdir()) def test_packaged_table_configs_for_each_version(workbook_version_folder: Path): xl_file = [file for file in workbook_version_folder.glob("[!.]*.xls*")] - assert ( - len(xl_file) == 1 - ), f"There should only be one Excel workbook in each version sub-directory, got {xl_file}" + assert len(xl_file) == 1, ( + f"There should only be one Excel workbook in each version sub-directory, got {xl_file}" + ) workbook_name = xl_file.pop() workbook = Parser(workbook_name)