Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Commit c4b493d

Browse files
authored
Merge pull request #107 from waleko/master
[qa] Replace with openwisp-utils-qa-checks
2 parents 5f7a2be + 9ac4ec4 commit c4b493d

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ matrix:
2222
before_install:
2323
- pip install -U pip wheel setuptools
2424
- pip install --no-cache-dir -U -r requirements-test.txt
25-
- ./runflake8
26-
- ./runisort
2725
- npm install jslint -g
2826
- jslint django_netjsongraph/static/netjsongraph/js/*.js
2927

@@ -35,6 +33,7 @@ install:
3533
script:
3634
- coverage run --source=django_netjsongraph runtests.py
3735
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then ./tests/manage.py makemigrations django_netjsongraph --dry-run | grep "No changes detected"; fi
36+
- openwisp-utils-qa-checks --migration-path "./django_netjsongraph/migrations"
3837

3938
after_success:
4039
coveralls

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
coveralls
22
responses
33
freezegun
4-
openwisp-utils[qa]>=0.2.1
4+
openwisp-utils[qa]>=0.3.0

runflake8

Lines changed: 0 additions & 5 deletions
This file was deleted.

runisort

Lines changed: 0 additions & 3 deletions
This file was deleted.

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ universal=1
44
[isort]
55
known_third_party = six,django,netdiff
66
default_section = THIRDPARTY
7+
8+
[flake8]
9+
exclude = *migrations*,
10+
./tests/*settings*.py,
11+
./*setup*.py
12+
max-line-length = 110

0 commit comments

Comments
 (0)