Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore union-attr mypy errors in scraper modules
This is primarily done for one widespread set of noisy (usually false positive) errors in particular: AbstractScraper.soup.find(...) returns {Tag | NavigableString | None}, and we often call find / find_all on the results of that. NavigableString doesn't provide those methods, and having to isinstance check on every find call would be annoying
- Loading branch information