test_schema.py 234 B

12345678
  1. MAXIMUM_LINE_LENGTH = 80
  2. def test_schema_line_length_stays_under_limit():
  3. schema_file = open('borgmatic/config/schema.yaml')
  4. for line in schema_file.readlines():
  5. assert len(line.rstrip('\n')) <= MAXIMUM_LINE_LENGTH