# noqa removal in code base
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

As I removed all the `# noqa: F401`, Build failed "error F401: '*' imported but unused" @WillAyd  Some of these are needed to pass our linting.  See the output in the "Checks" CI build.

That said, there are some of these (particularly non-specific "noqa"s) that are leftover from olden days and cleaning them up is definitely helpful. Where is this coming from? Do you have an issue number, or a discussion in some other PR or issue that you want to reference in the description, so we know the context? I don't think we can remove all of these - looks to be some failing CI you can keep around. I'm surprised to only see 10 in CI but maybe that's a good thing... @datapythonista this is a follow up to #29209 and particularly my comment https://github.com/pandas-dev/pandas/pull/29209#issuecomment-546045353 @kaathi524 can this be closed in favor of several smaller PRs? > @kaathi524 can this be closed in favor of several smaller PRs?

Yeah sure. I tried running flake8 in my local setup without removing any 'noqa' but it throwing error.  Thanks @kaathi524, looking forward to the fixes in the smaller PRs. Please reference this PR when you open them, so we can track the discussion.