Files
prompts/prompts/CODE_STYLEGUIDE_PYTHON.md
sneak e97b48eea4
All checks were successful
check / check (push) Successful in 9s
Fix review issues: front matter, headings, consistency, typos
- Move title and last_modified to YAML front matter (all policy docs)
- Make all document sections H1, subsections H2
- Update version rule to reference front matter format
- Fix "our" → "your" typo in Go styleguide
- Fix Python styleguide numbering (2. → 1.)
- Fix README: "flat collection" → accurate description, remove stale TODO
- Remove Makefile items from code styleguides (repo stuff, not code),
  add note linking to Repository Policies
- Change zerolog → slog in Go styleguide
- Fix JS styleguide npm reference: both work, but use make targets
- Drop .json from healthcheck path, add JSON content-type requirement
- Add Author/License to Go HTTP Server Conventions
- Convert hyperlinks to backtick URLs in checklists for consistency
- Add version/front matter to both checklists
2026-02-22 17:15:06 +01:00

521 B

title, last_modified
title last_modified
Code Styleguide — Python 2026-02-22
  1. Format all code with black, with four space indents.

  2. Put all code in functions. If you are writing a script, put the script in a function called main and call main() at the end of the script using the standard invocation:

    if __name__ == "__main__":
        main()
    

Author

@sneak <sneak@sneak.berlin>

License

MIT. See LICENSE.