File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,3 +93,28 @@ include = [
9393
9494[tool .hatch .metadata ]
9595allow-direct-references = true
96+
97+ [tool .pytest .ini_options ]
98+ testpaths = [
99+ " tools" ,
100+ ]
101+ # Exclude vendor/dependency directories and submodule repos that have their own test suites
102+ norecursedirs = [
103+ " depend" ,
104+ " .venv" ,
105+ " build" ,
106+ " dist" ,
107+ " *.egg" ,
108+ " .git" ,
109+ " git" ,
110+ " .tox" ,
111+ " repo" , # Excludes submodule repos like tools/phage_i_expanded/repo/
112+ " blind_dating" ,
113+ " phylodating" ,
114+ " translate_DNA" ,
115+ " tests/phylodating" , # Exclude the test submodule copy
116+ ]
117+ # Only collect test files from our actual project, not vendored dependencies
118+ python_files = [" tests.py" ] # Only collect Django test files
119+ python_classes = [" Test*" ]
120+ python_functions = [" test_*" ]
You can’t perform that action at this time.
0 commit comments