Skip to content

Commit 58a0408

Browse files
committed
🔧 migrate pytest.ini configuration into pyproject.toml
1 parent 0d1c783 commit 58a0408

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,16 @@ profile = "black"
9292
lines_after_imports = 2
9393
known_first_party = "mysql_to_sqlite3"
9494
skip_gitignore = true
95+
96+
[tool.pytest.ini_options]
97+
testpaths = ["tests"]
98+
norecursedirs = [".*", "venv", "env", "*.egg", "dist", "build"]
99+
minversion = "7.3.1"
100+
addopts = "-rsxX -l --tb=short --strict-markers"
101+
timeout = 300
102+
markers = [
103+
"init: Run the initialisation test functions",
104+
"transfer: Run the main transfer test functions",
105+
"exceptions: Run SQL exception test functions",
106+
"cli: Run the cli test functions",
107+
]

pytest.ini

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

0 commit comments

Comments
 (0)