Skip to content

Add CKAN, MuckRock source collection scrapers #81

Add CKAN, MuckRock source collection scrapers

Add CKAN, MuckRock source collection scrapers #81

Triggered via pull request November 16, 2024 01:07
Status Failure
Total duration 17s
Artifacts

python_checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
Lint
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
Lint: source_collectors/ckan/scrape_ckan_data_portals.py#L272
[flake8] reported by reviewdog 🐶 whitespace before ':' Raw Output: ./source_collectors/ckan/scrape_ckan_data_portals.py:272:80: E203 whitespace before ':'
Lint: source_collectors/muckrock/create_foia_data_db.py#L132
[flake8] reported by reviewdog 🐶 SyntaxError: unterminated string literal (detected at line 132) Raw Output: ./source_collectors/muckrock/create_foia_data_db.py:132:14: E999 SyntaxError: unterminated string literal (detected at line 132)
Lint: source_collectors/muckrock/generate_detailed_muckrock_csv.py#L72
[flake8] reported by reviewdog 🐶 SyntaxError: unterminated string literal (detected at line 72) Raw Output: ./source_collectors/muckrock/generate_detailed_muckrock_csv.py:72:29: E999 SyntaxError: unterminated string literal (detected at line 72)
Lint: source_collectors/muckrock/get_all_record_types.py#L48
[flake8] reported by reviewdog 🐶 SyntaxError: unterminated string literal (detected at line 48) Raw Output: ./source_collectors/muckrock/get_all_record_types.py:48:14: E999 SyntaxError: unterminated string literal (detected at line 48)
Lint: source_collectors/muckrock/search_foia_data_db.py#L181
[flake8] reported by reviewdog 🐶 SyntaxError: unterminated string literal (detected at line 181) Raw Output: ./source_collectors/muckrock/search_foia_data_db.py:181:10: E999 SyntaxError: unterminated string literal (detected at line 181)
Lint
Process completed with exit code 1.
Lint: common_crawler/cache.py#L59
[flake8] reported by reviewdog 🐶 line break before binary operator Raw Output: ./common_crawler/cache.py:59:13: W503 line break before binary operator
Lint: common_crawler/cache.py#L60
[flake8] reported by reviewdog 🐶 line break before binary operator Raw Output: ./common_crawler/cache.py:60:13: W503 line break before binary operator
Lint: common_crawler/crawler.py#L33
[flake8] reported by reviewdog 🐶 Missing docstring in __init__ Raw Output: ./common_crawler/crawler.py:33:1: D107 Missing docstring in __init__
Lint: common_crawler/crawler.py#L115
[flake8] reported by reviewdog 🐶 line break before binary operator Raw Output: ./common_crawler/crawler.py:115:17: W503 line break before binary operator
Lint: common_crawler/csv_manager.py#L13
[flake8] reported by reviewdog 🐶 Missing docstring in __init__ Raw Output: ./common_crawler/csv_manager.py:13:1: D107 Missing docstring in __init__
Lint: common_crawler/main.py#L52
[flake8] reported by reviewdog 🐶 Missing docstring in public function Raw Output: ./common_crawler/main.py:52:1: D103 Missing docstring in public function
Lint: source_collectors/ckan/ckan_scraper_toolkit.py#L19
[flake8] reported by reviewdog 🐶 Missing docstring in public class Raw Output: ./source_collectors/ckan/ckan_scraper_toolkit.py:19:1: D101 Missing docstring in public class
Lint: source_collectors/ckan/ckan_scraper_toolkit.py#L30
[flake8] reported by reviewdog 🐶 Missing docstring in public method Raw Output: ./source_collectors/ckan/ckan_scraper_toolkit.py:30:1: D102 Missing docstring in public method
Lint: source_collectors/ckan/scrape_ckan_data_portals.py#L4
[flake8] reported by reviewdog 🐶 'json' imported but unused Raw Output: ./source_collectors/ckan/scrape_ckan_data_portals.py:4:1: F401 'json' imported but unused
Lint: source_collectors/ckan/scrape_ckan_data_portals.py#L63
[flake8] reported by reviewdog 🐶 line break before binary operator Raw Output: ./source_collectors/ckan/scrape_ckan_data_portals.py:63:17: W503 line break before binary operator