Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow private properties #194

Merged
merged 4 commits into from
Sep 9, 2017
Merged

Allow private properties #194

merged 4 commits into from
Sep 9, 2017

Conversation

fwkoch
Copy link
Contributor

@fwkoch fwkoch commented Sep 7, 2017

This removes the restriction against private properties. By default, these properties are undocumented, but they may be added to the docs with the _doc_private = True class attribute.

This PR also slightly modifies _doc_order - this attribute is now kept on the class and may be used for subclasses if their properties do not change.

This gracefully ignores old doc orders if new properties have been
added. It will only error if an invalid doc order is provided on in a
class dict.
@codecov
Copy link

codecov bot commented Sep 7, 2017

Codecov Report

Merging #194 into dev will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #194      +/-   ##
==========================================
+ Coverage   96.57%   96.65%   +0.07%     
==========================================
  Files          15       15              
  Lines        1899     1914      +15     
==========================================
+ Hits         1834     1850      +16     
+ Misses         65       64       -1
Impacted Files Coverage Δ
properties/base/base.py 98.83% <100%> (+0.48%) ⬆️

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 48326cc...4edfafb. Read the comment docs.

@fwkoch fwkoch merged commit b473805 into dev Sep 9, 2017
@fwkoch fwkoch deleted the feat/private_properties branch September 9, 2017 08:05
@lheagy lheagy mentioned this pull request Sep 11, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant