Skip to content

Commit d4de502

Browse files
committed
fix: mypy duplicate modules warning
1 parent 3e11a02 commit d4de502

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

mypy.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[mypy]
2-
3-
exclude = build|setup.py|venv|samples
2+
exclude = build|setup.py|venv
43

54
# cloudevents package has no types
65
ignore_missing_imports = True
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Required to avoid a 'duplicate modules' mypy error
2+
# in monorepos that have multiple main.py files.
3+
# https://github.com/python/mypy/issues/4008

0 commit comments

Comments
 (0)