Skip to content

Commit

Permalink
Release preparation (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstislon authored Jun 2, 2020
1 parent b0fb29f commit abab0c3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dist: xenial
dist: bionic
language: python

env:
Expand All @@ -16,9 +16,10 @@ python:
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
install:
- pip install $PYTEST_VERSION
- pip install pytest-cov==2.8.1
- pip install pytest-cov==2.9.0
- pip install -e .
script:
- pytest ./tests
Expand Down
6 changes: 3 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
pytest = "==5.4.1"
pytest-cov = "==2.8.1"
black = "*"
pytest = "==5.4.2"
pytest-cov = "==2.9.0"
black = "==19.10b0"

[packages]

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# pytest-bug

[![PyPI](https://img.shields.io/pypi/v/pytest-bug.svg?color=%2301a001&label=version)](https://pypi.org/project/pytest-bug/)
[![PyPI](https://img.shields.io/pypi/v/pytest-bug.svg?color=%2301a001&label=pypi)](https://pypi.org/project/pytest-bug/)
[![Build Status](https://travis-ci.com/tolstislon/pytest-bug.svg?branch=master)](https://travis-ci.com/tolstislon/pytest-bug)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pytest-bug.svg)](https://pypi.org/project/pytest-bug/)
[![pytes_support](https://img.shields.io/badge/pytest-%3E%3D3.6.0-blue.svg)](https://github.com/pytest-dev/pytest/releases)
[![Downloads](https://pepy.tech/badge/pytest-bug)](https://pepy.tech/project/pytest-bug)
[![codecov](https://codecov.io/gh/tolstislon/pytest-bug/branch/master/graph/badge.svg)](https://codecov.io/gh/tolstislon/pytest-bug)

[Pytest](https://github.com/pytest-dev/pytest) plugin for marking tests as a bug

### Install

Installation
----
```bash
pip install pytest-bug
```
Expand Down
6 changes: 3 additions & 3 deletions pytest_bug/hooks.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
"""Plugin hooks"""


def pytest_bug_set_mark(mark_bug, config): # noqa
def pytest_bug_set_mark(mark_bug, config): # pragma: no cover
"""
Called set mark
:param mark_bug: MarkBug
:param config: Base pytest config
"""


def pytest_bug_item_mark(item, config):
def pytest_bug_item_mark(item, config): # pragma: no cover
"""
Called after set mark
:param item: pytest item
:param config: Base pytest config
"""


def pytest_bug_report_teststatus(report, report_bug): # noqa
def pytest_bug_report_teststatus(report, report_bug): # pragma: no cover
"""
Called before output
:param report: Base pytest report
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='pytest-bug',
description='Pytest plugin Mark test as a bug',
description='Pytest plugin for marking tests as a bug',
long_description=long_description,
long_description_content_type='text/markdown',
author='tolstislon',
Expand All @@ -34,6 +34,7 @@
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Quality Assurance',
Expand Down

0 comments on commit abab0c3

Please sign in to comment.