python -m pip install pandas-vet
Once it's installed you can simply flake8 just like you're used to.
python -m flake8
This will check ensure that modern commands are favored deprecated alternatives. You can read more details on the checks on GitHub. It's especially powerful when it's used in combination with pre-commit hooks.
You can get it to throw extra errors by setting the
python -m flake8 --annoy
This flag will raise errors if the
df variable is used to refer to a dataframe. It may be a strongly opinionated check, but to quote the readme:
dfis a bad variable name. Be kinder to your future self.
Back to TILs.