I have a file in my repo named ngma_natural_gas_billing_billing_data_Service 1_1_2021-05-26_to_2024-04-25.xml. Note that the filename has a space in the middle.
When this pre-commit check runs I get the following error message:
warning: failed to load external entity "tests/test_parse/data/natural_gas/ngma_natural_gas_billing_billing_data_Service"
XML check for tests/test_parse/data/natural_gas/ngma_natural_gas_billing_billing_data_Service: cannot parse
warning: failed to load external entity "1_1_2021-05-26_to_2024-04-25.xml"
XML check for 1_1_2021-05-26_to_2024-04-25.xml: cannot parse
Correct behaviour:
- This check should support filenames with the space in them
I have a file in my repo named
ngma_natural_gas_billing_billing_data_Service 1_1_2021-05-26_to_2024-04-25.xml. Note that the filename has a space in the middle.When this pre-commit check runs I get the following error message:
Correct behaviour: