8000 Move inconsistent namespace check to pre-commit, fixup more files by MarcoGorelli · Pull Request #37662 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Move inconsistent namespace check to pre-commit, fixup more files #37662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Nov 8, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc
  • Loading branch information
MarcoGorelli committed Nov 6, 2020
commit 9b0018b9e578bcc324f5d857d7d4d3b885ac3efb
8 changes: 8 additions & 0 deletions scripts/check_for_inconsistent_pandas_namespace.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
"""
Check that test suite file doesn't contain both of e.g. ``Series`` and ``pd.Series``.

This is meant to be run as a pre-commit hook - run it manually, you can do:

pre-commit run inconsistent-namespace-usage --all-files
"""

import argparse
import re

Expand Down
0