diff --git a/.github/ISSUE_TEMPLATE/----bug-report.md b/.github/ISSUE_TEMPLATE/----bug-report.md index daeb8cc..922654e 100644 --- a/.github/ISSUE_TEMPLATE/----bug-report.md +++ b/.github/ISSUE_TEMPLATE/----bug-report.md @@ -2,7 +2,7 @@ name: "\U0001F41B Bug report" about: Create a report to help us improve title: '' -labels: '' +labels: 'bug' assignees: '' --- @@ -25,14 +25,8 @@ If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] + - Python Version [e.g 3.6] + - CodeRunner version [e.g 0.4] **Additional context** Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/---feature-request.md b/.github/ISSUE_TEMPLATE/---feature-request.md index 24405ec..3e275dd 100644 --- a/.github/ISSUE_TEMPLATE/---feature-request.md +++ b/.github/ISSUE_TEMPLATE/---feature-request.md @@ -2,7 +2,7 @@ name: "\U0001F680 Feature request" about: Suggest an idea for this project title: '' -labels: '' +labels: 'enhancement' assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/---say-thank-you.md b/.github/ISSUE_TEMPLATE/---say-thank-you.md index aa74661..54c65e6 100644 --- a/.github/ISSUE_TEMPLATE/---say-thank-you.md +++ b/.github/ISSUE_TEMPLATE/---say-thank-you.md @@ -2,7 +2,7 @@ name: "\U0001F49F Say thank you" about: Just say thanks if you liked CodeRunner title: '' -labels: '' +labels: 'thanks' assignees: '' --- diff --git a/CHANGELOG.md b/CHANGELOG.md index bc06939..27c893b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.7] - Jan 19, 2020 + +### Changed +- `code()` class now ignores `output`. i.e you can just provide source code & language to run a program. + + ## [0.6] - Jan 5, 2020 ### Added diff --git a/README.md b/README.md index bbf04a6..6797585 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,9 @@ r = coderunner.code(source_code, language, expected_output, standard_input) # otherwise r = coderunner.code(source_code, language, expected_output) +# you can also ignore both fields +r = coderunner.code(source_code, language) + # Use path=False if not using file paths r = coderunner.code("Hello, World", language, "Hello, World", path=False) diff --git a/docs/usage.md b/docs/usage.md index b54c734..4417e64 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -7,7 +7,7 @@ coderunner provides the following class constructors * **Parameters(type)** : - source : The Source Code - lang : The Programming Language - - output : Expected Output of the Program + - output : Expected Output of the Program (optional). - inp : Standard Input to the program (optional). - path : specify mode of input. Set this to `False` if you are not using file paths (optional) @@ -27,6 +27,9 @@ r = code(source_code, language, expected_output, standard_input) # otherwise r = code(source_code, language, expected_output) +# you can also ignore both fields +r = code(source_code, language) + # Use path=False if not using file paths r = code("Hello, World", language, "Hello, World", path=False) ``` diff --git a/setup.py b/setup.py index 57d9cb3..c0e0c7c 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="coderunner", - version="0.6", + version="0.7", license="MIT", author="Bhupesh Varshney", author_email="varshneybhupesh@gmail.com",