chore: tidy

This commit is contained in:
2026-05-29 17:25:12 +02:00
parent d16e192a3a
commit e6375f1aa9
4 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
from pathlib import Path
import re import re
from pathlib import Path
HEADER = '''""" HEADER = '''"""
This file was generated by a script. Any manual changes might be overwritten. This file was generated by a script. Any manual changes might be overwritten.

View File

@@ -1,5 +1,5 @@
from dataclasses import dataclass
import logging import logging
from dataclasses import dataclass
from pathlib import Path from pathlib import Path
from typing import Optional from typing import Optional

View File

@@ -4,9 +4,9 @@ from abc import ABC, abstractmethod
from pathlib import Path from pathlib import Path
from typing import Generic, Optional, Protocol, TextIO, TypeVar from typing import Generic, Optional, Protocol, TextIO, TypeVar
from midas.ast.location import Location
import midas.ast.midas as m import midas.ast.midas as m
import midas.ast.python as p import midas.ast.python as p
from midas.ast.location import Location
H = TypeVar("H", bound="Highlighter", contravariant=True) H = TypeVar("H", bound="Highlighter", contravariant=True)

View File

@@ -2,7 +2,6 @@ import ast
from typing import Optional from typing import Optional
from midas.ast.location import Location from midas.ast.location import Location
from midas.ast.python import ( from midas.ast.python import (
AssignStmt, AssignStmt,
BaseType, BaseType,