Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
5 changes: 4 additions & 1 deletion cppython/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ class Project(API):

def __init__(self, interface: Interface, pyproject: PyProject) -> None:

self.enabled = pyproject.cppython != None
self.enabled = pyproject.cppython is not None

if not self.enabled:
return

self._interface = interface

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