Skip to content

Commit

Permalink
Add py.typed marker for PEP 561
Browse files Browse the repository at this point in the history
- include in dist package

Signed-off-by: mimir-d <[email protected]>
  • Loading branch information
mimir-d committed Aug 21, 2024
1 parent 4f7f9fd commit e6bd2de
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@ name = "ocptv"
version = "0.1.6"
description = "OCP Test & Validation project api"
authors = ["OCP Test & Validation <[email protected]>"]

[tool.setuptools.package-data]
"*" = ["py.typed"]

1 change: 1 addition & 0 deletions src/ocptv/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""
The OCP Test & Validation python api for the output of spec compliant JSON.
"""

__version__ = "0.1.6"
__author__ = "OCP Test & Validation"
1 change: 1 addition & 0 deletions src/ocptv/output/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module contains output channel configuration for the OCPTV library.
"""

import threading
import typing as ty
from abc import ABC, abstractmethod
Expand Down
1 change: 1 addition & 0 deletions src/ocptv/output/emit.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module covers the raw output semantics of the OCPTV library.
"""

import dataclasses as dc
import json
import threading
Expand Down
1 change: 1 addition & 0 deletions src/ocptv/output/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
says what the serializer should use for field name.
In general, ``metadata.spec_field`` should only be present for primitive types.
"""

import dataclasses as dc
import typing as ty
from enum import Enum
Expand Down
1 change: 1 addition & 0 deletions src/ocptv/output/run.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module describes the high level test run and related objects.
"""

import sys
import threading
import typing as ty
Expand Down
1 change: 1 addition & 0 deletions src/ocptv/output/step.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module describes the test steps inside the test run.
"""

import threading
import typing as ty
from contextlib import contextmanager
Expand Down
1 change: 1 addition & 0 deletions src/ocptv/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Marker file for PEP 561. This package uses inline types.

0 comments on commit e6bd2de

Please sign in to comment.