From 2e66bebb5b5eb2b0824622e17dbdc82ec3459ab3 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Sun, 16 Apr 2023 17:49:18 -0600 Subject: [PATCH] Fix example in docs and remove codecov python import --- .github/workflows/build.yml | 2 +- docs/src/markdown/index.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 63bbbe2..023add0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip setuptools build tox coverage codecov + python -m pip install --upgrade pip setuptools build tox coverage - name: Test run: | python -m tox diff --git a/docs/src/markdown/index.md b/docs/src/markdown/index.md index dad5e64..30d8c91 100644 --- a/docs/src/markdown/index.md +++ b/docs/src/markdown/index.md @@ -130,9 +130,9 @@ You can match a single tag: ```pycon3 >>> els = sv.select('p:is(.a, .b, .c)', soup) ->>> sv.match(els[0], 'p:not(.b)') +>>> sv.match('p:not(.b)', els[0]) True ->>> sv.match(els[1], 'p:not(.b)') +>>> sv.match('p:not(.b)', els[1]) False ```