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:
21
21
run : |
22
22
uvx --with . mypy src/ptpython
23
23
- name : Code formatting
24
+ if : ${{ matrix.python-version == '3.13' }}
24
25
run : |
25
26
uvx ruff check .
26
27
uvx ruff format --check .
28
+ - name : Typos
29
+ if : ${{ matrix.python-version == '3.13' }}
30
+ run : |
31
+ uvx typos .
27
32
- name : Unit test
28
33
run : |
29
34
uvx --with . pytest tests/
30
35
- name : Validate README.md
36
+ if : ${{ matrix.python-version == '3.13' }}
31
37
# Ensure that the README renders correctly (required for uploading to PyPI).
32
38
run : |
33
39
uv pip install readme_renderer
Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ lint.ignore = [
85
85
known-first-party = [" ptpython" ]
86
86
known-third-party = [" prompt_toolkit" , " pygments" , " asyncssh" ]
87
87
88
+ [tool .typos .default ]
89
+ extend-ignore-re = [
90
+ " impotr" # Intentional typo in: ./examples/ptpython_config/config.py
91
+ ]
88
92
89
93
[build-system ]
90
94
requires = [" setuptools>=68" ]
You can’t perform that action at this time.
0 commit comments