Closed marco-carvalho closed 1 month ago
If this runs via Github actions, why does it need to be in requirements.txt?
@ValueRaider fixed!
Does this require type hints in code to be useful?
Yes, Pyright will be most useful with type hints included in the code. While it can still check basic type correctness in code without type hints, its full potential is realized when explicit type annotations are used. This enhances its ability to catch type-related issues early during development, improving overall code quality and maintainability.
Overview
This PR introduces Pyright, a static type checker for Python, into the yfinance project. The purpose is to ensure type safety and improve code quality by identifying type-related issues during development.
Benefits
Changes
pyright.yml
that triggers on pull requests to the master and main branches for automatic type checking.