Skip to content

Commit 7d10ca1

Browse files
committed
fix linting
1 parent fab9c3d commit 7d10ca1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# Note: extras temporarily disabled due to aix360 pandas<2.0.0 conflict
3333
- name: Lint
3434
run: |
35-
pylint --ignore-imports=yes $(find src/trustyai -type f -name "*.py")
35+
pylint --ignore-imports=yes $(find src/trustyai -type f -name "*.py" | grep -v "/extras/")
3636
- name: Test with pytest
3737
run: |
3838
pytest -v -s tests/general

src/trustyai/initializer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# Use sysconfig instead
99
import sysconfig
1010
def get_python_lib():
11+
"""Fallback implementation of get_python_lib using sysconfig."""
1112
return sysconfig.get_path('purelib')
1213
import glob
1314
import logging

0 commit comments

Comments
 (0)