Skip to content

Commit

Permalink
Run pylint outside of tox
Browse files Browse the repository at this point in the history
  • Loading branch information
dpkp committed Feb 4, 2025
1 parent be30984 commit 1881b49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install tox-gh-actions
- name: Pylint
run: pylint --recursive=y --errors-only kafka test
- name: Setup java
uses: actions/setup-java@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ deps =
xxhash
crc32c
commands =
pytest {posargs:--pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka --cov-config=.covrc}
pytest {posargs:--cov=kafka --cov-config=.covrc}
setenv =
CRC32C_SW_MODE = auto
PROJECT_ROOT = {toxinidir}
Expand Down

0 comments on commit 1881b49

Please sign in to comment.