Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,6 @@ files = ["src", "tests"]
show_error_codes = true
pretty = true

# The following whitelist is used to allow for incremental adoption
# of Mypy. Modules should be removed from this whitelist as and when
# their respective type errors have been addressed. No new modules
# should be added to this whitelist.

[[tool.mypy.overrides]]
module = [
"cleo.ui.table",
]
ignore_errors = true

[tool.coverage.report]
omit = [
"src/cleo/_compat.py",
Expand Down
6 changes: 3 additions & 3 deletions src/cleo/commands/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
from cleo.ui.progress_bar import ProgressBar
from cleo.ui.progress_indicator import ProgressIndicator
from cleo.ui.question import Question
from cleo.ui.table import Rows
from cleo.ui.table import Table
from cleo.ui.table import _Rows


class Command(BaseCommand):
Expand Down Expand Up @@ -184,7 +184,7 @@ def create_question(
def table(
self,
header: str | None = None,
rows: _Rows | None = None,
rows: Rows | None = None,
style: str | None = None,
) -> Table:
"""
Expand All @@ -210,7 +210,7 @@ def table_separator(self) -> TableSeparator:

return TableSeparator()

def render_table(self, headers: str, rows: _Rows, style: str | None = None) -> None:
def render_table(self, headers: str, rows: Rows, style: str | None = None) -> None:
"""
Format input to textual table.
"""
Expand Down
Empty file added src/cleo/py.typed
Empty file.
Loading