From 9add1e634c4c94d54cda9868b08684a2247b14d6 Mon Sep 17 00:00:00 2001 From: XuTheBunny Date: Mon, 11 Mar 2019 15:02:57 -0400 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20App=20pytest.ini=20for=20q?= =?UTF-8?q?uick=20access=20pytest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 2 +- pytest.ini | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 pytest.ini diff --git a/.circleci/config.yml b/.circleci/config.yml index 43d4bbc..892e3ec 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,7 +40,7 @@ jobs: name: run tests command: | . venv/bin/activate - pytest --ds=settings.test --cov=coordinator --pep8 + pytest --cov=coordinator coverage xml python-codacy-coverage -r coverage.xml environment: diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..7ac300b --- /dev/null +++ b/pytest.ini @@ -0,0 +1,6 @@ +[pytest] +DJANGO_SETTINGS_MODULE = settings.test +addopts = --pep8 +pep8ignore = + settings/*.py ALL + */migrations/*.py ALL