aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib/code/language.py
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-05-31 08:56:17 +0500
committermat <git@matdoes.dev>2025-05-30 19:22:09 -0845
commitf27c87b291a920376e006a470efb353dee46ed17 (patch)
treef1720081b856c5b7b96ab8111e6de4233f884e75 /codegen/lib/code/language.py
parente37524899eef8a0034faee35cef4bbf1ba779a7d (diff)
downloadazalea-drasl-f27c87b291a920376e006a470efb353dee46ed17.tar.xz
more formatting fixes
Diffstat (limited to 'codegen/lib/code/language.py')
-rw-r--r--codegen/lib/code/language.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/codegen/lib/code/language.py b/codegen/lib/code/language.py
index d27dde81..ff3e6906 100644
--- a/codegen/lib/code/language.py
+++ b/codegen/lib/code/language.py
@@ -1,8 +1,9 @@
from lib.utils import get_dir_location
import json
-LANGUAGE_DIR = get_dir_location('../azalea-language/src/en_us.json')
+LANGUAGE_DIR = get_dir_location("../azalea-language/src/en_us.json")
+
def write_language(contents: dict):
- with open(LANGUAGE_DIR, 'w') as f:
- f.write(json.dumps(contents, indent=' ')) \ No newline at end of file
+ with open(LANGUAGE_DIR, "w") as f:
+ f.write(json.dumps(contents, indent=" "))