Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

PR: Remove redundant variables #7

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ author [Spyder Project Contributors]:
email [admin@spyder-ide.org]:
github_username [spyder-ide]:
plugin_name [Demo Plugin]: Reports
repo_name [spyder-reports]:
project_name [spyder_reports]:
description [Plugin for Spyder IDE.]: Spyder Plugin for Markdown reports for Pweave and Stitc
description [Plugin for Spyder IDE.]: Spyder Plugin for Markdown reports for Pweave and Stitch
version [0.1.0]:
create_config_page [n]:
```
2 changes: 0 additions & 2 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"email": "admin@spyder-ide.org",
"github_username": "spyder-ide",
"plugin_name": "Demo Plugin",
"repo_name": "spyder-{{ cookiecutter.plugin_name.lower().replace(' ', '-')}}",
"project_name": "{{ cookiecutter.repo_name.replace('-', '_') }}",
"description": "Plugin for Spyder IDE.",
"version": "0.1.0",
"create_config_page": "n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Installation


{{ cookiecutter.project_name }}
Spyder {{ cookiecutter.plugin_name }}
======

Build status
Expand Down Expand Up @@ -54,13 +54,13 @@ Using pip

::

pip install {{ cookiecutter.project_name }}
pip install spyder_{{ cookiecutter.plugin_name.lower().replace(' ', '_') }}

Using conda

::

conda install {{ cookiecutter.project_name }} -c conda-forge
conda install spyder_{{ cookiecutter.plugin_name.lower().replace(' ', '_') }} -c conda-forge

Usage
-----
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# https://circleci.com/gh/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}
# https://circleci.com/gh/{{ cookiecutter.github_username }}/spyder-{{ cookiecutter.plugin_name.lower().replace(' ', '-') }}

machine:
environment:
Expand Down Expand Up @@ -43,11 +43,11 @@ dependencies:
test:
override:
# Check Python style
- $CMD_LINT_CIOCHECK {{ cookiecutter.repo_name }} -dt: # note the colon
- $CMD_LINT_CIOCHECK spyder_{{ cookiecutter.plugin_name.lower().replace(' ', '_') }} -dt: # note the colon
parallel: true

# Run Python tests
- $CMD_TEST_PYTEST {{ cookiecutter.repo_name }} --cov={{ cookiecutter.repo_name }}: # note the colon parallel: true
- $CMD_TEST_PYTEST spyder_{{ cookiecutter.plugin_name.lower().replace(' ', '_') }} --cov=spyder_{{ cookiecutter.plugin_name.lower().replace(' ', '_') }}: # note the colon parallel: true

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

# Python coverage and post it to coveralls.io
- $CMD_TEST_COVERALLS:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------------
"""Setup script for {{ cookiecutter.project_name }}."""
"""Setup script for {{ cookiecutter.plugin_name }}."""