Skip to content

Commit 2944a5e

Browse files
authored
Merge pull request #281 from Teemu/upgrade-linters
2 parents 1d07059 + e81bc74 commit 2944a5e

6 files changed

+25
-22
lines changed

.pre-commit-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.4.0
4+
rev: v4.5.0
55
hooks:
66
- id: check-added-large-files
77
- id: check-ast
@@ -14,22 +14,22 @@ repos:
1414
- id: trailing-whitespace
1515

1616
- repo: https://github.com/asottile/pyupgrade
17-
rev: v3.10.1
17+
rev: v3.15.0
1818
hooks:
1919
- id: pyupgrade
2020
args: [--py38-plus]
2121

2222
- repo: https://github.com/psf/black
23-
rev: 23.7.0
23+
rev: 24.1.1
2424
hooks:
2525
- id: black
2626

2727
- repo: https://github.com/PyCQA/flake8
28-
rev: 6.1.0
28+
rev: 7.0.0
2929
hooks:
3030
- id: flake8
3131

3232
- repo: https://github.com/PyCQA/isort
33-
rev: 5.12.0
33+
rev: 5.13.2
3434
hooks:
3535
- id: isort

CONTRIBUTORS.rst

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ The following people have contributed to pytest-sugar:
33
* Janne Vanhala
44
* Teemu
55
* Marc Abramowitz
6+
* `Justin Mayer <https://justinmayer.com>`_
67
* Yizhe Tang
78
* Mahdi Yusuf
89
* dscerri

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# pytest-sugar ✨
22

3-
[![PyPI version](https://img.shields.io/pypi/v/pytest-sugar.svg)](https://pypi.org/project/pytest-sugar/)
3+
[![Build Status](https://img.shields.io/github/actions/workflow/status/Teemu/pytest-sugar/build-and-test.yaml?branch=main)](https://github.com/Teemu/pytest-sugar/actions)
4+
[![PyPI Version](https://img.shields.io/pypi/v/pytest-sugar.svg)](https://pypi.org/project/pytest-sugar/)
5+
[![Downloads](https://img.shields.io/pypi/dm/pytest-sugar)](https://pypi.org/project/pytest-sugar/)
6+
![License](https://img.shields.io/pypi/l/pytest-sugar?color=blue)
47

58
This plugin extends [pytest](http://pytest.org) by showing failures and errors instantly, adding a progress bar, improving the test results, and making the output look better.
69

@@ -26,8 +29,7 @@ If you would like to run tests without pytest-sugar, use:
2629

2730
## How to contribute 👷‍♂️
2831

29-
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=master&repo=10950375
30-
)
32+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=master&repo=10950375)
3133

3234
Make sure to read our [Code of Conduct](https://github.com/Teemu/pytest-sugar/blob/master/.github/CODE_OF_CONDUCT.md). You can get started modifying the codebase with the following commands. Alternatively, you can try Github Codespaces (click the badge above). Push the changes to your repository & create a pull request.
3335

RELEASE.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Release type: major
2+
3+
* Add support for pytest 8.x
4+
* Drop support for Python 3.7

pyproject.toml

+8-11
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,20 @@ authors = ["Teemu <orkkiolento@gmail.com>", "Janne Vanhala <janne.vanhala@gmail.
66
license = "BSD 3-Clause"
77
readme = "README.md"
88
keywords = ["testing", "pytest", "plugin"]
9-
10-
repository = "https://github.com/Teemu/pytest-sugar"
11-
129
classifiers = [
13-
"Development Status :: 4 - Beta",
10+
"Development Status :: 5 - Production/Stable",
11+
"Environment :: Console",
1412
"Intended Audience :: Developers",
1513
"License :: OSI Approved :: BSD License",
16-
"Operating System :: POSIX",
17-
"Operating System :: Microsoft :: Windows",
18-
"Operating System :: MacOS :: MacOS X",
14+
"Operating System :: OS Independent",
1915
"Topic :: Software Development :: Testing",
2016
"Topic :: Software Development :: Libraries",
2117
"Topic :: Utilities",
2218
]
2319

2420
[tool.poetry.urls]
25-
"Tracker" = "https://github.com/Teemu/pytest-sugar/issues"
21+
Homepage = "https://github.com/Teemu/pytest-sugar"
22+
"Issue Tracker" = "https://github.com/Teemu/pytest-sugar/issues"
2623

2724
[tool.poetry.dependencies]
2825
python = ">=3.8.1,<4.0"
@@ -31,9 +28,9 @@ termcolor = ">=2.1.0"
3128
packaging = ">=21.3"
3229

3330
[tool.poetry.dev-dependencies]
34-
black = "^23.0"
35-
flake8 = "^6.0"
36-
isort = "^5.12"
31+
black = "^24.0"
32+
flake8 = "^7.0"
33+
isort = "^5.13"
3734

3835
[tool.autopub]
3936
project-name = "pytest-sugar"

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ def get_version(filename):
2929
long_description=codecs.open("README.md", encoding="utf-8").read(),
3030
long_description_content_type="text/markdown",
3131
version=get_version("pytest_sugar.py"),
32-
url="https://pivotfinland.com/pytest-sugar/",
32+
url="https://github.com/Teemu/pytest-sugar",
3333
project_urls={
34-
"Source": "https://github.com/Teemu/pytest-sugar/",
35-
"Tracker": "https://github.com/Teemu/pytest-sugar/issues",
34+
"Issue Tracker": "https://github.com/Teemu/pytest-sugar/issues",
3635
},
3736
license="BSD",
3837
author="Teemu, Janne Vanhala and others",

0 commit comments

Comments
 (0)