Mercurial > code > home > repos > rdfdb
annotate pyproject.toml @ 91:12bffd51450f
project config
author | drewp@bigasterisk.com |
---|---|
date | Sun, 15 May 2022 15:47:43 -0700 |
parents | f9282b33b8d0 |
children | 5ebb6129c035 |
rev | line source |
---|---|
79 | 1 [project] |
2 name = "rdfdb" | |
3 version = "0.22.0" | |
4 description = "" | |
91 | 5 authors = [{ name = "Drew Perttula", email = "drewp@bigasterisk.com" }] |
79 | 6 license-expression = "MIT" |
7 dependencies = [ | |
8 'rdflib', | |
9 'cyclone', | |
10 'mock', | |
11 'treq', | |
12 'service_identity', | |
13 'autobahn', | |
90 | 14 "prometheus-client>=0.13.1", |
79 | 15 ] |
16 requires-python = ">=3.9" | |
17 | |
18 [project.urls] | |
19 Homepage = "" | |
20 | |
91 | 21 # url='https://projects.bigasterisk.com/rdfdb/rdfdb-0.21.0.tar.gz', |
79 | 22 [project.optional-dependencies] |
91 | 23 |
79 | 24 [tool.pdm] |
91 | 25 |
79 | 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', |
91 | 44 ] |
45 asyncio_mode = "strict" | |
46 log_cli = 1 | |
47 log_cli_level = "INFO" | |
48 addopts = "--tb=short" |