From 71336f1150da0034f29b1256235b31f498294a33 Mon Sep 17 00:00:00 2001 From: Eleftherios Zisis Date: Thu, 26 Sep 2024 19:34:38 +0200 Subject: [PATCH] Fix lint --- pylintrc | 2 +- tests/features/test_get_features.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pylintrc b/pylintrc index 6ebd4c1c..277b56ce 100644 --- a/pylintrc +++ b/pylintrc @@ -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. diff --git a/tests/features/test_get_features.py b/tests/features/test_get_features.py index 037481a8..b18b4c10 100644 --- a/tests/features/test_get_features.py +++ b/tests/features/test_get_features.py @@ -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( @@ -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),