forked from python-attrs/attrs
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sync up to attrs master #2
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* initial implementation of deep validators for iterables and dictionaries * initial implementation of is_callable validator * add versionadded for deep validators * add versionadded for is_callable validator * add tests for is_callable validator * tweak _DeepIterable repr * add tests for deep_iterable * add to _DeepDictionary an initial validation that the top-level value is in fact a dictionary * add tests for deep_dictionary validator * apply precommit hooks * refactor deep_dictionary to deep_mapping with optional mapping validator * move is_callable validator up in module to allow deep validators to use it * complete conversion from "deep dictionary" to "deep mapping" * add changelog.d entry for #425 * fix rst formatting and normalize to semantic newlines * add "instance_of", "deep_iterable", and "deep_mapping" validators to docs/api.rst * add "serve-docs" tox environment to preview rendered sphinx docs * bump versionadded for is_callable and deep validators to 18.3.0 * linting cleanup * Revert "add "serve-docs" tox environment to preview rendered sphinx docs" This reverts commit a2df89b. * fix error message broken in linting fix
* Allow init=False attributes to follow kw_only attributes Closes #450 * Fix changelog typo * Update reference text for exception message * Remove type annotations from tests * Fix long docstring lines * Add test with literal default
I've always parsed this sentence as "attrs comes with serious, business aliases". I just realized you probably meant srs bzns aliases and figured I'd clarify.
"You should avoid $foo, in order to instantiate frozen slotted classes..."
RDR2 ¯\_(ツ)_/¯
Travis CI has already migrated their infrastructure: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
We split up building of docs and doctest because RTD doesn't allow newer than 3.5 but we need up to date Python versions for our doctests.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.