Skip to content

Commit cb2b023

Browse files
committed
Migrate setup.cfg into pyproject.toml
Only flake8 does not support pyproject.toml so it stays for now
1 parent 9501d8c commit cb2b023

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,18 @@ path = "elasticsearch_serverless/__init__.py"
5555
include = [
5656
"/elasticsearch_serverless",
5757
]
58+
59+
[tool.pytest]
60+
junit_family = "legacy"
61+
addopts = "-vvv -p no:logging --cov-report=term-missing --cov=elasticsearch --cov-config=.coveragerc"
62+
63+
[tool.isort]
64+
profile = "black"
65+
66+
[tool.coverage.report]
67+
exclude_lines = [
68+
"raise NotImplementedError*",
69+
]
70+
71+
[tool.mypy]
72+
ignore_missing_imports = true

setup.cfg

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,2 @@
11
[flake8]
22
ignore = E203, E266, E501, W503
3-
4-
[tool:pytest]
5-
junit_family=legacy
6-
addopts = -vvv -p no:logging --cov-report=term-missing --cov=elasticsearch --cov-config=.coveragerc
7-
8-
[tool:isort]
9-
profile=black
10-
11-
[report]
12-
exclude_lines=
13-
raise NotImplementedError*
14-
15-
[mypy]
16-
ignore_missing_imports = True

0 commit comments

Comments
 (0)