Documentation
ccv.py
Validates the codecov.yml configuration file.
- codecov_validator.ccv.check_valid(result)
Check if the message contains the “Valid!” string from the request call.
- Parameters:
result (str) – Message to be analyzed.
- codecov_validator.ccv.open_file(filename)
Tries to open the configuration file.
- Parameters:
filename (str) – Name of the configuration file.
- Returns:
Contents of the configuration file, or the string zero.
- Return type:
bytes
- codecov_validator.ccv.run_request(file)
Send the configuration to the codecov site.
- Parameters:
file (string) – Contents of the configuration file.
- Returns:
Result of the request.
- Return type:
str