Skip to content

Commit

Permalink
See #ANT-1267 Change annotations for instance fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmnz authored and tbittar committed Mar 13, 2024
1 parent 823d851 commit e500cdb
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/andromede/simulation/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,16 @@


class CommandRunner:
current_dir: pathlib.Path
command: pathlib.Path
arguments: List[str]
emplacement: pathlib.Path

def __init__(
self,
binary_path: pathlib.Path,
list_arguments: List[str],
emplacement: pathlib.Path,
) -> None:
self.current_dir = pathlib.Path().cwd()
self.command = binary_path
self.emplacement = emplacement
self.arguments = list_arguments
self.current_dir: pathlib.Path = pathlib.Path().cwd()
self.command: pathlib.Path = binary_path
self.emplacement: pathlib.Path = emplacement
self.arguments: List[str] = list_arguments

def check_command(self) -> bool:
if not self.command.is_file():
Expand Down

0 comments on commit e500cdb

Please sign in to comment.