Commit Graph

4797 Commits

Author SHA1 Message Date
Darren Burns
78ebdd8818 Import types from typing_extensions 2023-02-07 14:50:29 +00:00
Darren Burns
6de6ed769e Merge branch 'main' of github.com:Textualize/textual into datatable-cell-keys 2023-02-07 13:40:51 +00:00
Darren Burns
cc9e342b40 Sorting 2023-02-07 13:38:21 +00:00
Will McGugan
a6d7747f28 fix 5x5 2023-02-07 12:10:02 +00:00
Will McGugan
78c1059726 Merge pull request #1730 from Textualize/typing-update
Typing update
2023-02-07 12:08:43 +00:00
Will McGugan
f2d96e6e62 or None 2023-02-07 12:01:18 +00:00
Will McGugan
7e7367f8f6 simplify typing 2023-02-07 11:58:55 +00:00
Will McGugan
ad2f3697af fix imports 2023-02-07 11:29:24 +00:00
Will McGugan
6c4adea608 update Mypy 2023-02-07 11:25:36 +00:00
Darren Burns
3cf010ebe7 Testing to ensure the hover coordinate is updated 2023-02-07 11:23:02 +00:00
Darren Burns
0afcc8cd47 Add comment to a test 2023-02-07 11:09:51 +00:00
Darren Burns
3e451e8416 Testing that data inside DataTable events correct on click 2023-02-07 11:09:21 +00:00
Will McGugan
84edd34fa6 typing extensions import 2023-02-07 10:56:04 +00:00
Will McGugan
38140c564b imports 2023-02-07 10:54:29 +00:00
Will McGugan
638d123cf2 poetry lock 2023-02-07 10:52:11 +00:00
Darren Burns
76d2ff2999 Testing clicks in DataTable 2023-02-07 10:49:01 +00:00
Will McGugan
5930ebf82e remove _typing.py 2023-02-07 10:46:28 +00:00
Will McGugan
bcf382d2ff typing of Final 2023-02-07 09:06:08 +00:00
Will McGugan
af7fb9b02a Experiment 2023-02-06 18:01:41 +00:00
Will McGugan
29ba43af01 typealias import 2023-02-06 17:49:12 +00:00
Will McGugan
069ef11df8 Experiment 2023-02-06 17:44:29 +00:00
Will McGugan
fe793b348a remove print 2023-02-06 17:38:08 +00:00
Will McGugan
f803dd8265 type alias 2023-02-06 17:22:01 +00:00
Will McGugan
48124bdc0d fix finals 2023-02-06 17:17:02 +00:00
Darren Burns
60ae08594f Ensure correct indices added in event 2023-02-06 12:53:30 +00:00
Darren Burns
38b361b47f Merge branch 'datatable-cell-keys' of github.com:willmcgugan/textual into datatable-cell-keys 2023-02-06 12:47:38 +00:00
Darren Burns
c9ccbce41b Merge branch 'main' of github.com:willmcgugan/textual into datatable-cell-keys 2023-02-06 12:46:07 +00:00
Will McGugan
fb7fd14262 Merge pull request #1710 from Textualize/line-api-docs
Documented the Line API
2023-02-06 11:42:57 +00:00
Will McGugan
f8577f79d7 review fixes 2023-02-06 11:34:37 +00:00
Will McGugan
b12c5e1cdf typo 2023-02-05 12:12:27 +01:00
Will McGugan
738837fd66 review update 2023-02-05 12:06:48 +01:00
Will McGugan
f56823a733 better diagram 2023-02-04 17:47:49 +01:00
Will McGugan
e81ac17c6c revised copy 2023-02-04 17:35:09 +01:00
Will McGugan
8540900d3b add test for extend_cell_length 2023-02-04 17:16:00 +01:00
Will McGugan
a05398378f diagram tweak 2023-02-04 16:24:40 +01:00
Will McGugan
dc1fce3da7 svg update 2023-02-04 16:13:42 +01:00
Will McGugan
59def1a591 test fix 2023-02-04 16:10:33 +01:00
Will McGugan
de2a4fd78d test fixes 2023-02-04 15:53:00 +01:00
Will McGugan
fb7c1642bc Checker example 4, docs and diagram 2023-02-04 15:40:36 +01:00
Will McGugan
25b498896d checker 4 and diagram 2023-02-04 11:28:07 +01:00
Will McGugan
a5808db8b8 more docs and diagrams 2023-02-03 19:10:03 +01:00
Will McGugan
2ff278874b docs examples and diagrams 2023-02-03 11:23:14 +01:00
Darren Burns
998ee9b8a2 Test to ensure correct exception raised when converting to cell key from coordinate in DataTable 2023-02-02 15:44:25 +00:00
Darren Burns
18aaeaa284 Add explanatory message to an exception in DataTable 2023-02-02 15:41:24 +00:00
Darren Burns
62fb9d58bd Testing conversion of coordinate to cell_key 2023-02-02 15:40:24 +00:00
Darren Burns
87808c63b2 Tidying some tests 2023-02-02 15:29:26 +00:00
Darren Burns
134ceffd11 Testing to ensure column size calculated correctly 2023-02-02 14:20:33 +00:00
Dave Pearson
9f9ccf32d6 Merge pull request #1715 from davep/package-tests
Include the unit tests in the source distribution
2023-02-02 14:15:57 +00:00
Darren Burns
7748b69e95 Initial unit tests around column width updates 2023-02-02 14:12:14 +00:00
Dave Pearson
244372205e Include the unit tests in the source distribution
As requested in #631 and also #1349; this change should cause the tests (and
also the examples from the docs directory which get pulled into the tests)
to be pulled into the sdist.

With this change I can:

- `poetry build`
- Grab and extract the resulting tarball
- `poetry install --extras dev` inside the resulting directory
- `poetry run pytest -vv tests` inside the resulting directory

As I understand the request, I think this should provide everything
necessary.

NOTE: We have spoken about rolling the CLI tools into snapshot tests too, so
if that happens we should remember to make sure that the pipeline outlined
above still works fine.
2023-02-02 13:51:45 +00:00