mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-12-22 12:12:18 +01:00
Run black, isort, and flake8.
This commit is contained in:
parent
8de5d862b6
commit
87181bc7b8
@ -21,7 +21,8 @@ def parse_args(argv):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--experimental-checks",
|
"--experimental-checks",
|
||||||
"-e",
|
"-e",
|
||||||
help="Enable experimental checks like language detection", action="store_true"
|
help="Enable experimental checks like language detection",
|
||||||
|
action="store_true",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--input-file",
|
"--input-file",
|
||||||
|
22
setup.py
22
setup.py
@ -4,12 +4,12 @@ with open("README.md", "r") as fh:
|
|||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
'pandas',
|
"pandas",
|
||||||
'python-stdnum',
|
"python-stdnum",
|
||||||
'requests',
|
"requests",
|
||||||
'requests-cache',
|
"requests-cache",
|
||||||
'pycountry',
|
"pycountry",
|
||||||
'langid'
|
"langid",
|
||||||
]
|
]
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
@ -28,13 +28,11 @@ setuptools.setup(
|
|||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
"Development Status :: 4 - Beta"
|
"Development Status :: 4 - Beta",
|
||||||
],
|
],
|
||||||
packages=['csv_metadata_quality'],
|
packages=["csv_metadata_quality"],
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
"console_scripts": ["csv-metadata-quality = csv_metadata_quality.__main__:main"]
|
||||||
'csv-metadata-quality = csv_metadata_quality.__main__:main'
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
install_requires=install_requires
|
install_requires=install_requires,
|
||||||
)
|
)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
import pandas as pd
|
||||||
|
|
||||||
import csv_metadata_quality.check as check
|
import csv_metadata_quality.check as check
|
||||||
import csv_metadata_quality.experimental as experimental
|
import csv_metadata_quality.experimental as experimental
|
||||||
import pandas as pd
|
|
||||||
|
|
||||||
|
|
||||||
def test_check_invalid_issn(capsys):
|
def test_check_invalid_issn(capsys):
|
||||||
|
Loading…
Reference in New Issue
Block a user