Skip to content

Commit 3715b7a

Browse files
committed
fix style
1 parent 7d10ca1 commit 3715b7a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/trustyai/initializer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
# distutils is deprecated and removed in Python 3.12+
88
# Use sysconfig instead
99
import sysconfig
10+
1011
def get_python_lib():
1112
"""Fallback implementation of get_python_lib using sysconfig."""
12-
return sysconfig.get_path('purelib')
13+
return sysconfig.get_path("purelib")
14+
15+
1316
import glob
1417
import logging
1518
import os

src/trustyai/visualizations/lime.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ def _matplotlib_plot(
3030
for feature_importance in (
3131
explanations.saliency_map().get(output_name).getPerFeatureImportance()
3232
):
33-
dictionary[
34-
feature_importance.getFeature().name
35-
] = feature_importance.getScore()
33+
dictionary[feature_importance.getFeature().name] = (
34+
feature_importance.getScore()
35+
)
3636

3737
colours = [
3838
(

0 commit comments

Comments
 (0)