File tree 1 file changed +35
-0
lines changed 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ [tool .pytest .ini_options ]
2
+ python_files = ' test_*.py'
3
+ testpaths = ' test' # space seperated list of paths from root e.g test tests doc/testing
4
+ addopts = ' --cov=git --cov-report=term --maxfail=10 --disable-warnings'
5
+ filterwarnings = ' ignore::DeprecationWarning'
6
+ # --cov coverage
7
+ # --cov-report term # send report to terminal term-missing -> terminal with line numbers html xml
8
+ # --cov-report term-missing # to terminal with line numbers
9
+ # --cov-report html:path # html file at path
10
+ # --maxfail # number of errors before giving up
11
+ # -disable-warnings # Disable pytest warnings (not codebase warnings)
12
+ # -rf # increased reporting of failures
13
+ # -rE # increased reporting of errors
14
+ # --ignore-glob=**/gitdb/* # ignore glob paths
15
+ # filterwarnings ignore::WarningType # ignores those warnings
16
+
17
+ [tool .mypy ]
18
+ # disallow_untyped_defs = True
19
+ no_implicit_optional = true
20
+ warn_redundant_casts = true
21
+ # warn_unused_ignores = True
22
+ # warn_unreachable = True
23
+ show_error_codes = true
24
+
25
+ # TODO: remove when 'gitdb' is fully annotated
26
+ [[tool .mypy .overrides ]]
27
+ module = " gitdb.*"
28
+ ignore_missing_imports = true
29
+
30
+ [tool .coverage .run ]
31
+ source = [" git" ]
32
+
33
+ [tool .coverage .report ]
34
+ include = [" */git/*" ]
35
+ omit = [" */git/ext/*" ]
You can’t perform that action at this time.
0 commit comments