mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-12-22 12:12:18 +01:00
Sort imports with isort
See: https://sourcery.ai/blog/python-best-practices/
This commit is contained in:
parent
0388145b81
commit
280a99c8a8
@ -1,6 +1,7 @@
|
|||||||
from csv_metadata_quality import app
|
|
||||||
from sys import argv
|
from sys import argv
|
||||||
|
|
||||||
|
from csv_metadata_quality import app
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
app.run(argv)
|
app.run(argv)
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
from csv_metadata_quality.version import VERSION
|
|
||||||
import argparse
|
import argparse
|
||||||
import csv_metadata_quality.check as check
|
|
||||||
import csv_metadata_quality.fix as fix
|
|
||||||
import pandas as pd
|
|
||||||
import re
|
import re
|
||||||
import signal
|
import signal
|
||||||
import sys
|
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):
|
def parse_args(argv):
|
||||||
parser = argparse.ArgumentParser(description="Metadata quality checker and fixer.")
|
parser = argparse.ArgumentParser(description="Metadata quality checker and fixer.")
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import pandas as pd
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
import pandas as pd
|
||||||
|
|
||||||
|
|
||||||
def whitespace(field):
|
def whitespace(field):
|
||||||
"""Fix whitespace issues.
|
"""Fix whitespace issues.
|
||||||
|
Loading…
Reference in New Issue
Block a user