Sfoglia il codice sorgente

refactor: change pass → docstring for tests

main
Rob Hallam 2 mesi fa
parent
commit
2a3973091b
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      pipeline/feature_extractors.py

+ 3
- 3
pipeline/feature_extractors.py Vedi File

@@ -17,13 +17,13 @@ class FeatureExtractor(ABC):
"""Feature extractor interface."""
# TODO: #API -- decide if .features will be a member variable
def setup(self):
pass
"""Setup the feature extractor -- validate input files & config"""

def run(self):
pass
"""Run the feature extractor -- extract features"""

def teardown(self):
pass
"""Teardown the feature extractor -- clean up any temporary files created during setup"""

class LaughterFeatureExtractor(FeatureExtractor):
"""Feature extractor for laughter detection.


Caricamento…
Annulla
Salva