smarie / python-pyfields

Define fields in python classes. Easily.
https://smarie.github.io/python-pyfields
BSD 3-Clause "New" or "Revised" License
45 stars 10 forks source link

`@autofields` now correctly skips `@property` and descriptor members #68

Closed smarie closed 4 years ago

smarie commented 4 years ago

Fixes #67

codecov-commenter commented 4 years ago

Codecov Report

Merging #68 into master will increase coverage by 0.07%. The diff coverage is 75.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
+ Coverage   85.59%   85.67%   +0.07%     
==========================================
  Files          14       15       +1     
  Lines        2076     2108      +32     
==========================================
+ Hits         1777     1806      +29     
- Misses        299      302       +3     
Impacted Files Coverage Δ
pyfields/tests/issues/test_issue_67.py 50.00% <50.00%> (ø)
pyfields/tests/test_autofields.py 70.31% <80.00%> (+3.64%) :arrow_up:
pyfields/autofields_.py 52.94% <100.00%> (+7.81%) :arrow_up:
pyfields/helpers.py 84.21% <100.00%> (+0.33%) :arrow_up:

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 90fb787...51a0f24. Read the comment docs.