Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudon committed Nov 14, 2024
1 parent 52fa5c0 commit 73141b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
# for some of the options that are available

[MESSAGES CONTROL]
disable=C0103,R0904,R0903,W0511,R0801,R0401,I0013,W0622,C0325,R0205,W1201,W0621,R0913,R0914,C0415,W0719
disable=C0103,R0904,R0903,W0511,R0801,R0401,I0013,W0622,C0325,R0205,W1201,W0621,R0913,R0914,C0415,W0719,E0606

[FORMAT]
# Maximum number of characters on a single line.
max-line-length=100

[DESIGN]
# Maximum number of arguments for function / method
max-args=8
max-args=20
max-positional-arguments=30
# Argument names that match this expression will be ignored. Default to name
# with leading underscore
ignored-argument-names=_.*
Expand Down
5 changes: 4 additions & 1 deletion tests/test_pygenstability.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pytest
from numpy.testing import assert_almost_equal

import numpy as np
import yaml
from dictdiffer import diff

Expand All @@ -27,6 +26,10 @@ def test_run(graph, graph_non_connected, graph_directed, graph_signed):

results = pgs.run(graph_directed, min_scale=-1, max_scale=0, n_scale=5)

# test with_all_tries
results = pgs.run(graph_directed, min_scale=-1, max_scale=0, n_scale=5, with_all_tries=True)
assert "all_tries" in results

# test we don't use spectral for directed
results = pgs.run(graph_directed, min_scale=-1, max_scale=0, n_scale=5, constructor="directed")
assert results is not None
Expand Down

0 comments on commit 73141b5

Please sign in to comment.