Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
eleftherioszisis committed Sep 26, 2024
1 parent 60d1721 commit 71336f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#R0903 - Too Few public methods
#W0511 - TODO in code
#R0401 - cyclic-import
disable=C0103,R0903,W0511,R0401,unspecified-encoding,consider-using-f-string
disable=C0103,R0903,W0511,R0401,unspecified-encoding,consider-using-f-string, too-many-positional-arguments

[FORMAT]
# Maximum number of characters on a single line.
Expand Down
5 changes: 3 additions & 2 deletions tests/features/test_get_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ def test_max_radial_distance():

def test_section_tortuosity():
assert_allclose(
_stats(features.get('section_tortuosity', POP)), (1.0, 4.657, 440.408, 1.342),
_stats(features.get('section_tortuosity', POP)),
(1.0, 4.657, 440.408, 1.342),
rtol=1e-3,
)
assert_allclose(
Expand Down Expand Up @@ -327,7 +328,7 @@ def test_total_length():
assert_allclose(
features.get('total_length', POP, neurite_type=NeuriteType.axon),
[207.8797736031714, 207.81088341560977, 11767.156115224638],
rtol=1e-6
rtol=1e-6,
)
assert_allclose(
features.get('total_length', POP, neurite_type=NeuriteType.apical_dendrite),
Expand Down

0 comments on commit 71336f1

Please sign in to comment.