Set rulers only for Python.