Skip to content

Commit

Permalink
Run newest ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed Jan 27, 2025
1 parent 5801e4a commit 4abba6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/komodoenv/creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def create(self):
tracked-release = {self.trackpath.name}
mtime-release = 0
python-version = {self.srcpy.version_info[0]}.{self.srcpy.version_info[1]}
komodoenv-version = {distribution('komodoenv').version}
komodoenv-version = {distribution("komodoenv").version}
komodo-root = {self.komodo_root}
linux-dist = {distro.id() + distro.version_parts()[0]}
""",
Expand Down
2 changes: 1 addition & 1 deletion src/komodoenv/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def call(self, args=None, env=None, script=None):
# Prepend '-' to tell Python to read from stdin
args = ["-", *args]

env["PATH"] = f'{self.executable.parent.absolute()}:{os.environ["PATH"]}'
env["PATH"] = f"{self.executable.parent.absolute()}:{os.environ['PATH']}"
env["LD_LIBRARY_PATH"] = f"{self.komodo_prefix}/lib64:{self.komodo_prefix}/lib"

args = [self.executable, *args]
Expand Down

0 comments on commit 4abba6a

Please sign in to comment.