Skip to content

feat: make linting consistent - #624

Merged
tombrooks248 merged 1 commit into
mainfrom
feat/2819-consistent-linting
Oct 30, 2026
Merged

tombrooks248 merged 1 commit into
mainfrom
feat/2819-consistent-linting

Conversation

@tombrooks248

@tombrooks248 tombrooks248 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Adds a make format target that runs black ., the formatter make lint checks against.

Why

Part of digital-land/config#2819, making linting the same across the data engineering repos. This repo already meets the shared standard (black 24.8.0 at 88, flake8 7.1.2 at 180 with E203, W503 ignored, pre-commit hooks, make lint in CI); make format was the one missing piece. It lives in this repo's Makefile rather than makerules' python.mk, because makerules is fetched at runtime by every pipeline.

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

  • CI passes on this branch.
  • Locally: make format on a clean main changes nothing, and after adding a badly formatted line make black-check fails and make format fixes it.

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above. Please refer to the Digital Land Testing Guidance for more information.

  • Yes
  • No, and this is why: just adding a make format command.
  • I need help with writing tests

[optional] Are there any post deployment tasks we need to perform?

[optional] Are there any dependencies on other PRs or Work?

Summary by CodeRabbit

  • Chores
    • Added a format command to format the project’s code.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 85a0380a-774f-44c6-a3f0-5bcb367b1c53
Commits

Reviewing files that changed from the base of the PR and between df4119c and c861521.

Files selected for processing: 1
  • Makefile

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The Makefile adds a format target that runs black . to format the project.

Changes

Project formatting

Layer / File(s) Summary
Add the format target
Makefile
The new format target runs Black on the current directory.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Feature

Suggested reviewers: eveleighoj

Merge Risk: Minimal · up to c8615

No actionable merge-blocking risk was identified in this formatting-only change.

Pre-merge checks: Passed 4
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the change. The PR adds a formatting target to make linting consistent across repositories.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@tombrooks248
tombrooks248 marked this pull request as ready for review October 30, 2026 15:43
@tombrooks248
tombrooks248 merged commit 59a3a40 into main Oct 30, 2026
9 checks passed
@tombrooks248
tombrooks248 deleted the feat/2819-consistent-linting branch October 30, 2026 15:44
@coderabbitai coderabbitai Bot mentioned this pull request Nov 3, 2026
2 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant