From b9bb4adacda521ac98b3ed656cd328ae36835e40 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 8 Apr 2017 21:53:39 +0100 Subject: [PATCH] Add a pull request template which asks for some common requests by yours truly --- .gitattributes | 1 + PULL_REQUEST_TEMPLATE.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 PULL_REQUEST_TEMPLATE.md diff --git a/.gitattributes b/.gitattributes index 060e8ad2..799cd671 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,6 +3,7 @@ /Dockerfile export-ignore /ISSUE_TEMPLATE.md export-ignore /Makefile export-ignore +/PULL_REQUEST_TEMPLATE.md export-ignore /README.md export-ignore /custom-checks export-ignore /img export-ignore diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..89ff87a2 --- /dev/null +++ b/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,15 @@ +When creating new pull requests, please consider the following. + +* Read the Contributing guide linked above first. +* If you are adding a new linter, remember to update the README.md file and + doc/ale.txt first. +* If you add or modify a function for converting error lines into loclist items + that ALE can work with, please add Vader tests for them. Look at existing + tests in the test/handler directory, etc. +* If you add or modify a function for computing a command line string for + running a command, please add Vader tests for that. +* Generally try and cover anything with Vader tests, although some things just + can't be tested with Vader, or at least they can be hard to test. Consider + breaking up your code so that some parts can be tested, and generally open up + a discussion about it. +* Have fun!