Skip to content

Commit 66c7603

Browse files
v1.1.0 pylint applied.
1 parent 3baab5d commit 66c7603

File tree

4 files changed

+92
-57
lines changed

4 files changed

+92
-57
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,23 @@ jobs:
1717
matrix:
1818
python-version: [3.6, 3.7, 3.8]
1919

20-
safety:
21-
script:
22-
- pip install safety
23-
- safety check
2420
steps:
25-
- uses: actions/checkout@v2
26-
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v2
28-
with:
29-
python-version: ${{ matrix.python-version }}
30-
- name: Install dependencies
31-
run: |
32-
python -m pip install --upgrade pip
33-
pip install flake8 pytest
34-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
35-
- name: Lint with flake8
36-
run: |
37-
# stop the build if there are Python syntax errors or undefined names
38-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
41-
- name: Test with pytest
42-
run: |
43-
pytest
21+
- uses: actions/checkout@v2
22+
- name: Set up Python ${{ matrix.python-version }}
23+
uses: actions/setup-python@v2
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install flake8 pytest
30+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31+
- name: Lint with flake8
32+
run: |
33+
# stop the build if there are Python syntax errors or undefined names
34+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
35+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
36+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
37+
- name: Test with pytest
38+
run: |
39+
pytest

contentstack/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from .utility import Utils
1717
# from contentstack import *
1818

19-
__title__ = 'Contentstack-python'
19+
__title__ = 'contentstack-python'
2020
__author__ = 'Contentstack'
2121
__status__ = 'debug'
2222
__version__ = '1.1.0'

requirements.txt

Lines changed: 71 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,71 @@
1-
docutils~=0.16
2-
py~=1.9.0
3-
dnspython~=2.0.0
4-
idna~=2.10
5-
pip~=20.2.1
6-
wheel~=0.34.2
7-
keyring~=21.3.0
8-
pytz~=2020.1
9-
Babel~=2.8.0
10-
pkginfo~=1.5.0.1
11-
MarkupSafe~=2.0.0a1
12-
pytest~=6.0.1
13-
Sphinx~=3.1.2
14-
packaging~=20.4
15-
Jinja2~=3.0.0a1
16-
imagesize~=1.2.0
17-
enum34~=1.1.10
18-
requests~=2.24.0
19-
snowballstemmer~=2.0.0
20-
Pygments~=2.6.1
21-
attrs~=19.3.0
22-
certifi~=2020.6.20
23-
chardet~=3.0.4
24-
wcwidth~=0.2.5
25-
six~=1.15.0
26-
coverage~=5.2.1
27-
toml~=0.10.1
28-
urllib3~=1.25.10
29-
alabaster~=0.7.12
30-
pyparsing~=3.0.0a2
31-
setuptools~=49.2.1
32-
zipp~=3.1.0
1+
aenum==2.2.3
2+
alabaster==0.7.12
3+
astroid==2.4.1
4+
attrs==19.3.0
5+
Babel==2.8.0
6+
certifi==2020.6.20
7+
chardet==3.0.4
8+
click==7.1.2
9+
coverage==5.2.1
10+
coverage-badge==1.0.1
11+
dnspython==2.0.0
12+
docutils==0.16
13+
dparse==0.5.1
14+
entrypoints==0.3
15+
enum34==1.1.10
16+
env==0.1.0
17+
eventlet==0.25.2
18+
greenlet==0.4.15
19+
html-testRunner==1.2.1
20+
idna==2.10
21+
imagesize==1.2.0
22+
importlib-metadata==0.23
23+
iniconfig==1.0.0
24+
isort==4.3.21
25+
itsdangerous==1.1.0
26+
Jinja2==3.0.0a1
27+
keyring==21.3.0
28+
lazy-object-proxy==1.4.3
29+
MarkupSafe==2.0.0a1
30+
mccabe==0.6.1
31+
monotonic==1.5
32+
more-itertools==7.2.0
33+
packaging==20.4
34+
pip-autoremove==0.9.1
35+
pipdeptree==1.0.0
36+
piplint==0.2.0
37+
pkginfo==1.5.0.1
38+
pluggy==0.13.1
39+
py==1.9.0
40+
Pygments==2.6.1
41+
pylint==2.5.2
42+
pyparsing==3.0.0a2
43+
pytest==6.0.1
44+
pytest-cov==2.9.0
45+
pytz==2020.1
46+
PyYAML==5.3.1
47+
readme-renderer==24.0
48+
requests==2.24.0
49+
requests-toolbelt==0.9.1
50+
safety==1.9.0
51+
six==1.15.0
52+
snowballstemmer==2.0.0
53+
Sphinx==3.1.2
54+
sphinx-rtd-theme==0.4.3
55+
sphinxcontrib-applehelp==1.0.2
56+
sphinxcontrib-devhelp==1.0.2
57+
sphinxcontrib-htmlhelp==1.0.3
58+
sphinxcontrib-jsmath==1.0.1
59+
sphinxcontrib-qthelp==1.0.3
60+
sphinxcontrib-serializinghtml==1.1.4
61+
toml==0.10.1
62+
tqdm==4.38.0
63+
twine==3.1.1
64+
typed-ast==1.4.1
65+
urllib3==1.25.10
66+
virtualenv==16.7.9
67+
wcwidth==0.2.5
68+
webencodings==0.5.1
69+
Werkzeug==1.0.1
70+
wrapt==1.11.2
71+
zipp==3.1.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
long_description = readme.read()
1717

1818
setup(
19-
title="contentstack-python sdk for content-delivery-api",
19+
title="contentstack-python",
2020
name="Contentstack",
2121
status="Active",
2222
type="process",

0 commit comments

Comments
 (0)