module T::Configuration

def self.enable_final_checks_on_hooks

```
end
def foo; end
include M
class C
end
def foo; end
sig(:final) {void}
extend T::Sig
module M
```ruby

example will not raise an error.
including and extending modules. Iff this is not called, then the following
Announce to Sorbet that we would like the final checks to be enabled when
def self.enable_final_checks_on_hooks
  T::Private::Methods.set_final_checks_on_hooks(true)
end