Skip to content

Commit

Permalink
Adds stubtest_allowlist entries for the sentinel objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Daverball committed Nov 21, 2023
1 parent e432923 commit c553f62
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions stubs/fanstatic/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ fanstatic.registry.Registry.ENTRY_POINT
fanstatic.Library.path
fanstatic.core.Library.path

# Error: variable differs from runtime type
# ======================
# These are some sentinel objects which use the NewType pattern to create a
# distinct type
fanstatic.compiler.SOURCE
fanstatic.compiler.TARGET
fanstatic.core.NOTHING
fanstatic.core.REQUIRED_DEFAULT_MARKER

# Error: is not present at runtime
# ================================
# See above, defining correct subclasses is more easy with abstract
Expand Down

0 comments on commit c553f62

Please sign in to comment.