-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
140 lines (121 loc) · 3.23 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
[build-system]
# build the package with [flit](https://flit.readthedocs.io)
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "metis-client"
version = "0.7.2"
description = """Metis infra API client in Python"""
authors = [{name = "Sergei Korolev", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Information Analysis"
]
keywords = ["metis", "client"]
requires-python = ">=3.8"
dependencies = [
"aiohttp >= 3.7.4",
"aiohttp-sse-client >= 0.2.1",
"camel-converter >= 3",
"typing-extensions >= 4.2.0; python_version < '3.11'",
"yarl >= 1.6.3",
]
[project.optional-dependencies]
debug = [
"wdb"
]
lint = [
"autoflake",
"black >= 24.1",
"flake8",
"flake8-bugbear",
"isort",
"mypy >= 1.0.0, <2",
"pylint",
"pylint-per-file-ignores >= 1",
"pyupgrade",
]
test = [
"freezegun",
"pytest-aiohttp >= 1.0.4, <2",
"pytest-cov",
]
release = [
"commitizen",
"flit",
]
[project.urls]
Home = "https://github.com/tilde-lab/metis-client"
Changelog = "https://github.com/tilde-lab/metis-client/blob/master/CHANGELOG.md"
Issues = "https://github.com/tilde-lab/metis-client/issues"
Source = "https://github.com/tilde-lab/metis-client"
[tool.flit.module]
name = "metis_client"
[tool.autoflake]
expand-star-imports = true
ignore-init-module-imports = true
remove-all-unused-imports = true
remove-duplicate-keys = true
remove-unused-variables = true
[tool.black]
target-version = ['py38', 'py39', 'py310', 'py311']
[tool.isort]
profile = "black"
py_version = 38
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
[tool.pylint.MASTER]
load-plugins=[
"pylint_per_file_ignores",
]
[tool.pylint.main]
jobs = 0
py-version = "3.8"
recursive = true
suggestion-mode = true
[tool.pylint.basic]
good-names = ["id", "x", "xy", "y", "_", "__"]
[tool.pylint.design]
max-args = 7
max-attributes = 10
min-public-methods = 1
[tool.pylint.format]
max-line-length = 88
[tool.pylint.reports]
output-format = "colorized"
reports = "no"
score = "no"
[tool.pylint.typecheck]
signature-mutators = "metis_client.metis.to_sync_with_metis_client"
[tool.pylint.similarities]
min-similarity-lines = 8
[tool.pylint-per-file-ignores]
"/tests/" = "redefined-outer-name"
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--cov=metis_client --cov-report=term --no-cov-on-fail --cov-fail-under=99"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
major_version_zero = true
version_files = [
"pyproject.toml:^version",
"metis_client/const.py:^PROJECT_VERSION",
]
version_provider = "pep621"
update_changelog_on_bump = true