Mercurial > code > home > repos > rdfdb
annotate 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 |
rev | line source |
---|---|
79 | 1 [project] |
2 name = "rdfdb" | |
3 version = "0.22.0" | |
4 description = "" | |
5 authors = [ | |
6 {name = "Drew Perttula", email = "drewp@bigasterisk.com"}, | |
7 ] | |
8 license-expression = "MIT" | |
9 dependencies = [ | |
10 'rdflib', | |
11 'cyclone', | |
12 'mock', | |
13 'treq', | |
14 'service_identity', | |
15 'autobahn', | |
90 | 16 "prometheus-client>=0.13.1", |
79 | 17 ] |
18 requires-python = ">=3.9" | |
19 | |
20 [project.urls] | |
21 Homepage = "" | |
22 # url='https://projects.bigasterisk.com/rdfdb/rdfdb-0.21.0.tar.gz', | |
23 | |
24 [project.optional-dependencies] | |
25 [tool.pdm] | |
26 [tool.pdm.dev-dependencies] | |
27 dev = [ | |
28 "flake8>=4.0.1", | |
29 "yapf>=0.32.0", | |
81
8d3c3e7cfb54
(barely) runnable demo service instance
drewp@bigasterisk.com
parents:
79
diff
changeset
|
30 "pytest>=7.1.1", |
8d3c3e7cfb54
(barely) runnable demo service instance
drewp@bigasterisk.com
parents:
79
diff
changeset
|
31 "pytest-watcher>=0.2.3", |
79 | 32 ] |
33 | |
34 [build-system] | |
35 requires = ["pdm-pep517>=0.12.0"] | |
36 build-backend = "pdm.pep517.api" | |
84
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
37 |
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
38 [tool.pytest.ini_options] |
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
39 filterwarnings = [ |
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
40 # 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
|
41 '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
|
42 # 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
|
43 'ignore:Code. _pytestfixturefunction is not defined in namespace .*:UserWarning', |
36f4318442f2
clean up Literal monkeypatch that makes formatting better
drewp@bigasterisk.com
parents:
81
diff
changeset
|
44 ] |