Skip to content

Commit

Permalink
style: fix flake8 ignore comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnighter committed May 26, 2021
1 parent 60003be commit 5d9afab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/memote/suite/cli/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def history(
skip,
exclusive,
experimental=None,
): # noqa: D301
):
"""
Re-compute test results for the git branch history.
Expand All @@ -466,7 +466,7 @@ def history(
2. By giving memote specific commit hashes, it will re-compute test results
for those only. This can also be achieved by supplying a commit range.
"""
""" # noqa: D301
# callbacks.validate_path(model)
callbacks.git_installed()
if location is None:
Expand Down
4 changes: 2 additions & 2 deletions src/memote/support/consistency_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def rank(matrix, atol=1e-13, rtol=0):
return int((sigma >= tol).sum())


def nullspace(matrix, atol=1e-13, rtol=0.0): # noqa: D402
def nullspace(matrix, atol=1e-13, rtol=0.0):
"""
Compute an approximate basis for the null space (kernel) of a matrix.
Expand Down Expand Up @@ -180,7 +180,7 @@ def nullspace(matrix, atol=1e-13, rtol=0.0): # noqa: D402
Adapted from:
https://scipy.github.io/old-wiki/pages/Cookbook/RankNullspace.html
"""
""" # noqa: D402
matrix = np.atleast_2d(matrix)
_, sigma, vh = svd(matrix)
tol = max(atol, rtol * sigma[0])
Expand Down

0 comments on commit 5d9afab

Please sign in to comment.