CouncilDataProject / cdp-backend

Data storage utilities and processing pipelines used by CDP instances.
https://councildataproject.org/cdp-backend
Mozilla Public License 2.0
22 stars 26 forks source link

admin/upgrade-packaging-standards #201

Closed evamaxfield closed 2 years ago

evamaxfield commented 2 years ago

Uses https://github.com/evamaxfield/cookiecutter-py-package as new base cookiecutter and upgrades repo and python packaging standards.

Also removes a lot of files and interestingly, I tried removing all the type errors and everything worked (with two exceptions, @dataclass_json calls have moved to DataClassJsonMixin object inheritance and I swapped max(... key=) call with a standard "find max" for loop)

codecov[bot] commented 2 years ago

Codecov Report

Merging #201 (80c78cd) into main (48a9adb) will decrease coverage by 0.29%. The diff coverage is 82.25%.

@@            Coverage Diff             @@
##             main     #201      +/-   ##
==========================================
- Coverage   91.20%   90.90%   -0.30%     
==========================================
  Files          53       53              
  Lines        2751     2739      -12     
==========================================
- Hits         2509     2490      -19     
- Misses        242      249       +7     
Impacted Files Coverage Δ
cdp_backend/annotation/speaker_labels.py 0.00% <0.00%> (ø)
cdp_backend/__init__.py 75.00% <75.00%> (-25.00%) :arrow_down:
cdp_backend/database/functions.py 90.82% <80.00%> (-0.40%) :arrow_down:
cdp_backend/pipeline/event_gather_pipeline.py 86.00% <80.00%> (ø)
..._backend/pipeline/generate_event_index_pipeline.py 97.29% <100.00%> (-0.04%) :arrow_down:
cdp_backend/pipeline/ingestion_models.py 100.00% <100.00%> (ø)
cdp_backend/pipeline/pipeline_config.py 100.00% <100.00%> (ø)
cdp_backend/pipeline/transcript_model.py 85.18% <100.00%> (-1.71%) :arrow_down:
...ckend/tests/pipeline/test_event_gather_pipeline.py 100.00% <100.00%> (ø)
...ackend/tests/pipeline/test_event_index_pipeline.py 100.00% <100.00%> (ø)
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.