forked from buguroo/pyknow
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathpyproject.toml
99 lines (84 loc) · 2.31 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[project]
name = "experta"
version = "1.9.5.dev1"
description = "Expert Systems for Python"
readme = "README.rst"
keywords = ["knowledge-based", "inference", "engine"]
license = { text = "LGPLv3" }
classifiers = [
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
authors = [
{ name = "Roberto Abdelkader Martínez Pérez", email = "[email protected]" }
]
requires-python = ">=3.7"
dependencies=[
"frozendict ~= 2.4.6",
"schema ~= 0.6.7"
]
[project.urls]
Homepage= "https://github.com/nilp0inter/experta"
Documentation="https://experta.readthedocs.io/"
[project.optional-dependencies]
dev = [
"tox",
"pytest-cov",
"pytest",
"coverage",
"hypothesis",
"hypothesis-pytest",
"pycodestyle",
"pydocstyle",
"codecov",
"twine",
"ipython",
"build"
]
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.pytest.ini_options]
markers = [ "slow: marks tests as slow (deselect with '-m \"not slow\"')"]
testpaths=["tests"]
[tool.pylint]
disable = "missing-docstring, invalid-name"
max-line-length = 120
[tool.pycodestyle]
show_source = true
show_pep8 = true
[tool.coverage.run]
branch = true
source = ["experta"]
[tool.coverage.report]
show_missing = true
#
[tool.tox]
envlist = ["py35", "py36", "py37", "py38", "py313","pypy3"]
requires = ["tox>=4.19"]
allowlist_externals = ["pytest", "pycodestyle", "coverage"]
[tool.tox.env_run_base]
description = "Run test under {base_python}"
deps = [".[dev]"]
commands=[
["pycodestyle","--show-source","--show-pep8", "experta"],
["coverage","erase"],
["pytest","--cov=experta", "--cov-report=xml", "-m", "not wip", "-v", "tests/unit"],
["coverage", "combine"],
["coverage", "report"],
["coverage", "html"],
]
usedevelop = true
setenv = { "PIPENV_VERBOSITY" = "-1" }
[tool.tox.env.wip]
deps = [".[dev]"]
usedevelop = true
setenv = { "PIPENV_VERBOSITY" = "-1" }
commands = [
["pycodestyle","--show-source","--show-pep8", "experta"],
["pytest","--cov=experta", "--cov-report=xml", "-m", "wip", "-v", "tests/unit"]
]