Skip to content

Commit

Permalink
Use nengo-bones to generate support files
Browse files Browse the repository at this point in the history
  • Loading branch information
hunse authored and tbekolay committed Aug 9, 2019
1 parent 0f6f340 commit 9059c52
Show file tree
Hide file tree
Showing 23 changed files with 532 additions and 404 deletions.
11 changes: 0 additions & 11 deletions .ci/common.sh

This file was deleted.

29 changes: 0 additions & 29 deletions .ci/conda.sh

This file was deleted.

49 changes: 0 additions & 49 deletions .ci/docs.sh

This file was deleted.

36 changes: 0 additions & 36 deletions .ci/static.sh

This file was deleted.

29 changes: 0 additions & 29 deletions .ci/test.sh

This file was deleted.

9 changes: 9 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# Automatically generated by nengo-bones, do not edit this file directly

codecov:
ci:
- "!ci.appveyor.com"
notify:
require_ci_to_pass: no

coverage:
status:
project:
default:
enabled: yes
target: auto
patch:
default:
enabled: yes
target: 100%
changes: no
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ htmlcov
.idea
.pytest_cache/
plots/

.ci/*.sh
86 changes: 86 additions & 0 deletions .nengobones.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
project_name: pytest-plt
pkg_name: pytest_plt
repo_name: nengo/pytest-plt
description: Fixtures for quickly making Matplotlib plots in tests

copyright_start: 2018

license_rst:
type: mit

contributing_rst: {}

contributors_rst: {}

manifest_in: {}

setup_py:
license: MIT license
python_requires: ">=3.5"
install_req:
- matplotlib
- pytest
docs_req:
- nengo_sphinx_theme>=1.0
- sphinx
entry_points:
pytest11:
- "plt = pytest_plt.plugin"
classifiers:
- "Development Status :: 5 - Production/Stable"
- "Framework :: Pytest"
- "License :: OSI Approved :: MIT License"
- "Programming Language :: Python :: 3 :: Only"
- "Programming Language :: Python :: 3.5"
- "Programming Language :: Python :: 3.6"
- "Programming Language :: Python :: 3.7"

setup_cfg:
pytest:
addopts: []
filterwarnings:
- ignore:testdir.copy_example is an experimental api
plt_filename_drop:
- "^pytest_plt\\.tests\\."
pytester_example_dir: pytest_plt/tests
python_files: test_pytest.py
pylint:
disable:
- missing-docstring
- wrong-import-position

docs_conf_py:
analytics_id: UA-41658423-2
nengo_logo: general-square-light.svg

travis_yml:
python: 3.6
jobs:
- script: static
- script: test-coverage
- script: test
python: 3.5
cache: false # disable the cache for one build to make sure that works
- script: test
python: 3.7
dist: xenial # currently only xenial has python 3.7
- script: docs
pypi_user: tbekolay
deploy_dists:
- sdist
- bdist_wheel

ci_scripts:
- template: static
- template: test
- template: test
output_name: test-coverage
coverage: true
- template: docs
- template: deploy

codecov_yml: {}

pre_commit_config_yaml: {}

pyproject_toml: {}
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Automatically generated by nengo-bones, do not edit this file directly

repos:
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black
60 changes: 0 additions & 60 deletions .pylintrc

This file was deleted.

7 changes: 7 additions & 0 deletions .templates/setup.cfg.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% extends "templates/setup.cfg.template" %}

{% block pytest %}
{{ super() }}
pytester_example_dir = {{ pytest.pytester_example_dir }}
python_files = {{ pytest.python_files }}
{% endblock %}
Loading

0 comments on commit 9059c52

Please sign in to comment.