Will McGugan
493d67cb69
Update docs/guide/design.md
...
Co-authored-by: Dave Pearson <davep@davep.org >
2022-11-07 11:34:50 +00:00
Will McGugan
0af9fed659
added constant, and docstrings
2022-11-07 11:31:09 +00:00
Dave Pearson
efbcbfd7f7
Merge pull request #1125 from overflowy/replace-fstring-with-string
...
Replace f-string without interpolated values with string
2022-11-07 09:46:17 +00:00
Dave Pearson
02368f5c7a
Merge pull request #1127 from aaronst/fix-widgets-pylint
...
fix: pylint no-name-in-module for widgets
2022-11-07 09:40:33 +00:00
Dave Pearson
6b6218823e
Merge pull request #1108 from jspv/main
...
Set `argv` when importing app via `textual run`.
2022-11-07 08:50:24 +00:00
Will McGugan
737aa0b06d
updated description
2022-11-06 18:05:31 +00:00
Will McGugan
5a610bda19
added social cards
2022-11-06 17:53:23 +00:00
Will McGugan
84d62c304e
added RSS
2022-11-06 17:08:08 +00:00
Will McGugan
92b5d06e25
docs cache key
2022-11-06 16:56:51 +00:00
Will McGugan
248cbeaa83
Merge branch 'color-docs' into docs-blog
2022-11-06 16:54:55 +00:00
Will McGugan
ef26795da7
words
2022-11-06 16:54:44 +00:00
Will McGugan
211a4270e4
fix dark mode
2022-11-06 16:29:52 +00:00
Will McGugan
906d23f043
Merge branch 'color-docs' into docs-blog
2022-11-06 16:29:43 +00:00
Will McGugan
44debac54c
fix rich export size
2022-11-06 16:19:58 +00:00
Will McGugan
d76dd66118
fix api index
2022-11-06 16:11:41 +00:00
Will McGugan
f3f7728357
fix tests due to doc change
2022-11-06 16:00:56 +00:00
Will McGugan
a46eda2fa0
Added blog
2022-11-06 15:41:12 +00:00
Aaron Stephens
b03d3ee199
fix: pylint no-name-in-module for widgets
2022-11-05 13:01:59 -07:00
overflowy
5fda005b6f
Replace f-string without interpolated values with string
2022-11-05 19:49:27 +01:00
Will McGugan
8676fb7017
update copy
2022-11-05 15:10:07 +00:00
Will McGugan
cb03076a97
added color docs
2022-11-05 14:52:01 +00:00
Will McGugan
de9a150484
changelog
2022-11-05 13:17:46 +00:00
Will McGugan
ae61749a8d
Merge pull request #1116 from davep/shebang-friendly
...
Let `textual run` run files that don't end in .py
2022-11-05 13:04:54 +00:00
Dave Pearson
76360204b5
Only cover the actual IO with the IOError
...
https://github.com/Textualize/textual/pull/1116#discussion_r1014606445
2022-11-05 09:57:31 +00:00
Dave Pearson
83de33f537
Add missing return type annotation
...
https://github.com/Textualize/textual/pull/1116#discussion_r1014606239
Don't try and cram "a quick change in before dinner", it never ends well.
2022-11-05 09:54:48 +00:00
Dave Pearson
90470d1098
Merge pull request #1114 from overflowy/refactor-block
...
Refactor by swapping if/else, remove unnecessary else, merge nested ifs
2022-11-04 17:42:14 +00:00
Dave Pearson
c0e00919aa
Merge pull request #1113 from overflowy/replace-fstring-with-string
...
Replace f-string without interpolated values with string
2022-11-04 17:40:49 +00:00
Dave Pearson
20f20e3875
Let textual run run files that don't end in .py
...
It's not uncommon to create "standalone" commands in Python that don't end
in a .py and which:
#!/usr/bin/ev python
or a variation on that theme. This commit makes it so that `textual run`
will treat a file that's named and set to run like that as if it were a file
that ends in .py.
See #1106 .
2022-11-04 17:21:55 +00:00
overflowy
0cd699a523
Refactor by swapping if/else, remove unnecessary else, merge nested ifs
2022-11-04 12:08:47 +01:00
overflowy
c889a21f14
Replace f-string without interpolated values with string
2022-11-04 11:59:55 +01:00
Will McGugan
d465d933fd
flush earlier
2022-11-04 09:59:20 +00:00
Will McGugan
219a4f9327
imports
2022-11-04 09:57:01 +00:00
Will McGugan
f10906fc13
comment
2022-11-04 09:55:08 +00:00
Will McGugan
f30814b31a
tweak animation
2022-11-04 09:52:46 +00:00
Will McGugan
ec2a057c70
reduce flushes
2022-11-04 09:44:20 +00:00
Will McGugan
24ec9ac84a
don't block on flush
2022-11-04 09:13:48 +00:00
jspv
13380c5ec7
Merge branch 'Textualize:main' into main
2022-11-03 20:04:43 -04:00
jspv
f55af5f999
set argv when importing app
2022-11-03 19:28:59 -04:00
Will McGugan
4be39235f2
bump update period
2022-11-03 21:35:00 +00:00
Will McGugan
7de6ceea9c
writer thread
2022-11-03 20:45:19 +00:00
Dave Pearson
686f27eb39
Merge pull request #1103 from davep/empty-yield
...
Empty yield
2022-11-03 16:42:04 +00:00
Dave Pearson
a16b6ecd23
Merge branch 'main' into empty-yield
2022-11-03 16:35:25 +00:00
Dave Pearson
9b85a433dd
Tidy up some empty yields
2022-11-03 16:34:54 +00:00
Will McGugan
8cfff549f7
Merge pull request #1095 from davep/mount-relative
...
Add support for mounting widgets relative to other widgets
2022-11-03 16:20:30 +00:00
Dave Pearson
b0d2caf221
Add unit tests for mounting relative to -2
...
To satisfy https://github.com/Textualize/textual/pull/1095#discussion_r1013041338
2022-11-03 15:49:15 +00:00
Dave Pearson
3a771fb3b1
Drop the return type of App._register_child
...
Also add the docstring https://github.com/Textualize/textual/pull/1095#discussion_r1013034272
2022-11-03 15:43:57 +00:00
Dave Pearson
c5d8911d7d
Make black happy again
2022-11-03 15:38:23 +00:00
Dave Pearson
e406df0740
Merge pull request #1102 from davep/there-can-only-be-one
...
Change query_one so that it raises an error on multiple hits
2022-11-03 15:36:05 +00:00
Dave Pearson
724a55a6a2
Merge branch 'mount-relative' of github.com:davep/textual into mount-relative
2022-11-03 15:24:06 +00:00
Dave Pearson
82674ad181
Merge branch 'Textualize:main' into mount-relative
2022-11-03 15:23:09 +00:00