econchick / interrogate

Explain yourself! Interrogate a codebase for docstring coverage.
https://interrogate.readthedocs.io
MIT License
574 stars 44 forks source link

Automatically detect pyproject.toml #42

Closed econchick closed 4 years ago

econchick commented 4 years ago

Hey, I just made a Pull Request!

Description

This addresses #36 - if a pyproject.toml exists for the project, interrogate will automatically pick up configured values and set them as the CLI options' defaults.

Motivation and Context

Have you tested this? If so, how?

Checklist for PR author(s)

Release note

Read configuration from ``pyproject.toml`` by default 
codecov[bot] commented 4 years ago

Codecov Report

Merging #42 into master will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   99.49%   99.49%           
=======================================
  Files           7        7           
  Lines         592      596    +4     
  Branches      125      126    +1     
=======================================
+ Hits          589      593    +4     
  Misses          1        1           
  Partials        2        2           
Impacted Files Coverage Δ
src/interrogate/cli.py 100.00% <100.00%> (ø)
src/interrogate/config.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2105db8...c8d790b. Read the comment docs.