Skip to content
Open
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
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
repos:
- repo: https://github.com/psf/black
rev: 23.11.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black
args: [--safe, --quiet]
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.12.0
rev: v3.16.0
hooks:
- id: reorder-python-imports
args: [ "--application-directories=.:src" , --py3-plus]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.3.0
hooks:
- id: flake8
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.21.2
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "1.5.1"
rev: "v2.12.1"
hooks:
- id: pyproject-fmt
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.7.1'
rev: 'v1.19.1'
hooks:
- id: mypy
additional_dependencies:
Expand Down
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ keywords = [
]
license = "mit"
authors = [
{ name = "Ronny Pfannschmidt", email= "rpfannsc@redhat.com"},
{ name = "Martin Kourim", email="mkourim@redhat.com" },
{ name = "Martin Kourim", email = "mkourim@redhat.com" },
{ name = "Ronny Pfannschmidt", email = "rpfannsc@redhat.com" },
]
requires-python = ">=3.7"
classifiers = [
Expand All @@ -33,6 +33,8 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Testing",
]
dynamic = [
Expand All @@ -42,15 +44,13 @@ dependencies = [
"pytest>=7",
"regendoc>=0.9",
]
[project.urls]
Homepage = "https://github.com/RonnyPfannschmidt/pytest-manual-marker"
[project.entry-points.pytest11]
manual_marker = "pytest_manual_marker"

[tool.hatch.version]
source = "vcs"
urls.Homepage = "https://github.com/RonnyPfannschmidt/pytest-manual-marker"
[project.entry-points]
pytest11.manual_marker = "pytest_manual_marker"

[tool.hatch.build.targets.sdist]
include = [
"/src",
"/src",
]
[tool.hatch.version]
source = "vcs"
6 changes: 2 additions & 4 deletions testing/test_manual.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
def test_collection(pytester):
pytester.makepyfile(
"""
pytester.makepyfile("""
import pytest

@pytest.mark.manual
Expand All @@ -9,8 +8,7 @@ def test_manual():

def test_automated():
pass
"""
)
""")
res = pytester.runpytest("-m", "not manual")
res.assert_outcomes(passed=1, failed=0, errors=0, skipped=0)

Expand Down
Loading