Skip to content

Commit 10962c7

Browse files
authored
Remove Abstract Method Interface From Generator Constructor (#27)
1 parent 6e25866 commit 10962c7

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

cppython/plugins/generator/cmake.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ class CMakeGenerator(Generator):
1818
"""
1919

2020
def __init__(self, pyproject: PyProject, cmake_data: CMakeData) -> None:
21-
super().__init__(pyproject, cmake_data)
21+
"""
22+
TODO
23+
"""
2224

2325
@staticmethod
2426
def name() -> str:

cppython/schema.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,6 @@ class Generator(Plugin, API):
145145
Abstract type to be inherited by CPPython Generator plugins
146146
"""
147147

148-
@abstractmethod
149-
def __init__(self, pyproject: PyProject, generator_data: GeneratorData) -> None:
150-
super().__init__()
151-
152148
@staticmethod
153149
def plugin_group() -> str:
154150
"""

0 commit comments

Comments
 (0)