Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimisation: when detecting if a file is a notebook only read the st…
…art instead of the whole file (#2390) ## Changes This PR updates the detection during linting of whether a file is a notebook or not for non-Workspace paths so that when performing the header-check we only read the start of the file (enough for the header) instead of loading it all. This is an optimisation rather than an issue of correctness. ### Tests - existing unit tests
- Loading branch information