Skip to content

Commit 2489a14

Browse files
committed
Çhange all the references of mypy to ty
1 parent 96c86dd commit 2489a14

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

AGENTS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
- Lint: `ruff check` (add `--fix` to auto-fix)
2121
- Format: `ruff format`
2222

23-
### Mypy (type checking)
24-
- Repo-wide (recommended): `mypy --explicit-package-bases .`
25-
- Per-package: `mypy --explicit-package-bases litecli`
23+
## ty (type checking)
24+
25+
- Repo-wide `ty check -v`
26+
- Per-package: `ty check litecli -v`
2627
- Notes:
2728
- Config is in `pyproject.toml` (target Python 3.9, stricter settings).
28-
- Use `--explicit-package-bases` to avoid module discovery issues when running outside tox.
2929

3030
## Coding Style & Naming Conventions
3131
- Formatter/linter: Ruff (configured via `.pre-commit-config.yaml` and `tox`).

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.18.0
2+
3+
### Internal
4+
5+
- Switch mypy to ty for type checking. [(#242)](https://github.com/dbcli/litecli/pull/242/files)
6+
17
## 1.17.0 - 2025-09-28
28

39
### Features

litecli/clistyle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,5 @@ class OutputStyle(PygmentsStyle):
111111
default_style = ""
112112
styles = style
113113

114-
# mypy does not complain only ty complains: error[invalid-return-type]: Return type does not match returned value. Hence added cast.
114+
# mypy does not complain but ty complains: error[invalid-return-type]: Return type does not match returned value. Hence added cast.
115115
return cast(OutputStyle, PygmentsStyle)

0 commit comments

Comments
 (0)