mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
linter: Add lint rule banning 'import os.path'
This commit is contained in:
committed by
Tim Abbott
parent
f965a156a9
commit
928dd06cc8
@@ -3,7 +3,7 @@ Use libraries from a virtualenv (by modifying sys.path) in production.
|
||||
Also add Zulip's root directory to sys.path
|
||||
"""
|
||||
|
||||
import os.path
|
||||
import os
|
||||
import sys
|
||||
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
Reference in New Issue
Block a user