Skip to content

Commit 2f45927

Browse files
committed
add ruff to pyproject dev-group
1 parent 2e8da0b commit 2f45927

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
## Added
1111

1212
- Deployed online documentation: https://flet-dev.github.io/flet-datatable2/
13-
- New enums:
14-
- `DataColumnSize`
13+
- New enums: `DataColumnSize`
1514

1615
### Changed
1716

18-
- Refactored `DataTable2`, `DataColumn2` and `DataRow2` controls to use `@flet.control` dataclass-style definition.
17+
- Refactored all controls to use `@flet.control` dataclass-style definition.
1918
- Additionally, they are now all based on their flet counterparts:
20-
- `DataTable2` is now based on `flet.DataTable`
21-
- `DataColumn2` is now based on `flet.DataColumn`
22-
- `DataRow2` is now based on `flet.DataRow`
19+
- `DataTable2` is now based on `flet.DataTable`
20+
- `DataColumn2` is now based on `flet.DataColumn`
21+
- `DataRow2` is now based on `flet.DataRow`
2322

2423
## [0.1.0] - 2025-03-16
2524

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Issues = "https://github.com/flet-dev/flet-datatable2/issues"
2222
[dependency-groups]
2323
dev = [
2424
"pre-commit>=4.2.0",
25+
"ruff>=0.11.7",
2526
]
2627
docs = [
2728
"mkdocs",

src/flet_datatable2/datatable2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@ft.control("DataTable2")
1313
class DataTable2(ft.DataTable):
1414
"""
15-
Extends [DataTable](https://flet.dev/docs/controls/datatable).
15+
Extends [`DataTable`](https://flet.dev/docs/controls/datatable).
1616
1717
Provides sticky header row, scrollable data rows,
1818
and additional layout flexibility with [`DataColumn2`][(p).]

0 commit comments

Comments
 (0)