From c23bbc1dfbd50c64c342f9e6daf488b94639e4ba Mon Sep 17 00:00:00 2001 From: "Val Neekman (AvidCoder)" Date: Wed, 16 Feb 2022 16:51:48 -0500 Subject: coverall omit --- .github/workflows/dev.yml | 2 +- setup.cfg | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index d0cb401..729c26c 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -37,7 +37,7 @@ jobs: pycodestyle --ignore=E128,E261,E225,E501,W605 slugify test.py setup.py - name: Run test run: | - coverage run --source=slugify test.py + coverage run --include=slugify --omit=__version__.py --source=slugify test.py - name: Coveralls run: coveralls --service=github env: diff --git a/setup.cfg b/setup.cfg index 26da821..3c6e79c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,2 @@ [bdist_wheel] universal=1 - -[coverage:run] -include = - slugify/slugify.py - slugify/special.py -- cgit v1.2.1