forked from twisted/twisted
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into release-21.2.0-10091
- Loading branch information
Showing
407 changed files
with
2,816 additions
and
2,430 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,6 @@ source= | |
[report] | ||
precision = 2 | ||
ignore_errors = True | ||
exclude_lines = | ||
if TYPE_CHECKING | ||
\s*\.\.\.$ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,41 @@ | ||
## Scope and purpose | ||
<!-- | ||
## Remove this section | ||
|
||
Add a few words about why this PR is needed and what is its scope. | ||
Have a look at [our developer documentation](https://twistedmatrix.com/trac/wiki/TwistedDevelopment#SubmittingaPatch) before submitting your Pull Request. | ||
|
||
Add mentions of things that are not covered here and are planed to be done | ||
in separate PRs. | ||
Note that the Trac ticket, news fragment, and review submission portions of this process apply to *all* pull requests, no matter how small; | ||
if you don't do them, it's likely that nobody will even notice your PR needs a review. | ||
--> | ||
|
||
## Scope and purpose | ||
|
||
## Remove this section | ||
Add a few words about why this PR is needed and what is its scope. | ||
|
||
Please have a look at [our developer documentation](https://twistedmatrix.com/trac/wiki/TwistedDevelopment#SubmittingaPatch) before submitting your Pull Request. | ||
Add any comments about trade-offs (if any) made in this PR and the reasoning behind them. | ||
|
||
Please note that the trac ticket, news fragment, and review submission portions of this process apply to *all* pull requests, no matter how small; if you don't do them, it's likely that nobody will even notice your PR needs a review. | ||
Add mentions of things that are not covered here and are planed to be done in separate PRs. | ||
|
||
|
||
## Contributor Checklist: | ||
|
||
* [ ] The associated ticket in Trac is here: https://twistedmatrix.com/trac/ticket/<!-- Create a new one at https://twistedmatrix.com/trac/newticket and replace this comment with the ticket number. --> | ||
* [ ] I ran `tox -e lint` to format my patch to meet the [Twisted Coding Standard](https://twistedmatrix.com/documents/current/core/development/policy/coding-standard.html) | ||
* [ ] I have created a newsfragment in src/twisted/newsfragments/ (see: [News files](https://twistedmatrix.com/trac/wiki/ReviewProcess#Newsfiles)) | ||
* [ ] I have updated the automated tests. | ||
* [ ] The title of the PR starts with the associated Trac ticket number (without the `#` character). | ||
* [ ] I have updated the automated tests and checked that all checks for the PR are green. | ||
* [ ] I have submitted the associated Trac ticket for review by adding the word `review` to the keywords field in Trac, and putting a link to this PR in the comment; it shows up in https://twisted.reviews/ now. | ||
* [ ] I have added `twisted/twisted-contributors` teams to the PR `Reviewers`. | ||
* [ ] The merge commit will use the below format | ||
The first line is automatically generated by GitHub based on PR ID and branch name. | ||
The other lines generated by GitHub should be replaced. | ||
|
||
``` | ||
Merge pull request #123 from twisted/4356-branch-name-with-trac-id | ||
|
||
Author: <github_username>, <github_usernames_if_more_authors> | ||
Reviewer: <github_username>, <github_usernames_if_more_reviewers> | ||
Fixes: ticket:<trac_ticket_number>, ticket:<another_if_more_in_one_PR> | ||
|
||
Long description providing a summary of these changes. | ||
(as long as you wish) | ||
``` |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
import os | ||
import sys | ||
import pkg_resources | ||
|
||
print("::group::Python info") | ||
print(sys.prefix) | ||
print(sys.exec_prefix) | ||
print(sys.executable) | ||
print(sys.version) | ||
print(sys.platform) | ||
print("::endgroup::") | ||
|
||
if os.environ.get("CI", "").lower() == "true": | ||
# On CI show the exact deps found at runtime. | ||
# Skipped on local dev to speed up the test execution. | ||
print("::group::Deps info") | ||
for ep in pkg_resources.iter_entry_points(group="console_scripts", name="pip"): | ||
ep.load()(["freeze", "--all"]) | ||
break | ||
print("::endgroup::") |
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
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
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
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
Oops, something went wrong.