Skip to content

Commit e0c46e9

Browse files
v1.1.0 pylint applied.
1 parent 2660b2a commit e0c46e9

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed
File renamed without changes.

INSTALL

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ To install the package simply run the below command on your terminal:
44
python setup.py install
55

66
Don't forget to file bugs and let me know about them.
7-
Also, don't hasitate to ask for new features. Happy coding.
7+
Also, don't hesitate to ask for new features. Happy coding.

contentstack/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from .utility import Utils
1616
# from contentstack import *
1717

18+
__title__ = 'Contentstack-CDA'
1819
__author__ = 'Contentstack'
1920
__status__ = 'debug'
2021
__version__ = '1.1.0'

contentstack/https_connection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def user_agents():
3232
header = {'sdk': dict(name=contentstack.__package__, version=contentstack.__version__),
3333
'os': get_os_platform,
3434
'Content-Type': 'application/json'}
35-
package = "contentstack-python/v{}".format(contentstack.__version__)
35+
package = "contentstack-python/{}".format(contentstack.__version__)
3636
return {'User-Agent': str(header), "X-User-Agent": package}
3737

3838

runtests.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
from unittest import main
2-
from tests import *
32

43
main()

setup.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
import os
77

8+
import contentstack
9+
810
try:
911
from setuptools import setup
1012
except ImportError:
@@ -19,8 +21,8 @@
1921
status="Active",
2022
type="process",
2123
created="17 Jun",
22-
keywords='contentstack-python',
23-
version="1.1.0",
24+
keywords=contentstack.__title__,
25+
version=contentstack.__version__,
2426
author="Contentstack",
2527
author_email="[email protected]",
2628
description="Contentstack is a headless CMS with an API-first approach.",

0 commit comments

Comments
 (0)