Skip to content

Commit d0163ff

Browse files
committed
docs: Replace Black and isort references with Ruff in steering docs
- Update tech.md to reference Ruff as combined linter and formatter - Update structure.md to use Ruff for formatting and import sorting - Maintain 79-character line length configuration - Preserve Django-aware import sorting documentation
1 parent 1df4321 commit d0163ff

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

.kiro/specs/black-to-ruff-migration/tasks.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@
1818
- Keep all other pre-commit hooks unchanged (trailing-whitespace, end-of-file-fixer, etc.)
1919
- _Requirements: 2.1, 2.2, 2.3, 2.4_
2020

21-
- [ ] 3. Update documentation files
22-
- [ ] 3.1 Update .kiro/steering/tech.md
21+
- [x] 3. Update documentation files
22+
- [x] 3.1 Update .kiro/steering/tech.md
2323

2424
- Replace Black and isort references with Ruff in Code Quality Tools section
2525
- Update tool descriptions to reflect Ruff's combined formatting and linting capabilities
2626
- Maintain 79-character line length documentation
2727
- _Requirements: 3.1, 3.6_
2828

29-
- [ ] 3.2 Update .kiro/steering/structure.md
29+
- [x] 3.2 Update .kiro/steering/structure.md
3030

3131
- Replace Black formatter references with Ruff in Development Conventions section
3232
- Update code style documentation to reference Ruff instead of Black and isort
3333
- Maintain Django-aware import sorting documentation
3434
- _Requirements: 3.2, 3.6_
3535

36-
- [ ] 3.3 Check and update README.md if needed
36+
- [x] 3.3 Check and update README.md if needed
3737

3838
- Search for any references to Black or isort in README.md
3939
- Update developer setup instructions to include Ruff-specific commands if present

.kiro/steering/structure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ Extends django-allauth for custom authentication:
9191

9292
### Code Style
9393

94-
- Black formatter with 79 character line length
95-
- isort for import organization with Django-aware sections
94+
- Ruff formatter and linter with 79 character line length
95+
- Ruff import sorting with Django-aware sections
9696
- Migrations excluded from formatting
9797

9898
### Database

.kiro/steering/tech.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525

2626
## Code Quality Tools
2727

28-
- **Black** - Code formatter (line length: 79)
29-
- **isort** - Import sorting with Black profile
28+
- **Ruff** - Fast Python linter and formatter with import sorting (line length: 79)
3029
- **django-nose** - Test runner
3130

3231
## Common Commands

0 commit comments

Comments
 (0)