# python > Guidelines when creating, reading, updating, or deleting Python code - Author: joeyagreco - Repository: joeyagreco/dotfiles - Version: 20260121120603 - Stars: 3 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/joeyagreco/dotfiles - Web: https://mule.run/skillshub/@@joeyagreco/dotfiles~python:20260121120603 --- --- name: python description: Guidelines when creating, reading, updating, or deleting Python code --- # Makefile Formatting ## Instructions ### imports Imports should always be at the top of the file. NEVER have local imports unless it is 100% necessary. ### formatting For big numbers, use _ to make numbers more clear BAD: `foo = 1000` GOOD: `foo = 1_000` ### __init__.py files Do not add anything inside of `__init__.py` files unless it is absolutely necessary or you are explicitly asked to. ### function parameters Functions with more than 1 parameter should use `*` to enforce keyword arguments. BAD: `def foo(a, b, c): ...` GOOD: `def foo(*, a, b, c): ...`