collab-uniba / pynblint

Pynblint is a linter for Python Jupyter notebooks.
MIT License
40 stars 2 forks source link

provisional function on imports #89

Open Felice644 opened 2 years ago

Felice644 commented 2 years ago

-create the function that searches for imports from the notebook tree -create the function that searches for reqirements from requiremets.txt -create the function that searches for standard libraries from the python core

codecov-commenter commented 2 years ago

Codecov Report

Merging #89 (f24380f) into master (8c2b091) will increase coverage by 5.18%. The diff coverage is 81.32%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   56.84%   62.03%   +5.18%     
==========================================
  Files          18       18              
  Lines         913     1151     +238     
==========================================
+ Hits          519      714     +195     
- Misses        394      437      +43     
Flag Coverage Δ
pytest 62.03% <81.32%> (+5.18%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pynblint/nb_linting.py 64.65% <11.53%> (-15.35%) :arrow_down:
pynblint/exceptions.py 50.00% <50.00%> (+50.00%) :arrow_up:
pynblint/core_models.py 71.59% <79.16%> (+3.94%) :arrow_up:
tests/unit/test_core_models.py 99.22% <100.00%> (+5.89%) :arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more