This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

remove reminants and mypy and flake8 OK

Jay Krishnan (Jul 20, 2026, 10:08 AM +0200) f6827dc5 9e92581b

+47 -16
__pycache__/elements.cpython-310.pyc

This is a binary file and will not be displayed.

+8 -1
alchemy/__init__.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 10:06:29 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 13:29:54 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/20 10:03:38 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 ··· 15 15 from alchemy.potions import healing_potion as heal 16 16 from alchemy.potions import strength_potion 17 17 from alchemy.transmutation.recipes import lead_to_gold 18 + 19 + __all__ = [ 20 + "create_air", 21 + "heal", 22 + "strength_potion", 23 + "lead_to_gold", 24 + ]
alchemy/__pycache__/__init__.cpython-310.pyc

This is a binary file and will not be displayed.

alchemy/__pycache__/elements.cpython-310.pyc

This is a binary file and will not be displayed.

alchemy/__pycache__/potions.cpython-310.pyc

This is a binary file and will not be displayed.

+10 -2
alchemy/grimoire/__init__.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 13:41:58 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 14:49:07 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/20 10:03:27 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 14 - from .light_spellbook import light_spell_allowed_ingredients, light_spell_record 14 + from .light_spellbook import ( 15 + light_spell_allowed_ingredients, 16 + light_spell_record, 17 + ) 18 + 19 + __all__ = [ 20 + "light_spell_record", 21 + "light_spell_allowed_ingredients", 22 + ]
alchemy/grimoire/__pycache__/__init__.cpython-310.pyc

This is a binary file and will not be displayed.

alchemy/grimoire/__pycache__/dark_spellbook.cpython-310.pyc

This is a binary file and will not be displayed.

alchemy/grimoire/__pycache__/dark_validator.cpython-310.pyc

This is a binary file and will not be displayed.

alchemy/grimoire/__pycache__/light_spellbook.cpython-310.pyc

This is a binary file and will not be displayed.

alchemy/grimoire/__pycache__/light_validator.cpython-310.pyc

This is a binary file and will not be displayed.

+2 -2
alchemy/grimoire/dark_spellbook.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 14:31:50 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 14:35:21 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/20 10:05:04 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 ··· 15 15 from .dark_validator import validate_ingredients 16 16 17 17 18 - def dark_spell_allowed_ingredients() -> list[str] : 18 + def dark_spell_allowed_ingredients() -> list[str]: 19 19 allowed_ingredients: list[str] = ["bats", "frogs", "arsenic", "eyeball"] 20 20 return (allowed_ingredients) 21 21
+2 -2
alchemy/grimoire/light_spellbook.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 13:42:09 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 14:47:50 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/20 10:05:10 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 14 14 15 - def light_spell_allowed_ingredients() -> list[str] : 15 + def light_spell_allowed_ingredients() -> list[str]: 16 16 allowed_ingredients: list[str] = ["earth", "air", "fire", "water"] 17 17 return (allowed_ingredients) 18 18
+5 -1
alchemy/transmutation/__init__.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 13:17:04 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 13:26:20 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/20 10:04:04 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 14 14 from .recipes import lead_to_gold 15 + 16 + __all__ = [ 17 + "lead_to_gold", 18 + ]
alchemy/transmutation/__pycache__/__init__.cpython-310.pyc

This is a binary file and will not be displayed.

alchemy/transmutation/__pycache__/recipes.cpython-310.pyc

This is a binary file and will not be displayed.

+7 -2
alchemy/transmutation/recipes.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 12:23:39 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 12:49:56 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/20 10:07:06 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 ··· 17 17 18 18 19 19 def lead_to_gold() -> str: 20 - return (f"Recipe transmuting Lead to Gold: brew ’{local_elements.create_air()}’ and ’{potions.strength_potion()}’ mixed with ’{root_elements.create_fire()}’") 20 + return ( 21 + f"Recipe transmuting Lead to Gold: brew" 22 + f"’{local_elements.create_air()}’ and" 23 + f"’{potions.strength_potion()}’ mixed " 24 + f"with ’{root_elements.create_fire()}’" 25 + )
+6 -2
ft_kaboom_0.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 14:35:38 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 14:43:15 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/20 09:53:31 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 ··· 16 16 if __name__ == "__main__": 17 17 print("=== Kaboom 0 ===") 18 18 print("Using grimoire module directly") 19 - print(f"Testing record light spell: {alchemy.grimoire.light_spell_record('Fantasy', 'Earth, wind and fire')}") 19 + record = alchemy.grimoire.light_spell_record( 20 + 'Fantasy', 21 + 'Earth, wind and fire' 22 + ) 23 + print(f"Testing record light spell: {record}")
+2 -2
ft_kaboom_1.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 14:51:23 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 14:58:17 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/20 10:07:15 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 ··· 17 17 print("Access to alchemy/grimoire/dark_spellbook.py directly") 18 18 print("Test import now - THIS WILL RAISE AN UNCAUGHT EXCEPTION") 19 19 from alchemy.grimoire.dark_spellbook import dark_spell_record 20 - print(f"{dark_spell_record('Fantasy', 'Earth, wind and fire')}") 20 + print(f"{dark_spell_record('Fantasy', 'Earth, wind and fire')}")
+5 -2
ft_transmutation_0.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 12:37:32 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 12:48:44 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/20 10:07:53 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 ··· 16 16 if __name__ == "__main__": 17 17 print("=== Transmutation 0 ===") 18 18 print("Using file alchemy/transmutation/recipes.py directly") 19 - print(f"Testing lead to gold: {alchemy.transmutation.recipes.lead_to_gold()}") 19 + print( 20 + f"Testing lead to gold: " 21 + f"{alchemy.transmutation.recipes.lead_to_gold()}" 22 + )