Skip to content

Commit

Permalink
fix names of classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nfsaavedra committed Apr 22, 2024
1 parent 18fb1ac commit 42ebce3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion glitch/analysis/design/imperative_abstraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from glitch.repr.inter import *


class ImperativeAbstractionSmell(DesignSmellChecker):
class ImperativeAbstraction(DesignSmellChecker):
def __count_atomic_units(self, ub: UnitBlock) -> Tuple[int, int]:
count_resources = len(ub.atomic_units)
count_execs = 0
Expand Down
6 changes: 3 additions & 3 deletions glitch/analysis/design/improper_alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from glitch.repr.inter import *


class ImproperAlignmentTabsSmell(DesignSmellChecker):
class ImproperAlignmentTabs(DesignSmellChecker):
def check(self, element: CodeElement, file: str) -> List[Error]:
if isinstance(element, UnitBlock):
errors: List[Error] = []
Expand All @@ -23,7 +23,7 @@ def check(self, element: CodeElement, file: str) -> List[Error]:
return []


class ImproperAlignmentSmell(DesignSmellChecker):
class ImproperAlignment(DesignSmellChecker):
@staticmethod
def ignore_techs() -> List[Tech]:
return [Tech.puppet, Tech.ansible]
Expand Down Expand Up @@ -51,7 +51,7 @@ def check(self, element: CodeElement, file: str) -> List[Error]:
return []


class PuppetImproperAlignmentSmell(DesignSmellChecker):
class PuppetImproperAlignment(DesignSmellChecker):
def __init__(self):
self.cached_file = ""
self.lines = []
Expand Down
2 changes: 1 addition & 1 deletion glitch/analysis/design/long_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from glitch.repr.inter import *


class LongStatementSmell(DesignSmellChecker):
class LongStatement(DesignSmellChecker):
def check(self, element: CodeElement, file: str) -> List[Error]:
errors: List[Error] = []

Expand Down

0 comments on commit 42ebce3

Please sign in to comment.