Skip to content

Commit 77ac9ee

Browse files
committed
chore: add a no coverage comment to __main__.py so that tests don't fail due to __main__ always being the file's name
1 parent 623f973 commit 77ac9ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • {{cookiecutter.project_name}}/src/{{cookiecutter.package_name}}

{{cookiecutter.project_name}}/src/{{cookiecutter.package_name}}/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ def main() -> None:
1212

1313

1414
if __name__ == "__main__":
15-
app()
15+
app() # pragma: no cover

0 commit comments

Comments
 (0)