Skip to main content

image Build Status

Markings

markings is a library that provides a way to mark your Python module, usually with issues. Because it is part of the code, it enable you to have an "up to date" list of issues, per a commit, and to be able to view the trends of the issues along the git commits as oppose to using an external issue tracking system.

The library is based on pytest's markers and especially on @pytest.mark.xfail.

Example

Import the marker from the markings module. Decide how you want to mark a fuction and use the decorator to mark the function.

from markings import marker

@marker.todo("Receive the name of the user as parameter")
def func():
    print("hello world")

In the previous example the marker was todo, but it can be anything you want:

from markings import marker

@marker.anything_you_want("Receive the name of the user as parameter")
def func():
    print("hello world")

Installation

pip install markings

Tests

./scripts/test.sh

Lint

How to contribute

Metadata

Release files for markings 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for markings 0.0.5
File Size Uploaded
markings-0.0.5.tar.gz 3.4 kB Details

Release files / markings-0.0.5.tar.gz

Download URL markings-0.0.5.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f784a58bec86452dcef80480890245d763f128c68f0036dd103178a7ed18c8c3
BLAKE2b-256 checksum
How to use checksums
8bfabb144da99c8d694ccd92cbbc973af6055547d847b341bff0e781f762e6c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page