File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ` ).
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments