Mercurial > code > home > repos > background_loop
diff pyproject.toml @ 9:263ccb9e00df
port to asyncio and pdm
author | drewp@bigasterisk.com |
---|---|
date | Sun, 24 Apr 2022 14:56:36 -0700 |
parents | |
children | 6c48f6e5df31 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pyproject.toml Sun Apr 24 14:56:36 2022 -0700 @@ -0,0 +1,38 @@ +[project] +name = "background-loop" +version = "1.0.0" +description = "" +authors = [ + {name = "Drew Perttula", email = "drewp@bigasterisk.com"}, +] +license-expression = "MIT" +dependencies = [ + 'prometheus_client', +] +requires-python = ">=3.9" + +[project.urls] +Homepage = "" + # url='https://projects.bigasterisk.com/background-loop/background_loop-1.0.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', +] \ No newline at end of file