Skip to content

Commit

Permalink
Remove Abstract Method Interface From Generator Constructor (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Behemyth authored Mar 8, 2022
1 parent 6e25866 commit 10962c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
File renamed without changes.
4 changes: 3 additions & 1 deletion cppython/plugins/generator/cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ class CMakeGenerator(Generator):
"""

def __init__(self, pyproject: PyProject, cmake_data: CMakeData) -> None:
super().__init__(pyproject, cmake_data)
"""
TODO
"""

@staticmethod
def name() -> str:
Expand Down
4 changes: 0 additions & 4 deletions cppython/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ class Generator(Plugin, API):
Abstract type to be inherited by CPPython Generator plugins
"""

@abstractmethod
def __init__(self, pyproject: PyProject, generator_data: GeneratorData) -> None:
super().__init__()

@staticmethod
def plugin_group() -> str:
"""
Expand Down

0 comments on commit 10962c7

Please sign in to comment.