Skip to content

Commit aa02a8a

Browse files
committed
move pytest config to pyproject.toml
Signed-off-by: Sreekanth <prsreekanth920@gmail.com>
1 parent d6bd97e commit aa02a8a

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

packages/pynumaflow/pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ exclude = '''
8484
)/
8585
'''
8686

87+
[tool.pytest]
88+
strict = true
89+
collect_imported_tests = false
90+
console_output_style = "times"
91+
log_cli = true
92+
log_cli_level = "DEBUG"
93+
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
94+
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
95+
8796
[tool.ruff]
8897
line-length = 100
8998
src = ["pynumaflow", "tests", "examples"]
@@ -94,4 +103,6 @@ extend-exclude = [
94103
"*_pb2*.py",
95104
"*.pyi"
96105
]
106+
107+
[tool.ruff.lint]
97108
select = ["E", "F", "UP"]

packages/pynumaflow/pytest.ini

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)