From 2cb07872fe110e1addf6f15601349d4d64e1552b Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Wed, 17 May 2017 10:44:14 -0700 Subject: [PATCH] Add a makefile target for testing the readme --- Makefile | 3 +++ Pipfile | 1 + 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 34dbe6a3..3a00b0c7 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,9 @@ test: # the -k flag, like "py.test -k test_path_is_not_double_encoded" pipenv run py.test tests +test-readme: + pipenv run python setup.py check -r -s + coverage: pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests diff --git a/Pipfile b/Pipfile index 617c7ffa..ffb748ab 100644 --- a/Pipfile +++ b/Pipfile @@ -11,3 +11,4 @@ pytest-mock = "*" pytest-cov = "*" pysocks = "*" alabaster = "*" +readme_renderer = "*"