Commit Graph

22 Commits

Author SHA1 Message Date
Will McGugan
cab4925eaa New CLI runner (#2338)
* New CLI runner

* runner functionality

* Add port

* use env for port

* changelog

* test fix

* flush

* remove constant

* comment

* tidy docs

* docstrings

* punctuation

* docstring

* fix test

* snapshot

* Update src/textual/cli/cli.py

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>

* guard against bad imports

* guard againsts screenshot

* always print return

* docstrings

* docstrings

---------

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-04-20 17:09:39 +01:00
Rodrigo Girão Serrão
bb2c31ba35 Add --port option to textual console. (#2258)
* Add --port option to textual console.

* Changelog.

* Address review feedback.

* Mark unpredictable test as xfail.

This test gets an xfail mark until #2254 is open.

* Make DEVTOOLS_PORT a constant.

Related review: https://github.com/Textualize/textual/pull/2258\#discussion_r1165210395

* Factor logic into function.

Related review: https://github.com/Textualize/textual/pull/2258\#discussion_r1165298259

* Remove dead import.
2023-04-13 11:57:35 +01:00
Darren Burns
9287f64a66 Add isort pre-commit hook, sort imports in src and test directories 2023-02-09 13:28:08 +00:00
Darren Burns
1b0c94e8a0 Remove draw.py, fix imports 2022-10-13 11:15:15 +01:00
Will McGugan
13e3473f56 test fix 2022-09-15 15:42:43 +01:00
Will McGugan
8d1c624a3e remove fixture 2022-09-02 13:00:28 +01:00
Will McGugan
08a01dee91 remove fixture 2022-09-02 13:00:03 +01:00
Will McGugan
15d993d51d test fix 2022-09-01 15:44:26 +01:00
Will McGugan
d20f1299f6 timezone fix 2022-05-13 16:59:47 +01:00
Will McGugan
53837c1a81 force highest protocol 2022-05-13 16:52:15 +01:00
Will McGugan
f26d917a72 fix tests for 3.8 2022-05-13 16:45:50 +01:00
Will McGugan
f7fb6f613a test fix 2022-05-13 16:38:09 +01:00
Darren Burns
7ba8272318 Merge branch 'css' into windows-ci 2022-05-04 12:31:19 +01:00
Darren Burns
d23154b391 Skip devtools tests on Windows too due to connection issue 2022-05-04 12:30:17 +01:00
Darren Burns
b973234433 Fix skipif expression 2022-05-04 10:48:27 +01:00
Darren Burns
5e220b9468 Remove unused imports 2022-05-04 10:31:11 +01:00
Darren Burns
74540d0f6c Skip CI-based MacOS devtools tests 2022-05-04 10:21:31 +01:00
Darren Burns
619baed2a8 Update failing test 2022-04-19 17:19:06 +01:00
Darren Burns
2ff1c9d64a Textual console CLI command 2022-04-19 11:55:50 +01:00
Darren Burns
79fbabee0d Test redirecting to logfile 2022-04-14 11:16:53 +01:00
Darren Burns
3b40eb828b Redirecting stdout to both devtools and logfile 2022-04-14 11:10:47 +01:00
Darren Burns
b75d384d42 Testing devtools print forwarding 2022-04-12 16:18:13 +01:00