Skip to content

Format codebase with black and isort at line length 180 - #626

Closed
chloeprecaj wants to merge 1 commit into
mainfrom
formatting-line-length-180
Closed

chloeprecaj wants to merge 1 commit into
mainfrom
formatting-line-length-180

Conversation

@chloeprecaj

Copy link
Copy Markdown
Contributor
  • black line length 180 (matches flake8's max-line-length)
  • add isort (profile black, pinned 5.13.2) to make lint and pre-commit
  • remove duplicate format:: target from Makefile (now in python.mk)
  • reformat all files with make format; no code changes

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

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

Description

Formatting code base.

Related Tickets & Documents

  • Ticket Link
  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

Please replace this line with instructions on how to test your changes, a note
on the devices and browsers this has been tested on, as well as any relevant
images for UI changes.

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: please replace this line with details on why tests
    have not been included
  • 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?

- black line length 180 (matches flake8's max-line-length)
- add isort (profile black, pinned 5.13.2) to make lint and pre-commit
- remove duplicate format:: target from Makefile (now in python.mk)
- reformat all files with make format; no code changes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 185 files, which is 85 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

Check out review usage here.

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: 13ed0776-26cd-40bf-98fc-56c4cfafa9dc
Commits

Reviewing files that changed from the base of the PR and between 59a3a40 and d9c10d3.

Files selected for processing: 185
  • .pre-commit-config.yaml
  • Makefile
  • conftest.py
  • digital_land/__init__.py
  • digital_land/adapter/file.py
  • digital_land/api.py
  • digital_land/check.py
  • digital_land/cli.py
  • digital_land/collect.py
  • digital_land/collection.py
  • digital_land/command_arguments.py
  • digital_land/commands.py
  • digital_land/configuration/main.py
  • digital_land/datatype/address.py
  • digital_land/datatype/date.py
  • digital_land/datatype/decimal.py
  • digital_land/datatype/enum.py
  • digital_land/datatype/factory.py
  • digital_land/datatype/integer.py
  • digital_land/datatype/latitude.py
  • digital_land/datatype/longitude.py
  • digital_land/datatype/multipolygon.py
  • digital_land/datatype/organisation.py
  • digital_land/datatype/point.py
  • digital_land/datatype/uri.py
  • digital_land/datatype/wkt.py
  • digital_land/expectations/checkpoints/csv.py
  • digital_land/expectations/checkpoints/dataset.py
  • digital_land/expectations/commands.py
  • digital_land/expectations/expectation_functions/sqlite.py
  • digital_land/expectations/log.py
  • digital_land/expectations/operations/__init__.py
  • digital_land/expectations/operations/csv.py
  • digital_land/expectations/operations/dataset.py
  • digital_land/expectations/result.py
  • digital_land/expectations/utils.py
  • digital_land/fetch.py
  • digital_land/log.py
  • digital_land/makerules.py
  • digital_land/organisation.py
  • digital_land/package/csv.py
  • digital_land/package/dataset.py
  • digital_land/package/dataset_parquet.py
  • digital_land/package/organisation.py
  • digital_land/package/package.py
  • digital_land/package/sqlite.py
  • digital_land/phase/combine.py
  • digital_land/phase/concat.py
  • digital_land/phase/convert.py
  • digital_land/phase/dump.py
  • digital_land/phase/factor.py
  • digital_land/phase/filter.py
  • digital_land/phase/harmonise.py
  • digital_land/phase/load.py
  • digital_land/phase/lookup.py
  • digital_land/phase/map.py
  • digital_land/phase/migrate.py
  • digital_land/phase/normalise.py
  • digital_land/phase/organisation.py
  • digital_land/phase/patch.py
  • digital_land/phase/priority.py
  • digital_land/phase/prune.py
  • digital_land/phase/reference.py
  • digital_land/phase/save.py
  • digital_land/pipeline/__init__.py
  • digital_land/pipeline/main.py
  • digital_land/pipeline/process.py
  • digital_land/pipeline/task.py
  • digital_land/plugins/arcgis.py
  • digital_land/plugins/sparql.py
  • digital_land/plugins/wfs.py
  • digital_land/register.py
  • digital_land/specification.py
  • digital_land/state.py
  • digital_land/store/csv.py
  • digital_land/store/item.py
  • digital_land/update.py
  • digital_land/utils/add_data_utils.py
  • digital_land/utils/add_endpoints_utils.py
  • digital_land/utils/dataset_resource_utils.py
  • digital_land/utils/gdal_utils.py
  • digital_land/utils/hash_utils.py
  • docs/conf.py
  • makerules/python.mk
  • pyproject.toml
  • setup.cfg
  • tests/acceptance/conftest.py
  • tests/acceptance/pipeline_config/conftest.py
  • tests/acceptance/pipeline_config/test_column_concat.py
  • tests/acceptance/pipeline_config/test_column_mapping.py
  • tests/acceptance/pipeline_config/test_filtering.py
  • tests/acceptance/pipeline_config/test_lookup_phase.py
  • tests/acceptance/test_add_data.py
  • tests/acceptance/test_add_endpoints_and_lookups.py
  • tests/acceptance/test_add_redicrections.py
  • tests/acceptance/test_assign_entities.py
  • tests/acceptance/test_commands.py
  • tests/acceptance/test_create_and_load_config.py
  • tests/acceptance/test_dataset_create.py
  • tests/acceptance/test_parquet_with_production_data.py
  • tests/acceptance/test_pipeline_command.py
  • tests/acceptance/test_pipeline_real_transform.py
  • tests/acceptance/test_pipeline_transform.py
  • tests/acceptance/test_run_expectations_on_sqlite.py
  • tests/acceptance/test_state.py
  • tests/acceptance/test_workflow.py
  • tests/conftest.py
  • tests/data/wkt/__init__.py
  • tests/integration/configuration/test_main.py
  • tests/integration/expectations/checkpoints/test_csv.py
  • tests/integration/expectations/checkpoints/test_dataset.py
  • tests/integration/expectations/conftest.py
  • tests/integration/expectations/operations/test_csv.py
  • tests/integration/expectations/operations/test_dataset.py
  • tests/integration/expectations/test_commands.py
  • tests/integration/package/conftest.py
  • tests/integration/package/test_dataset.py
  • tests/integration/package/test_dataset_parquet.py
  • tests/integration/package/test_organisation.py
  • tests/integration/phase/test_convert.py
  • tests/integration/pipeline/test_main.py
  • tests/integration/pipeline/test_process.py
  • tests/integration/test_add_data.py
  • tests/integration/test_add_data_utils.py
  • tests/integration/test_api.py
  • tests/integration/test_assign_entities.py
  • tests/integration/test_class_collector.py
  • tests/integration/test_collect.py
  • tests/integration/test_collection.py
  • tests/integration/test_commands.py
  • tests/integration/test_convert.py
  • tests/integration/test_hash_utils.py
  • tests/integration/test_log.py
  • tests/integration/test_organisation.py
  • tests/integration/test_package_dataset.py
  • tests/integration/test_specification.py
  • tests/integration/test_state.py
  • tests/performance/test_resource_transformation.py
  • tests/unit/datatype/test_date.py
  • tests/unit/datatype/test_decimal.py
  • tests/unit/datatype/test_integer.py
  • tests/unit/datatype/test_latitude.py
  • tests/unit/datatype/test_longitude.py
  • tests/unit/datatype/test_multipolygon.py
  • tests/unit/datatype/test_wkt.py
  • tests/unit/expectations/checkpoints/test_dataset.py
  • tests/unit/expectations/test_core.py
  • tests/unit/phase/test_convert.py
  • tests/unit/phase/test_harmonise.py
  • tests/unit/phase/test_lookup.py
  • tests/unit/phase/test_map.py
  • tests/unit/phase/test_organisation.py
  • tests/unit/phase/test_priority.py
  • tests/unit/phase/test_reference.py
  • tests/unit/pipeline/test_task.py
  • tests/unit/plugins/test_arcgis.py
  • tests/unit/plugins/test_wfs.py
  • tests/unit/test_add_data_utils.py
  • tests/unit/test_address.py
  • tests/unit/test_api.py
  • tests/unit/test_check.py
  • tests/unit/test_cli.py
  • tests/unit/test_collect.py
  • tests/unit/test_collection.py
  • tests/unit/test_combine.py
  • tests/unit/test_commands.py
  • tests/unit/test_concat.py
  • tests/unit/test_dataset_parquet.py
  • tests/unit/test_enum.py
  • tests/unit/test_filter.py
  • tests/unit/test_log.py
  • tests/unit/test_makerules.py
  • tests/unit/test_migrate.py
  • tests/unit/test_normalise.py
  • tests/unit/test_organisation.py
  • tests/unit/test_parse.py
  • tests/unit/test_patch.py
  • tests/unit/test_pipeline.py
  • tests/unit/test_point.py
  • tests/unit/test_prune.py
  • tests/unit/test_specification.py
  • tests/unit/test_update.py
  • tests/unit/test_uri.py
  • tests/unit/testphase.py
  • tests/utils/helpers.py

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@chloeprecaj chloeprecaj closed this Nov 3, 2026
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