File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,19 @@ jobs:
2121 run : |
2222 uvx --with . mypy src/ptpython
2323 - name : Code formatting
24+ if : ${{ matrix.python-version == '3.13' }}
2425 run : |
2526 uvx ruff check .
2627 uvx ruff format --check .
28+ - name : Typos
29+ if : ${{ matrix.python-version == '3.13' }}
30+ run : |
31+ uvx typos .
2732 - name : Unit test
2833 run : |
2934 uvx --with . pytest tests/
3035 - name : Validate README.md
36+ if : ${{ matrix.python-version == '3.13' }}
3137 # Ensure that the README renders correctly (required for uploading to PyPI).
3238 run : |
3339 uv pip install readme_renderer
Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ lint.ignore = [
8585known-first-party = [" ptpython" ]
8686known-third-party = [" prompt_toolkit" , " pygments" , " asyncssh" ]
8787
88+ [tool .typos .default ]
89+ extend-ignore-re = [
90+ " impotr" # Intentional typo in: ./examples/ptpython_config/config.py
91+ ]
8892
8993[build-system ]
9094requires = [" setuptools>=68" ]
You can’t perform that action at this time.
0 commit comments