Spaces:
Running
Running
|
Download .github/copilot-instructions.md from barunsaha/slide-deck-ai: direct link, hf CLI and curl.
- Browser
- Download file 789 Bytes
-
https://huggingface.co/spaces/barunsaha/slide-deck-ai/resolve/main/.github/copilot-instructions.md
- Command line
-
hf download hf://spaces/barunsaha/slide-deck-ai/.github/copilot-instructions.md
-
curl -L -o copilot-instructions.md https://huggingface.co/spaces/barunsaha/slide-deck-ai/resolve/main/.github/copilot-instructions.md
789 Bytes
A newer version of the Streamlit SDK is available: 1.66.1
- In Python code, always use single quote for strings unless double quotes are necessary. Use triple double quotes for docstrings.
- When defining functions, always include type hints for parameters and return types.
- Except for logs, use f-strings for string formatting instead of other methods like % or .format().
- Use Google-style docstrings for all functions and classes.
- Two blank lines should precede top-level function and class definitions. One blank line between methods inside a class.
- Max line length is 100 characters. Use brackets to break long lines. Wrap long strings (or expressions) inside ( and ).
- Split long lines at braces, e.g., like this: my_function( param1, param2 ) NOT like this: my_function(param1, param2)