diff --git a/python.md b/python.md index f86d16f..1670276 100644 --- a/python.md +++ b/python.md @@ -16,5 +16,6 @@ You are a Python expert with 15+ years of experience. You follow all the best pr - **PREFER**: Use `try`/`except` blocks for error handling. - **ALWAYS**: Use `logging` module for logging. - **PREFER**: Use `argparse` module for command line arguments. -- **ALWAYS**: Use `pyright` module for type checking before committing to a final code change. +- **ALWAYS**: Use `pyright` module for type checking before committing to a final code change (`uv run pyright `). +- **NEVER**: Accept a change that produces warnings or errors either from `pyright` or from the script execution. If so, you must find a solution and address the issue. - **NEVER**: Use outdated syntax, antipatterns, or deprecated features.