Skip to content

Commit 273fb55

Browse files
authored
Merge pull request #23 from tommycbird/patch-0.1
Added testing for and modified clean_dict
2 parents 4ce378b + 0270fc0 commit 273fb55

File tree

233 files changed

+11636
-6666
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+11636
-6666
lines changed

.codebeatignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
docs/**
2+
tests/**
3+
examples/**

.coveragerc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# .coveragerc to control coverage.py
2+
3+
[run]
4+
branch = True
5+
omit =
6+
examples/*
7+
tests/*
8+
setup.py
9+
10+
[report]
11+
precision=5
12+
13+
[html]
14+
directory = cover-html

.editorconfig

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
root = true
4+
5+
[*]
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
indent_style = space
11+
indent_size = 4
12+
13+
[*.json]
14+
indent_style = space
15+
indent_size = 4
16+
17+
# Troubles with TABS. Use 2 spaces
18+
[*.yml]
19+
indent_style = space
20+
indent_size = 2
21+
22+
[*.hbs]
23+
insert_final_newline = false
24+
25+
[*.{diff,md}]
26+
trim_trailing_whitespace = false
27+
28+
# They have troubles with TABS. Use 2 spaces
29+
[{bower,package}.json]
30+
indent_style = space
31+
indent_size = 2

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
*.js text
5+
*.py text

.gitignore

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
.idea/*
22
*.py[co]
3-
.idea/
4-
*.json
53
Route4Me_SDK.egg-info/
6-
build/
7-
dist/
8-
docs_source
4+
/build/
5+
/dist/
6+
/docs_source
7+
/cover-html/
8+
.coverage
9+
/.cache/
10+
/tmp/
11+
/development/
12+
.venv
13+
docs/html/*
14+
.tox

.scrutinizer.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
build:
2+
tests:
3+
override:
4+
-
5+
command: pytest
6+
coverage:
7+
file: '.coverage'
8+
config_file: '.coveragerc'
9+
format: 'py-cc'
10+
dependencies:
11+
override:
12+
- pip install -r requirements-dev.txt -q
13+
- pip install -r requirements.txt -q
14+
15+
checks:
16+
python:
17+
code_rating: true
18+
duplicate_code: true

.travis.yml

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,39 @@
1+
# =============================================================================
2+
# Access Route4Me's logistics-as-a-service API
3+
# using our Python SDK
4+
#
5+
# Copyright (C) 2016-2020 Route4Me
6+
# =============================================================================
7+
18
language: python
9+
10+
sudo: false
11+
12+
cache:
13+
pip: true
14+
215
python:
3-
- "2.7"
16+
- "3.6"
17+
- "3.7"
18+
- "3.8"
19+
420
before_install:
5-
- python setup.py install
6-
install: pip install -r requirements.txt
7-
script: python setup.py test
21+
- pip install --upgrade pip
22+
- python setup.py install
23+
24+
install:
25+
- pip install -r requirements-dev.txt -q
26+
- pip install -r requirements.txt -q
27+
28+
# we are going to send coverage only from Travis. So this package
29+
# is Travis-specific. We don't list this package in `requirements-dev.txt`
30+
- pip install codecov -q
31+
32+
- pip --version
33+
- flake8 --version
34+
- pytest --version
35+
36+
script:
37+
- flake8
38+
- pytest
39+
- codecov

0 commit comments

Comments
 (0)