view pyproject.toml @ 90:f9282b33b8d0

add first prom metrics stat
author drewp@bigasterisk.com
date Tue, 05 Apr 2022 09:20:20 -0700
parents 36f4318442f2
children 12bffd51450f
line wrap: on
line source

[project]
name = "rdfdb"
version = "0.22.0"
description = ""
authors = [
    {name = "Drew Perttula", email = "drewp@bigasterisk.com"},
]
license-expression = "MIT"
dependencies = [
    'rdflib',
    'cyclone',
    'mock',
    'treq',
    'service_identity',
    'autobahn',
    "prometheus-client>=0.13.1",
]
requires-python = ">=3.9"

[project.urls]
Homepage = ""
   # url='https://projects.bigasterisk.com/rdfdb/rdfdb-0.21.0.tar.gz',

[project.optional-dependencies]
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
    "flake8>=4.0.1",
    "yapf>=0.32.0",
    "pytest>=7.1.1",
    "pytest-watcher>=0.2.3",
]

[build-system]
requires = ["pdm-pep517>=0.12.0"]
build-backend = "pdm.pep517.api"

[tool.pytest.ini_options]
filterwarnings = [
    # The below warning is a consequence of how pytest doctest detects mocks and how DefinedNamespace behaves when an undefined attribute is being accessed.
    'ignore:Code. pytest_mock_example_attribute_that_shouldnt_exist is not defined in namespace .*:UserWarning',
    # The below warning is a consequence of how pytest detects fixtures and how DefinedNamespace behaves when an undefined attribute is being accessed.
    'ignore:Code. _pytestfixturefunction is not defined in namespace .*:UserWarning',
]