Skip to content

Commit 1dce5cc

Browse files
chore: Move pytest configuration from pyproject.toml to pytest.ini
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
1 parent 6727911 commit 1dce5cc

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

pyproject.toml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,8 @@ ignore = [
193193
"W002" # Duplicate files. (TODO: Fix the few duplicate files, mostly `__init__.py` files that have only copyright text.)
194194
]
195195

196-
[tool.pytest.ini_options]
197-
log_cli = true
198-
log_cli_level = "INFO"
199-
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
200-
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
201-
addopts = "-rs --strict-markers --timeout=600 --junit-xml=build/test-results/test-results.xml"
202-
filterwarnings = [
203-
"ignore::airbyte_cdk.sources.source.ExperimentalClassWarning"
204-
]
196+
# [tool.pytest.ini_options]
197+
# NOTE: PyTest options moved to dedicated `pytest.ini`
205198

206199
[tool.airbyte_ci]
207200
python_versions = ["3.10", "3.11"]

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ log_cli = 1
33
log_cli_level = INFO
44
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
55
log_cli_date_format=%Y-%m-%d %H:%M:%S
6+
addopts = -rs --strict-markers --timeout=600 --junit-xml=build/test-results/test-results.xml
67
filterwarnings =
78
ignore::airbyte_cdk.sources.source.ExperimentalClassWarning
89
markers =

0 commit comments

Comments
 (0)