Skip to content

Commit 2ecf041

Browse files
committed
apply pre-commit
1 parent 5ac6891 commit 2ecf041

File tree

66 files changed

+82
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+82
-78
lines changed

.github/ISSUE_TEMPLATE/task.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ labels: ''
66
assignees: ''
77

88
---
9-
10-

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ enforcement ladder](https://github.com/mozilla/diversity).
125125

126126
For answers to common questions about this code of conduct, see the FAQ at
127127
https://www.contributor-covenant.org/faq. Translations are available at
128-
https://www.contributor-covenant.org/translations.
128+
https://www.contributor-covenant.org/translations.

docs/blog/images/faster-updates.excalidraw.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/blog/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
# Textual Blog
2-

docs/blog/posts/helo-world.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ Welcome to the first post on the Textual blog.
1616
I plan on using this as a place to make announcements regarding new releases of Textual, and any other relevant news.
1717

1818
The first piece of news is that we've reorganized this site a little. The Events, Styles, and Widgets references are now under "Reference", and what used to be under "Reference" is now "API" which contains API-level documentation. I hope that's a little clearer than it used to be!
19-

docs/blog/posts/release0-6-0.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,3 @@ As always, there are a number of fixes in this release. Mostly related to layout
103103
## What's next?
104104

105105
The next release will focus on *pain points* we discovered while in a dog-fooding phase (see the [DevLog](https://textual.textualize.io/blog/category/devlog/) for details on what Textual devs have been building).
106-

docs/examples/app/event01.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from textual.app import App
21
from textual import events
2+
from textual.app import App
33

44

55
class EventApp(App):

docs/examples/app/question01.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from textual.app import App, ComposeResult
2-
from textual.widgets import Label, Button
2+
from textual.widgets import Button, Label
33

44

55
class QuestionApp(App[str]):

docs/examples/app/question03.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from textual.app import App, ComposeResult
2-
from textual.widgets import Label, Button
2+
from textual.widgets import Button, Label
33

44

55
class QuestionApp(App[str]):

docs/examples/guide/actions/actions01.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from textual.app import App
21
from textual import events
2+
from textual.app import App
33

44

55
class ActionsApp(App):

docs/examples/guide/dom2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from textual.app import App, ComposeResult
2-
from textual.widgets import Header, Footer
2+
from textual.widgets import Footer, Header
33

44

55
class ExampleApp(App):

docs/examples/guide/styles/box_sizing01.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from textual.app import App, ComposeResult
22
from textual.widgets import Static
33

4-
54
TEXT = """I must not fear.
65
Fear is the mind-killer.
76
Fear is the little-death that brings total obliteration.

docs/examples/guide/styles/dimensions01.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from textual.app import App, ComposeResult
22
from textual.widgets import Static
33

4-
54
TEXT = """I must not fear.
65
Fear is the mind-killer.
76
Fear is the little-death that brings total obliteration.

docs/examples/guide/styles/dimensions02.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from textual.app import App, ComposeResult
22
from textual.widgets import Static
33

4-
54
TEXT = """I must not fear.
65
Fear is the mind-killer.
76
Fear is the little-death that brings total obliteration.

docs/examples/guide/styles/dimensions03.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from textual.app import App, ComposeResult
22
from textual.widgets import Static
33

4-
54
TEXT = """I must not fear.
65
Fear is the mind-killer.
76
Fear is the little-death that brings total obliteration.

docs/examples/guide/styles/dimensions04.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from textual.app import App, ComposeResult
22
from textual.widgets import Static
33

4-
54
TEXT = """I must not fear.
65
Fear is the mind-killer.
76
Fear is the little-death that brings total obliteration.

docs/examples/guide/styles/margin01.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from textual.app import App, ComposeResult
22
from textual.widgets import Static
33

4-
54
TEXT = """I must not fear.
65
Fear is the mind-killer.
76
Fear is the little-death that brings total obliteration.

docs/examples/guide/styles/outline01.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from textual.app import App, ComposeResult
22
from textual.widgets import Static
33

4-
54
TEXT = """I must not fear.
65
Fear is the mind-killer.
76
Fear is the little-death that brings total obliteration.

docs/examples/guide/styles/padding01.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from textual.app import App, ComposeResult
22
from textual.widgets import Static
33

4-
54
TEXT = """I must not fear.
65
Fear is the mind-killer.
76
Fear is the little-death that brings total obliteration.

docs/examples/guide/styles/padding02.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from textual.app import App, ComposeResult
22
from textual.widgets import Static
33

4-
54
TEXT = """I must not fear.
65
Fear is the mind-killer.
76
Fear is the little-death that brings total obliteration.

docs/examples/guide/widgets/checker03.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
from __future__ import annotations
22

3+
from rich.segment import Segment
4+
35
from textual.app import App, ComposeResult
46
from textual.geometry import Size
5-
from textual.strip import Strip
67
from textual.scroll_view import ScrollView
7-
8-
from rich.segment import Segment
8+
from textual.strip import Strip
99

1010

1111
class CheckerBoard(ScrollView):

docs/examples/guide/widgets/checker04.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
from __future__ import annotations
22

3+
from rich.segment import Segment
4+
from rich.style import Style
5+
36
from textual import events
47
from textual.app import App, ComposeResult
58
from textual.geometry import Offset, Region, Size
69
from textual.reactive import var
7-
from textual.strip import Strip
810
from textual.scroll_view import ScrollView
9-
10-
from rich.segment import Segment
11-
from rich.style import Style
11+
from textual.strip import Strip
1212

1313

1414
class CheckerBoard(ScrollView):

docs/images/actions/format.excalidraw.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)