@@ -3,10 +3,11 @@ requires = ["setuptools"]
33build-backend =" setuptools.build_meta"
44
55[tool .pytest .ini_options ]
6- python_files =' test_*.py'
7- testpaths =' test' # space separated list of paths from root e.g test tests doc/testing
8- addopts =' --cov=git --cov-report=term --disable-warnings'
9- filterwarnings =' ignore::DeprecationWarning'
6+ addopts =" --cov=git --cov-report=term --disable-warnings"
7+ filterwarnings =" ignore::DeprecationWarning"
8+ python_files =" test_*.py"
9+ tmp_path_retention_policy =" failed"
10+ testpaths =" test" # Space separated list of paths from root e.g test tests doc/testing.
1011# --cov coverage
1112# --cov-report term # send report to terminal term-missing -> terminal with line numbers html xml
1213# --cov-report term-missing # to terminal with line numbers
@@ -29,7 +30,7 @@ show_error_codes = true
2930implicit_reexport =true
3031# strict = true
3132
32- # TODO:remove when 'gitdb' is fully annotated
33+ # TODO:Remove when 'gitdb' is fully annotated.
3334exclude = [" ^git/ext/gitdb" ]
3435[[tool .mypy .overrides ]]
3536module =" gitdb.*"
@@ -44,5 +45,5 @@ omit = ["*/git/ext/*"]
4445
4546[tool .black ]
4647line-length =120
47- target-version = [' py37' ]
48+ target-version = [" py37" ]
4849extend-exclude =" git/ext/gitdb"