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

Run black, isort, and flake8.

This commit is contained in:
Alan Orth 2020-01-15 11:41:31 +02:00
parent 8de5d862b6
commit 87181bc7b8
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 14 additions and 14 deletions

View File

@ -21,7 +21,8 @@ def parse_args(argv):
parser.add_argument(
"--experimental-checks",
"-e",
help="Enable experimental checks like language detection", action="store_true"
help="Enable experimental checks like language detection",
action="store_true",
)
parser.add_argument(
"--input-file",

View File

@ -4,12 +4,12 @@ with open("README.md", "r") as fh:
long_description = fh.read()
install_requires = [
'pandas',
'python-stdnum',
'requests',
'requests-cache',
'pycountry',
'langid'
"pandas",
"python-stdnum",
"requests",
"requests-cache",
"pycountry",
"langid",
]
setuptools.setup(
@ -28,13 +28,11 @@ setuptools.setup(
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta"
"Development Status :: 4 - Beta",
],
packages=['csv_metadata_quality'],
packages=["csv_metadata_quality"],
entry_points={
'console_scripts': [
'csv-metadata-quality = csv_metadata_quality.__main__:main'
]
"console_scripts": ["csv-metadata-quality = csv_metadata_quality.__main__:main"]
},
install_requires=install_requires
install_requires=install_requires,
)

View File

@ -1,6 +1,7 @@
import pandas as pd
import csv_metadata_quality.check as check
import csv_metadata_quality.experimental as experimental
import pandas as pd
def test_check_invalid_issn(capsys):