@@ -3,10 +3,11 @@ requires = ["setuptools"]
3
3
build-backend =" setuptools.build_meta"
4
4
5
5
[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.
10
11
# --cov coverage
11
12
# --cov-report term # send report to terminal term-missing -> terminal with line numbers html xml
12
13
# --cov-report term-missing # to terminal with line numbers
@@ -29,7 +30,7 @@ show_error_codes = true
29
30
implicit_reexport =true
30
31
# strict = true
31
32
32
- # TODO:remove when 'gitdb' is fully annotated
33
+ # TODO:Remove when 'gitdb' is fully annotated.
33
34
exclude = [" ^git/ext/gitdb" ]
34
35
[[tool .mypy .overrides ]]
35
36
module =" gitdb.*"
@@ -44,5 +45,5 @@ omit = ["*/git/ext/*"]
44
45
45
46
[tool .black ]
46
47
line-length =120
47
- target-version = [' py37' ]
48
+ target-version = [" py37" ]
48
49
extend-exclude =" git/ext/gitdb"