From 499f9952741433a995ce0571999ce67c97e7c6a3 Mon Sep 17 00:00:00 2001 From: Mukulika Date: Wed, 27 Oct 2021 19:21:08 +0530 Subject: [PATCH 1/4] ENH: Add prompt for title in issue forms --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- .github/ISSUE_TEMPLATE/documentation.yml | 2 +- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- .github/ISSUE_TEMPLATE/post-install.yml | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index b46225968604..3f59537ec2e1 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,6 +1,6 @@ name: Bug report description: Report a bug. For security vulnerabilities see Report a security vulnerability in the templates. -title: "BUG: " +title: "BUG: " labels: [00 - Bug] body: diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index 1005d3ade5b2..b8f2db180559 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -1,6 +1,6 @@ name: Documentation description: Report an issue related to the NumPy documentation. -title: "DOC: " +title: "DOC: " labels: [04 - Documentation] body: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 5e2af4015a79..9860b3a84e40 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,6 +1,6 @@ name: Feature request description: Check instructions for submitting your idea on the mailing list first. -title: "ENH: " +title: "ENH: " body: - type: markdown diff --git a/.github/ISSUE_TEMPLATE/post-install.yml b/.github/ISSUE_TEMPLATE/post-install.yml index 5831994d10ca..b8bd266a2b95 100644 --- a/.github/ISSUE_TEMPLATE/post-install.yml +++ b/.github/ISSUE_TEMPLATE/post-install.yml @@ -1,5 +1,6 @@ name: Post-install/importing issue description: Report an issue if you have trouble importing or using NumPy after installation. +title: "" labels: [32 - Installation] body: From 8eb65ed186009468cc2929b054f894896aab7fd4 Mon Sep 17 00:00:00 2001 From: Mukulika Date: Wed, 27 Oct 2021 19:53:47 +0530 Subject: [PATCH 2/4] ENH: Add placeholder for traceback --- .github/ISSUE_TEMPLATE/bug-report.yml | 6 ++++-- .github/ISSUE_TEMPLATE/documentation.yml | 2 +- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- .github/ISSUE_TEMPLATE/post-install.yml | 4 +++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 3f59537ec2e1..dd758d1cddf8 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,6 +1,6 @@ name: Bug report description: Report a bug. For security vulnerabilities see Report a security vulnerability in the templates. -title: "BUG: " +title: "BUG: " labels: [00 - Bug] body: @@ -35,10 +35,12 @@ body: attributes: label: "Error message:" description: > - Please include full error message, if any (starting from `Traceback: ...`). + Please include full error message, if any. If you are reporting a segfault please include a GDB traceback, which you can generate by following [these instructions](https://github.com/numpy/numpy/blob/main/doc/source/dev/development_environment.rst#debugging). + placeholder: | + << Full traceback starting from `Traceback: ...` >> render: shell - type: textarea diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index b8f2db180559..c612059053ca 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -1,6 +1,6 @@ name: Documentation description: Report an issue related to the NumPy documentation. -title: "DOC: " +title: "DOC: " labels: [04 - Documentation] body: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 9860b3a84e40..2e2d9205d008 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,6 +1,6 @@ name: Feature request description: Check instructions for submitting your idea on the mailing list first. -title: "ENH: " +title: "ENH: " body: - type: markdown diff --git a/.github/ISSUE_TEMPLATE/post-install.yml b/.github/ISSUE_TEMPLATE/post-install.yml index b8bd266a2b95..a5fa07be0279 100644 --- a/.github/ISSUE_TEMPLATE/post-install.yml +++ b/.github/ISSUE_TEMPLATE/post-install.yml @@ -17,10 +17,12 @@ body: attributes: label: "Error message:" description: > - Please include full error message, if any (starting from `Traceback: ...`). + Please include full error message, if any. If you are reporting a segfault please include a GDB traceback, which you can generate by following [these instructions](https://github.com/numpy/numpy/blob/main/doc/source/dev/development_environment.rst#debugging). + placeholder: | + << Full traceback starting from `Traceback: ...` >> render: shell - type: textarea From e150fca0412f241524584437d0775ffe438b2031 Mon Sep 17 00:00:00 2001 From: Mukulika Date: Wed, 27 Oct 2021 19:58:15 +0530 Subject: [PATCH 3/4] Add quotes --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- .github/ISSUE_TEMPLATE/documentation.yml | 2 +- .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index dd758d1cddf8..29d0d0dd0f22 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,6 +1,6 @@ name: Bug report description: Report a bug. For security vulnerabilities see Report a security vulnerability in the templates. -title: "BUG: " +title: "BUG: " labels: [00 - Bug] body: diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index c612059053ca..afff9ab5f1cd 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -1,6 +1,6 @@ name: Documentation description: Report an issue related to the NumPy documentation. -title: "DOC: " +title: "DOC: " labels: [04 - Documentation] body: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 2e2d9205d008..390c3d53bba2 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,6 +1,6 @@ name: Feature request description: Check instructions for submitting your idea on the mailing list first. -title: "ENH: " +title: "ENH: " body: - type: markdown From e9d06914b36ac33abb35ec4a90f50b74537ae4ab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Nov 2022 13:05:13 +0000 Subject: [PATCH 4/4] MAINT: Bump pycodestyle from 2.8.0 to 2.10.0 Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.8.0 to 2.10.0. - [Release notes](https://github.com/PyCQA/pycodestyle/releases) - [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt) - [Commits](https://github.com/PyCQA/pycodestyle/compare/2.8.0...2.10.0) --- updated-dependencies: - dependency-name: pycodestyle dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter_requirements.txt b/linter_requirements.txt index 6ed26c5c024b..6e0de88a2b26 100644 --- a/linter_requirements.txt +++ b/linter_requirements.txt @@ -1,2 +1,2 @@ -pycodestyle==2.8.0 +pycodestyle==2.10.0 GitPython==3.1.13 \ No newline at end of file