File tree Expand file tree Collapse file tree 3 files changed +262
-207
lines changed Expand file tree Collapse file tree 3 files changed +262
-207
lines changed Original file line number Diff line number Diff line change @@ -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"
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ ddt >= 1.1.1, != 1.4.3
44mock ; python_version < "3.8"
55mypy
66pre-commit
7- pytest
7+ pytest >= 7.3.1
88pytest-cov
99pytest-instafail
10- pytest-subtests
10+ pytest-mock
1111pytest-sugar
You can’t perform that action at this time.
0 commit comments