-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
153 lines (132 loc) · 3.22 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
[tool.poetry]
name = "isabelle-client"
version = "0.5.3"
description = "A client to Isabelle proof assistant server"
authors = ["Boris Shminke <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/inpefess/isabelle-client"
readme = "README.rst"
classifiers=[
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed"
]
keywords = ["TCP client", "Isabelle proof assistant", "interactive theorem prover"]
include = ["isabelle_client/py.typed"]
[tool.poetry.dependencies]
python = ">= 3.9.1, < 3.13"
[tool.poetry.group.dev.dependencies]
pylint = "*"
mypy = "*"
pytest-cov = "*"
pre-commit = "*"
black = "*"
flake8 = "*"
sphinx-autodoc-typehints = "*"
types-dataclasses = "*"
pydocstyle = "*"
tox = "*"
pyenchant = "*"
tbump = "*"
toml = "*"
furo = "*"
jedi = "*"
pyroma = "*"
pyupgrade = "*"
bandit = "*"
sphinx-gallery = "*"
[tool.black]
line-length=79
[tool.isort]
profile = "black"
src_paths = ["isabelle_client"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = """--doctest-modules --cov isabelle_client --cov-report xml
--cov-report term-missing --cov-fail-under=100
--junit-xml test-results/isabelle-client.xml"""
testpaths = ["isabelle_client"]
[tool.pylint.MASTER]
load-plugins = [
"pylint.extensions.consider_ternary_expression",
"pylint.extensions.docparams",
"pylint.extensions.mccabe",
"pylint.extensions.set_membership",
"pylint.extensions.code_style",
]
[tool.pylint.parameter_documentation]
accept-no-param-doc = false
accept-no-raise-doc = false
accept-no-return-doc = false
accept-no-yields-doc = false
default-docstring-type = "sphinx"
[tool.pylint.format]
max-line-length = 79
[tool.pylint.design]
max-statements = 10
[tool.pylint.typecheck]
generated-members = ["asyncio", "os"]
[tool.pylint.spelling]
spelling-dict = "en_GB"
spelling-private-dict-file = "spelling.dict"
[tool.mypy]
show_error_codes = true
incremental = true
disable_error_code = "no-redef"
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py39,py310,py311,py312
[testenv]
deps =
pytest-cov
flake8
pydocstyle
pylint
mypy
toml
pyenchant
pyroma
bandit
commands =
pydocstyle isabelle_client
flake8 isabelle_client
pylint isabelle_client
mypy isabelle_client
pyroma -n 10 .
bandit -r isabelle_client
pytest
"""
[tool.tbump]
github_url = "https://github.com/inpfess/isabelle-client/"
[tool.tbump.version]
current = "0.5.3"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "isabelle_client/__init__.py"
[[tool.tbump.file]]
src = "pyproject.toml"
[[tool.tbump.file]]
src = "doc/conf.py"