Skip to content

Commit

Permalink
Merge pull request #7740 from radarhere/type_hints_conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jan 21, 2024
2 parents 9c98162 + d331eb9 commit 1185fb8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Tests/conftest.py
Expand Up @@ -2,8 +2,10 @@

import io

import pytest

def pytest_report_header(config):

def pytest_report_header(config: pytest.Config) -> str:
try:
from PIL import features

Expand All @@ -14,7 +16,7 @@ def pytest_report_header(config):
return f"pytest_report_header failed: {e}"


def pytest_configure(config):
def pytest_configure(config: pytest.Config) -> None:
config.addinivalue_line(
"markers",
"pil_noop_mark: A conditional mark where nothing special happens",
Expand Down

0 comments on commit 1185fb8

Please sign in to comment.