1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Description: debianization
Meant to maintain a minimal debian/rules, to fix warnings,
to address Debian specific stuff in general.
Origin: vendor, Debian
Forwarded: not-needed
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2021-01-22
--- a/tests/lint_test.sh
+++ b/tests/lint_test.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# exit on error
set -e
@@ -18,14 +18,14 @@
# lint the docstrings
pydocstyle .
-# build the docs
-make -C ./docs html
+### build the docs
+##make -C ./docs html
# run the tests
-coverage run --source ./osmnx --module pytest --verbose
+python3-coverage run --source ./osmnx --module pytest --verbose
# report the test coverage
-coverage report -m
+python3-coverage report -m
# delete temp files and folders
rm -r -f .coverage .pytest_cache .temp ./docs/build osmnx/__pycache__ tests/__pycache__
|