Skip to content

Commit

Permalink
Ran ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary committed Aug 20, 2024
1 parent 8f1e364 commit 6b85388
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pylsp/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,9 @@ def jedi_script(self, position=None, use_document_path=False):
env_vars.pop("PYTHONPATH", None)

environment = self.get_enviroment(environment_path, env_vars=env_vars)
sys_path = self.sys_path(environment_path, env_vars, prioritize_extra_paths, extra_paths)
sys_path = self.sys_path(
environment_path, env_vars, prioritize_extra_paths, extra_paths
)

project_path = self._workspace.root_path

Expand Down Expand Up @@ -584,7 +586,11 @@ def get_enviroment(self, environment_path=None, env_vars=None):
return environment

def sys_path(
self, environment_path=None, env_vars=None, prioritize_extra_paths=False, extra_paths=[]
self,
environment_path=None,
env_vars=None,
prioritize_extra_paths=False,
extra_paths=[],
):
# Copy our extra sys path
path = list(self._extra_sys_path)
Expand Down

0 comments on commit 6b85388

Please sign in to comment.