Skip to content

Commit 8e5c035

Browse files
committed
requirements[dev]: Upgrade typos from ~=1.16.11 to >=1.32.0.
This comfortably maintains installation under lower versions of Python, so move to a simple version constraint. Slightly adjust the title of a FAQ entry, which otherwise generates an error with the upgraded typos tool. Add constraint on codespell, where upgraded versions would fail on Python 3.7.
1 parent 315f071 commit 8e5c035

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/FAQ.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
- [Mouse does not support *performing some action/feature*](#mouse-does-not-support-performing-some-actionfeature)
2222
- [Hotkeys don't work as described](#hotkeys-dont-work-as-described)
2323
- [Zulip-term crashed!](#zulip-term-crashed)
24-
- [Something looks wrong! Where's this feature? There's a bug!](#something-looks-wrong-wheres-this-feature-theres-a-bug)
24+
- [Something looks wrong! Where is this feature? There's a bug!](#something-looks-wrong-where-is-this-feature-theres-a-bug)
2525

2626
## What Python implementations are supported?
2727

@@ -492,7 +492,7 @@ cause of the error, which should be output in such cases:
492492
* version 0.3.1 and earlier: the error is shown on the terminal;
493493
* versions 0.3.2+: the error is present/appended to the file `zulip-terminal-tracebacks.log`.
494494

495-
## Something looks wrong! Where's this feature? There's a bug!
495+
## Something looks wrong! Where is this feature? There's a bug!
496496
Come meet us on the
497497
[#zulip-terminal](https://chat.zulip.org/#narrow/stream/206-zulip-terminal)
498498
stream on *chat.zulip.org*.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def long_description():
3232
"isort~=5.11.0,<5.12.0", # 5.12.0 drops support for Python 3.7, 6.0.0 drops 3.8
3333
"black==23.3.0", # Later versions drop support for Python 3.7
3434
"ruff==0.0.267",
35-
"codespell[toml]~=2.2.5",
36-
"typos~=1.16.11",
35+
"codespell[toml]==2.2.5,<2.2.6", # 2.2.6 drops support for Python 3.7
36+
"typos>=1.32.0",
3737
]
3838

3939
gitlint_deps = [

0 commit comments

Comments
 (0)