Mercurial > code > home > repos > rdfdb
annotate pyproject.toml @ 119:6443cb265a2f
more useful demo
author | drewp@bigasterisk.com |
---|---|
date | Tue, 23 May 2023 19:57:11 -0700 |
parents | 418050704a42 |
children |
rev | line source |
---|---|
79 | 1 [project] |
2 name = "rdfdb" | |
115 | 3 version = "0.24.0" |
79 | 4 description = "" |
91 | 5 authors = [{ name = "Drew Perttula", email = "drewp@bigasterisk.com" }] |
115 | 6 license = "MIT" |
79 | 7 dependencies = [ |
8 'rdflib', | |
118 | 9 'autobahn>=23.1.2', |
90 | 10 "prometheus-client>=0.13.1", |
92 | 11 "starlette-exporter>=0.12.0", |
118 | 12 "asyncinotify>=4.0.2", |
96 | 13 "aiohttp>=3.8.1", |
79 | 14 ] |
118 | 15 requires-python = ">=3.10" |
79 | 16 |
17 [project.urls] | |
18 Homepage = "" | |
19 | |
91 | 20 # url='https://projects.bigasterisk.com/rdfdb/rdfdb-0.21.0.tar.gz', |
79 | 21 [project.optional-dependencies] |
91 | 22 |
79 | 23 [tool.pdm] |
91 | 24 |
79 | 25 [tool.pdm.dev-dependencies] |
26 dev = [ | |
27 "flake8>=4.0.1", | |
28 "yapf>=0.32.0", | |
81
8d3c3e7cfb54
(barely) runnable demo service instance
drewp@bigasterisk.com
parents:
79
diff
changeset
|
29 "pytest>=7.1.1", |
8d3c3e7cfb54
(barely) runnable demo service instance
drewp@bigasterisk.com
parents:
79
diff
changeset
|
30 "pytest-watcher>=0.2.3", |
92 | 31 "mock", |
118 | 32 "pytest-asyncio>=0.21.0", |
108 | 33 "pydeps>=1.10.18", |
119 | 34 "uvicorn>=0.22.0", |
79 | 35 ] |
36 | |
37 [build-system] | |
38 requires = ["pdm-pep517>=0.12.0"] | |
39 build-backend = "pdm.pep517.api" | |
84
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
40 |
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
41 [tool.pytest.ini_options] |
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
42 filterwarnings = [ |
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
43 # The below warning is a consequence of how pytest doctest detects mocks and how DefinedNamespace behaves when an undefined attribute is being accessed. |
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
44 'ignore:Code. pytest_mock_example_attribute_that_shouldnt_exist is not defined in namespace .*:UserWarning', |
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
45 # The below warning is a consequence of how pytest detects fixtures and how DefinedNamespace behaves when an undefined attribute is being accessed. |
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
46 'ignore:Code. _pytestfixturefunction is not defined in namespace .*:UserWarning', |
91 | 47 ] |
48 asyncio_mode = "strict" | |
49 log_cli = 1 | |
50 log_cli_level = "INFO" | |
51 addopts = "--tb=short" |