Use collections.abc.Iterator in typeannotator to align with PEP585.
#710
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| formatter: | |
| name: auto-formatter | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.9 | |
| - name: Install ruff | |
| run: pip install ruff==0.6.9 | |
| - name: Check format | |
| run: python -m ruff format comtypes/. --check --diff | |
| - name: Check lint | |
| run: python -m ruff check --output-format=github comtypes/. |