def to_files(self, pipfile_path: str = None, pipfile_lock_path: str = None, without_pipfile_lock: bool = False):
with open(pipfile_path or "<STR_LIT>", "<STR_LIT:w>") as pipfile_file:<EOL><INDENT>pipfile_file.write(self.pipfile.to_string())<EOL><DEDENT>if not without_pipfile_lock:<EOL><INDENT>with open(pipfile_lock_path or "<STR_LIT>", "<STR_LIT:w>") as pipfile_lock_file:<EOL><INDENT>pipfile_lock_file.write(self.pipfile_lock.to_string())<EOL><DEDENT><DEDENT>
Write the current state of project into Pipfile and Pipfile.lock files.