CI: catch redefined test methods with flake8

flake8
Ryan Barrett 2023-06-20 07:02:20 -07:00
rodzic 6c0afb4d5c
commit 243e28052e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -28,7 +28,7 @@ jobs:
- run:
name: Python dependencies
command: |
pip install -U pip
pip install -U pip flake8
pip -V
# make sure we install these at head, below
pip uninstall -y granary lexrpc oauth-dropins
@ -47,6 +47,11 @@ jobs:
python -m coverage html -d /tmp/coverage_html
if [ "$COVERALLS_REPO_TOKEN" != "" ]; then coveralls || true; fi
# check for unintentionally overridden test methods
# https://flake8.pycqa.org/en/latest/user/error-codes.html#error-codes
# https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-select
flake8 --select=F811 tests/test_*.py
# a step only runs if all previous steps succeed, including tests above
# https://circleci.com/docs/configuration-reference/#the-when-attribute
- run: