Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
iopapamanoglou committed Aug 30, 2024
1 parent 4f7f373 commit 46e9c83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/faebryk/tools/refactor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This file is part of the faebryk project
# SPDX-License-Identifier: MIT

from lib2to3 import refactor
import re
import subprocess
from dataclasses import dataclass
Expand Down Expand Up @@ -100,7 +99,7 @@ def fabll(ctx: typer.Context, root: Path):

types = r"(?:IF|NODE|PARAM)"
ano_class = rf"class _{types}s\("
detection_pattern = re.compile(ano_class)
# detection_pattern = re.compile(ano_class)

refactor_files = file_paths
# refactor_files = [
Expand Down
1 change: 0 additions & 1 deletion tools/library/gen_F.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import logging
import re
import subprocess
from graphlib import TopologicalSorter
from pathlib import Path
from typing import Iterable
Expand Down

0 comments on commit 46e9c83

Please sign in to comment.