ignite icon indicating copy to clipboard operation
ignite copied to clipboard

Replace `Optional` typing hints with modern `X | None` syntax in `conftest.py`

Open ramyars466 opened this issue 9 months ago • 1 comments

🐛 Issue / Enhancement

The file tests/conftest.py still uses the older Optional[X] typing syntax from the typing module, which can be replaced with the modern Python 3.10+ X | None syntax for consistency and readability.

📄 File Affected

  • tests/conftest.py

🔧 Suggested Change

Before:

from typing import Optional
Optional[str]

ramyars466 avatar Feb 25 '26 04:02 ramyars466

After thoroughly checking all conftest.py files in the repository, it appears that Optional typing hints were never used in these files. Closing this issue as it was raised incorrectly.

ramyars466 avatar Feb 25 '26 04:02 ramyars466