23 Commits

Author SHA1 Message Date
Kovid Goyal
a7c65efc45
Ensure local kitty is used in tests even when another kitty is present in the system PATH
Fixes #5194
2022-06-14 21:08:58 +05:30
Kovid Goyal
261057396c
Fix zsh integration test on CI
Also, add various other robustness improvements to the test
2022-02-21 21:17:41 +05:30
Kovid Goyal
595698d8e9
Remove dirs in HOME from PATH wen running tests 2022-02-21 16:57:11 +05:30
Kovid Goyal
f9af273150
Try to convince mypy to play nice 2021-12-23 10:18:42 +05:30
Kovid Goyal
f0e8ab8f31
Drop support for python 3.6
It is being EOLed next month (https://www.python.org/dev/peps/pep-0494/)
which is when I expect the next kitty release as well
2021-11-18 22:44:41 +05:30
Kovid Goyal
66db3f9764
Also sanitize various XDG* env vars when running the test suite 2021-10-31 16:21:33 +05:30
Kovid Goyal
7428d42c16
Restore environ after running tests 2021-10-31 09:20:06 +05:30
Kovid Goyal
99d9cb0b0d
Run tests with HOME set to a tempdir 2021-10-31 08:20:46 +05:30
Kovid Goyal
5be45d0ff2
Turn on all warnings when running test suite 2021-06-26 12:55:53 +05:30
Kovid Goyal
e06d40cb31
Fix test suite getting type checked accidentally 2021-02-19 15:19:04 +05:30
Kovid Goyal
38992e25d7
Make the tests into a package
Useful to make the tests runnable in a frozen build.
2021-02-19 14:35:25 +05:30
Kovid Goyal
efca2658ea
Fix typing issues pointed out by updated mypy 2020-10-12 23:03:07 +05:30
Kovid Goyal
b27f6d5957
more typing work 2020-03-12 14:26:51 +05:30
Kovid Goyal
bb8cab3a02
Add type information for tui operations cmds 2020-03-10 22:25:57 +05:30
Kovid Goyal
7d690bbad2
Run mypy on CI 2020-03-09 18:24:55 +05:30
Kovid Goyal
ac2c21e046
more typing work 2020-03-09 16:13:00 +05:30
Kovid Goyal
7057bc663e
Implement proper editor integration for mypy 2020-03-08 14:39:46 +05:30
Kovid Goyal
1e998b6a3f
Use mypy in daemon mode 2020-03-05 20:38:51 +05:30
Kovid Goyal
d83a450260
A command for test.py to generate the typing stubs and run mypy 2020-03-05 15:58:30 +05:30
Kovid Goyal
462acf037b Remove unused code and pep8 2017-01-09 11:10:41 +05:30
Kovid Goyal
8c0b908222 Allow building with debug symbols
Also allow running individual tests
2016-11-07 13:23:03 +05:30
Kovid Goyal
355bfce189 Implement the fast draw path for single width characters 2016-10-18 11:04:30 +05:30
Kovid Goyal
adaf748852 Framework for testing 2016-10-16 20:36:27 +05:30