Skip to content

Commit

Permalink
fix docs formats
Browse files Browse the repository at this point in the history
  • Loading branch information
giannisdoukas committed Jun 9, 2020
1 parent 8bd2920 commit 7c23467
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cwlkernel/CWLBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CWLSnippetBuilder(CWLBuilder):
_code: str

def __init__(self):
"""Initialize a snippet builder with an empty code"""
"""Initialize a snippet builder with an empty code."""
self._code = ""

def append(self, code: str, indent: int = 0) -> None:
Expand Down
2 changes: 1 addition & 1 deletion cwlkernel/CWLExecuteConfigurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CWLExecuteConfigurator:
}

def __init__(self):
"""kernel configurations"""
"""kernel configurations."""
for property, (default_value, validator) in self.properties.items():
value = os.environ.get(property, default_value)
if not validator(value):
Expand Down
7 changes: 3 additions & 4 deletions cwlkernel/CWLKernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@


class CWLKernel(Kernel):
"""Jupyter Notebook kernel for CWL"""

"""Jupyter Notebook kernel for CWL."""
implementation = 'CWLKernel'
implementation_version = '0.1'
language_version = '1.0'
Expand Down Expand Up @@ -196,9 +197,7 @@ def _is_cwl(self, code: Dict):
return 'cwlVersion' in code.keys()

def get_pid(self) -> Tuple[int, int]:
"""
:return: The process id and his parents id
"""
""":return: The process id and his parents id."""
return self._pid


Expand Down

0 comments on commit 7c23467

Please sign in to comment.