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 main repo #4
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
* Clarify documentation for hashing Makes clear that hashable objects need to be deeply immutable, in practice even if not in theory. Closes #503 . * Use simple past tense in docs
* Implement first class exception support Fixes #368 * Ensure single-attrib classes work too cf #500 (review) * Call into BaseException to initialiaze self.args * Leave __str__ alone since we upcall Based on Python pizza hallway feedback by @ambv. * remove stray stage * nope
More concretely: move it to tests. It was dead code for a while however its unittests are still valuable as the exercise quite a bit of _make_init.
Otherwise we get invalid RST.
fixes `twine check` warning
* Remove code and tests related to deprecated 'convert' kwarg * Updated documentation, added changelog.d entry * Fix attrib signature in docstring * Update docstring version number for removal of 'convert' kw argument in attrib
This way it gets linked
* Pure-Python approach to closure cell rewriting * Re-add mistakenly removed @skipif(PYPY) * no-cover the 'should be impossible' lines and the functions that are only defined for their side effects on closure cells
* Set up CI with Azure Pipelines * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * Update setup.py * Update tox.ini * Update setup.py * Update azure-pipelines.yml * Update setup.py * Update azure-pipelines.yml * Update azure-pipelines.yml for Azure Pipelines * Delete .travis.yml * Update README.rst * Update azure-pipelines.yml * Update azure-pipelines.yml
Automated using [yesqa](https://github.com/asottile/yesqa/) with the following command: ```bash pre-commit try-repo https://github.com/asottile/yesqa/ --all-files ```
Use bound type variables for iterables and mappings of the validated item types, so mypy does not erroneously require both the iterable attribute validated by deep_iterable and the item type validated by the first argument of deep_iterable to have the same type. This fixes #531.
3.7's coverage can't find 2.7's coverage data.
* Fix closure cell rewriting on 3.8 * Enable py38 * Don't use CodeType.replace() -- it was added in 3.8.0b1, but CI still uses 3.8.0a4
* 3.5 and 3.7 are broken on AP and Microsoft DGAF https://developercommunity.visualstudio.com/content/problem/588219/sqlite3-importerror-python-357-and-373.html * 3.5 is not in deadsnakes xenial * Fix output
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.