Coverage for /usr/lib/python3/dist-packages/fontTools/feaLib/location.py: 86%

7 statements  

« prev     ^ index     » next       coverage.py v7.9.1, created at 2025-06-14 15:55 +0200

1from typing import NamedTuple 

2 

3 

4class FeatureLibLocation(NamedTuple): 

5 """A location in a feature file""" 

6 

7 file: str 

8 line: int 

9 column: int 

10 

11 def __str__(self): 

12 return f"{self.file}:{self.line}:{self.column}"