diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 21:20:25 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 21:20:25 +0200 |
commit | a3255c69df60fee697e1ee546052a8abe86fb4ff (patch) | |
tree | 524c352b917e25f61f7c7b1aeec19bf831c41f7f /pyGHDL/libghdl/files_map.py | |
parent | 8cf15b9abb3a197857627f55ef28111f9492d9d5 (diff) | |
download | ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.tar.gz ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.tar.bz2 ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.zip |
black: rerun, to pick pyproject settings
Diffstat (limited to 'pyGHDL/libghdl/files_map.py')
-rw-r--r-- | pyGHDL/libghdl/files_map.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/pyGHDL/libghdl/files_map.py b/pyGHDL/libghdl/files_map.py index 0a288fa2e..277a00706 100644 --- a/pyGHDL/libghdl/files_map.py +++ b/pyGHDL/libghdl/files_map.py @@ -90,9 +90,7 @@ def Location_File_To_Line(Location: LocationType, File: SourceFileEntry) -> int: @export @BindToLibGHDL("files_map__location_file_line_to_offset") -def Location_File_Line_To_Offset( - Location: LocationType, File: SourceFileEntry, Line: int -) -> int: +def Location_File_Line_To_Offset(Location: LocationType, File: SourceFileEntry, Line: int) -> int: """ Get the offset in :obj:`Line` of :obj:`Location`. @@ -106,9 +104,7 @@ def Location_File_Line_To_Offset( @export @BindToLibGHDL("files_map__location_file_line_to_col") -def Location_File_Line_To_Col( - Location: LocationType, File: SourceFileEntry, Line: int -) -> int: +def Location_File_Line_To_Col(Location: LocationType, File: SourceFileEntry, Line: int) -> int: """ Get logical column (with HT expanded) from :obj:`Location`, :obj:`File` and :obj:`Line`. @@ -259,9 +255,7 @@ def Read_Source_File(Directory: NameId, Name: NameId) -> SourceFileEntry: @export @BindToLibGHDL("files_map__reserve_source_file") -def Reserve_Source_File( - Directory: NameId, Name: NameId, Length: int -) -> SourceFileEntry: +def Reserve_Source_File(Directory: NameId, Name: NameId, Length: int) -> SourceFileEntry: """ Reserve an entry, but do not read any file. |