File: mypy-stubtest.ini

package info (click to toggle)
python-pygit2 1.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,720 kB
  • sloc: ansic: 12,584; python: 9,337; sh: 205; makefile: 26
file content (16 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Config file for testing the stub file (_pygit2.pyi) with "stubtest"
# (tool shipped with mypy).
#
# Run "build.sh stubtest", or:
#   stubtest --mypy-config-file test/mypy-stubtest.ini pygit2._pygit2
#
# Format info:
#   https://mypy.readthedocs.io/en/stable/config_file.html

[mypy]
warn_unused_configs = True
disallow_any_explicit = True

# don't follow import pygit2 from _pygit2.pyi, we only want to check the pyi file.
[mypy-pygit2]
follow_imports = skip