Skip to content

Commit

Permalink
Format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lpozo committed Nov 7, 2023
1 parent a5e13b0 commit e7c2eba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion game-of-life-python/source_code_final/rplife/patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ def get_pattern(name, file_name=PATTERNS_FILE):

def get_all_patterns(file_name=PATTERNS_FILE):
data = tomllib.loads(file_name.read_text(encoding="utf-8"))
return [Pattern.from_toml(name, toml_data) for name, toml_data in data.items()]
return [
Pattern.from_toml(name, toml_data) for name, toml_data in data.items()
]

0 comments on commit e7c2eba

Please sign in to comment.