Skip to content

Commit

Permalink
Minor docstring fixes from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Salnikov <salnikov@slac.stanford.edu>
  • Loading branch information
timj and andy-slac committed Jul 5, 2023
1 parent 34e0165 commit 4a14897
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/lsst/pipe/base/_quantumContext.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

"""Module Defining variants for valid values used to constrain datasets in a
"""Module defining variants for valid values used to constrain datasets in a
graph building query.
"""

Expand Down
2 changes: 1 addition & 1 deletion python/lsst/pipe/base/graph/quantumNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def from_simple(


class SerializedQuantumNode(BaseModel):
"""Model representing a `QuantumNonde` in serializable form."""
"""Model representing a `QuantumNode` in serializable form."""

quantum: SerializedQuantum
taskLabel: str
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cliCmdRegisterInstrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_repoBasic(self):
)

def test_missing(self):
"""Test a missing argument"""
"""Test a missing argument."""
self.run_missing(["register-instrument"], "Missing argument ['\"]REPO['\"]")
self.run_missing(["register-instrument", "here"], "Missing argument ['\"]INSTRUMENT ...['\"]")

Expand Down
2 changes: 1 addition & 1 deletion tests/test_pipelineTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def run(self, input: int) -> pipeBase.Struct:


class AddTask2(pipeBase.PipelineTask):
"""Example task which overrides adaptArgsAndRun() method."""
"""Example task which overrides runQuantum() method."""

ConfigClass = AddConfig
_DefaultName = "add_task"
Expand Down

0 comments on commit 4a14897

Please sign in to comment.