Skip to content

Add ruff lint and style checks #1

Add ruff lint and style checks

Add ruff lint and style checks #1

Triggered via pull request April 12, 2024 16:15
Status Failure
Total duration 13s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
Ruff (F811): OCR/tests/segmentation_template_test.py#L40
OCR/tests/segmentation_template_test.py:40:9: F811 Redefinition of unused `test_segment_shapes` from line 35
Ruff (E721): dedupe/record_linkage_testing/src/link.py#L1168
dedupe/record_linkage_testing/src/link.py:1168:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): dedupe/record_linkage_testing/src/link.py#L1170
dedupe/record_linkage_testing/src/link.py:1170:12: E721 Do not compare types, use `isinstance()`
Ruff (F401): dedupe/record_linkage_testing/src/main.py#L15
dedupe/record_linkage_testing/src/main.py:15:22: F401 `app.main.app` imported but unused
python
Process completed with exit code 1.
python
The `python-version` input is not set. The version of Python currently in `PATH` will be used.