Skip to content

Commit

Permalink
Add "..." to the list of coverage excludes.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Jan 18, 2021
1 parent 81e7f66 commit ac5bec0
Show file tree
Hide file tree
Showing 130 changed files with 130 additions and 0 deletions.
1 change: 1 addition & 0 deletions repo_helper/files/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ def coverage_report(self):
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:",
"if __name__ == .__main__.:",
"...",
])

def check_wheel_contents(self):
Expand Down
1 change: 1 addition & 0 deletions tests/test_files/test_testing_/test_make_tox_matrix.ini
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ exclude_lines =
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
if __name__ == .__main__.:
...
[check-wheel-contents]
ignore = W002
Expand Down
Loading

0 comments on commit ac5bec0

Please sign in to comment.