Skip to content

Commit

Permalink
run pre-commits w/ travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dnomadb committed Sep 11, 2019
1 parent a7b8550 commit a91977d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 21 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -6,6 +6,7 @@ install:
script:
- python --version
- pytest --version
- pre-commit run --all-files
- pytest --cov --cov-config=.coveragerc
after_script:
- echo "uploading to codecov"
Expand Down
49 changes: 28 additions & 21 deletions setup.py
Expand Up @@ -4,31 +4,38 @@


# Get the long description from the relevant file
with codecs_open('README.md', encoding='utf-8') as f:
with codecs_open("README.md", encoding="utf-8") as f:
long_description = f.read()


def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(name='tilesets-cli',
version='0.2.0',
description=u"CLI for interacting with and preparing data for the Tilesets API",
long_description=long_description,
classifiers=[],
keywords='',
author=u"Mapbox",
author_email='sam@mapbox.com',
url='https://github.com/mapbox/tilesets-cli',
license='BSD-2',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
install_requires=["boto3", "click~=7.0", "requests", "jsonschema~=3.0", "jsonseq~=1.0"],
include_package_data=True,
zip_safe=False,
extras_require={
'test': ['pytest>=3.6.0', 'pytest-cov'],
},
entry_points="""

setup(
name="tilesets-cli",
version="0.2.0",
description=u"CLI for interacting with and preparing data for the Tilesets API",
long_description=long_description,
classifiers=[],
keywords="",
author=u"Mapbox",
author_email="sam@mapbox.com",
url="https://github.com/mapbox/tilesets-cli",
license="BSD-2",
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
install_requires=[
"boto3",
"click~=7.0",
"requests",
"jsonschema~=3.0",
"jsonseq~=1.0",
],
include_package_data=True,
zip_safe=False,
extras_require={"test": ["pytest>=3.6.0", "pytest-cov"]},
entry_points="""
[console_scripts]
tilesets=tilesets.cli:cli
"""
)
""",
)

0 comments on commit a91977d

Please sign in to comment.