aboutsummaryrefslogtreecommitdiff
path: root/quality_control/headers.py
AgeCommit message (Collapse)Author
2022-05-18Simplify slot names and fix namedtuple type nameFrederick Muriuki Muriithi
- replace `line_number` with `line` and `column_number` with `column` to save on slot name lengths. - Fix the type name for the `DuplicateHeading` namedtuple type
2022-05-18Return errors when found or None otherwiseFrederick Muriuki Muriithi
This commit adds a number of functions that return the error object when an error is found, or `None` otherwise. It avoids the use of exceptions as control flow constructs.
2022-04-13Update `valid_header` to pass check for duplicated headersFrederick Muriuki Muriithi
2022-04-11Implement MVI for headers validity checking functionFrederick Muriuki Muriithi
Add a minimum viable implementation that passes the tests for the function that checks for the validity of the headers
2022-04-11Add tests for headersFrederick Muriuki Muriithi
* Add tests to check for validity of the headers * Add stubs for the tests