Skip to content

Commit 6fd90a9

Browse files
authored
Import OS in pylint rcfile. (Azure#23806)
1 parent 3220697 commit 6fd90a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ reports=no
55
# PYLINT DIRECTORY BLACKLIST.
66
ignore=_vendor,_generated,samples,examples,test,tests,doc,.tox
77

8-
init-hook='import sys; sys.path.insert(0, os.path.abspath(os.getcwd().rsplit("azure-sdk-for-python", 1)[0] + "azure-sdk-for-python/scripts/pylint_custom_plugin"))'
8+
init-hook='import sys; import os; sys.path.insert(0, os.path.abspath(os.getcwd().rsplit("azure-sdk-for-python", 1)[0] + "azure-sdk-for-python/scripts/pylint_custom_plugin"))'
99
load-plugins=pylint_guidelines_checker
1010

1111
[MESSAGES CONTROL]

0 commit comments

Comments
 (0)