1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-12-22 04:02:19 +01:00

Sort imports with isort

See: https://sourcery.ai/blog/python-best-practices/
This commit is contained in:
Alan Orth 2019-08-29 01:15:04 +03:00
parent 0388145b81
commit 280a99c8a8
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 10 additions and 6 deletions

View File

@ -1,6 +1,7 @@
from csv_metadata_quality import app
from sys import argv
from csv_metadata_quality import app
def main():
app.run(argv)

View File

@ -1,12 +1,14 @@
from csv_metadata_quality.version import VERSION
import argparse
import csv_metadata_quality.check as check
import csv_metadata_quality.fix as fix
import pandas as pd
import re
import signal
import sys
import pandas as pd
import csv_metadata_quality.check as check
import csv_metadata_quality.fix as fix
from csv_metadata_quality.version import VERSION
def parse_args(argv):
parser = argparse.ArgumentParser(description="Metadata quality checker and fixer.")

View File

@ -1,6 +1,7 @@
import pandas as pd
import re
import pandas as pd
def whitespace(field):
"""Fix whitespace issues.