1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
# Regular Python comment import os import sys # TODO: Add proper logging def main(): # Regular comment data = {"name": "test", "value": 42} # FIXME: Remove debug print print(f"Data: {data}") # NOTE: This should be configurable config_path = "/etc/myapp/config.yaml" # HACK: Hardcoded for now return data # BUG: Doesn't validate input def process_item(item): """Process an item.""" return item.upper() if __name__ == "__main__": main()