Skip to content
Open
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
1 change: 1 addition & 0 deletions compass/extraction/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# Can drop once plugins register themselves
from .ghp import COMPASSGeoHeatPumpExtractor
from .geothermal_electricity import COMPASSGeoElectricityExtractor
from .natural_gas import COMPASSNaturalGasExtractor
from .natural_gas_pipelines import COMPASSNaturalGasPipelinesExtractor
from .rmp import COMPASSGeoRMPExtractor
from .small_wind import COMPASSSmallWindExtractor
Expand Down
12 changes: 12 additions & 0 deletions compass/extraction/natural_gas/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""COMPASS natural gas electric generating facilities plugin"""

import importlib.resources

from compass.plugin import create_schema_based_one_shot_extraction_plugin


COMPASSNaturalGasExtractor = create_schema_based_one_shot_extraction_plugin(
importlib.resources.files("compass.extraction.natural_gas")
/ "plugin_config.yaml",
tech="natural_gas",
)

Check failure on line 12 in compass/extraction/natural_gas/__init__.py

View workflow job for this annotation

GitHub Actions / Lint Python Code Base

ruff (missing-newline-at-end-of-file)

compass/extraction/natural_gas/__init__.py:12:2: missing-newline-at-end-of-file: No newline at end of file help: Add trailing newline
Loading
Loading