Skip to content

Commit 32cd0d3

Browse files
authored
Merge pull request #9 from litleleprikon/add-codeclimate
Add Code Climate checks
2 parents 38a54b6 + 73f27fe commit 32cd0d3

File tree

5 files changed

+18
-3
lines changed

5 files changed

+18
-3
lines changed

.codeclimate.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: "2"
2+
plugins:
3+
shellcheck:
4+
enabled: true
5+
bandit:
6+
enabled: true
7+
markdownlint:
8+
enabled: true
9+
pep8:
10+
enabled: true

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## Unreleased
9+
910
- n/a
1011

1112
## 1.0.0 - 2019-02-07
13+
1214
### Added
15+
1316
- Initial release

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ A Python client for the [Akamai Fast Purge API](https://developer.akamai.com/api
55

66
[![Build Status](https://travis-ci.org/release-engineering/python-fastpurge.svg?branch=master)](https://travis-ci.org/release-engineering/python-fastpurge)
77
[![Coverage Status](https://coveralls.io/repos/github/release-engineering/python-fastpurge/badge.svg?branch=master)](https://coveralls.io/github/release-engineering/python-fastpurge?branch=master)
8+
[![Maintainability](https://api.codeclimate.com/v1/badges/2a5d60f6ddb557d88055/maintainability)](https://codeclimate.com/github/release-engineering/python-fastpurge/maintainability)
89

910
- [Source](https://github.com/release-engineering/python-fastpurge)
1011
- [Documentation](https://release-engineering.github.io/python-fastpurge/)
@@ -27,7 +28,6 @@ Install the `fastpurge` package from PyPI.
2728
pip install fastpurge
2829
```
2930

30-
3131
Usage Example
3232
-------------
3333

@@ -49,7 +49,6 @@ result = purged.result()
4949
print("Purge completed:", result)
5050
```
5151

52-
5352
License
5453
-------
5554

scripts/push-docs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33

44
enabled(){
5-
if [ "$TRAVIS_BRANCH" != "master" ] || [ $TRAVIS_PULL_REQUEST != "false" ]; then
5+
if [ "$TRAVIS_BRANCH" != "master" ] || [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
66
return 1
77
fi
88
}

tox.ini

+3
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ commands=
4747

4848
[flake8]
4949
max-line-length = 100
50+
51+
[pep8]
52+
max-line-length = 100

0 commit comments

Comments
 (0)