synthesized-io / insight

🧿 Metrics & Monitoring of Datasets
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

Make db requirements optional #110

Closed simonhkswan closed 1 year ago

simonhkswan commented 1 year ago

Now you can install the requirements for connecting to a DB optionally. e.g.

pip install 'insight[db]'
codecov[bot] commented 1 year ago

Codecov Report

Merging #110 (ab0d365) into master (a318a2e) will decrease coverage by 0.9%. The diff coverage is 81.9%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #110     +/-   ##
========================================
- Coverage    80.1%   79.3%   -0.9%     
========================================
  Files          11      11             
  Lines         850     870     +20     
  Branches      156     130     -26     
========================================
+ Hits          681     690      +9     
- Misses        130     140     +10     
- Partials       39      40      +1     
Impacted Files Coverage Δ
src/insight/database/utils.py 75.3% <20.0%> (-6.3%) :arrow_down:
src/insight/metrics/base.py 75.0% <45.4%> (-3.6%) :arrow_down:
src/insight/plot.py 68.6% <89.6%> (ø)
src/insight/__init__.py 100.0% <100.0%> (ø)
src/insight/database/schema.py 100.0% <100.0%> (ø)
sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

61.5% 61.5% Coverage
0.0% 0.0% Duplication