Skip to content

Commit

Permalink
Make the pylint test pass (#5207)
Browse files Browse the repository at this point in the history
Co-authored-by: Vostretsov Nikita <whalebot.helmsman@gmail.com>
  • Loading branch information
wRAR and whalebot-helmsman committed Jul 16, 2021
1 parent bcce066 commit 89b654b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/checks.yml
Expand Up @@ -19,6 +19,7 @@ jobs:
- python-version: 3.8
env:
TOXENV: pylint
TOX_PIP_VERSION: 20.3.3
- python-version: 3.9
env:
TOXENV: typing
Expand All @@ -37,5 +38,8 @@ jobs:
- name: Run check
env: ${{ matrix.env }}
run: |
if [[ ! -z "$TOX_PIP_VERSION" ]]; then
pip install tox-pip-version
fi
pip install -U tox
tox
4 changes: 4 additions & 0 deletions .github/workflows/tests-ubuntu.yml
Expand Up @@ -40,6 +40,7 @@ jobs:
- python-version: 3.8
env:
TOXENV: extra-deps
TOX_PIP_VERSION: 20.3.3
- python-version: 3.9
env:
TOXENV: asyncio
Expand Down Expand Up @@ -68,6 +69,9 @@ jobs:
$PYPY_VERSION/bin/pypy3 -m venv "$HOME/virtualenvs/$PYPY_VERSION"
source "$HOME/virtualenvs/$PYPY_VERSION/bin/activate"
fi
if [[ ! -z "$TOX_PIP_VERSION" ]]; then
pip install tox-pip-version
fi
pip install -U tox
tox
Expand Down
4 changes: 4 additions & 0 deletions pylintrc
Expand Up @@ -6,6 +6,7 @@ jobs=1 # >1 hides results
disable=abstract-method,
anomalous-backslash-in-string,
arguments-differ,
arguments-renamed,
attribute-defined-outside-init,
bad-classmethod-argument,
bad-continuation,
Expand All @@ -21,6 +22,8 @@ disable=abstract-method,
cell-var-from-loop,
comparison-with-callable,
consider-iterating-dictionary,
consider-using-dict-items,
consider-using-from-import,
consider-using-in,
consider-using-set-comprehension,
consider-using-sys-exit,
Expand Down Expand Up @@ -105,6 +108,7 @@ disable=abstract-method,
unsubscriptable-object,
unused-argument,
unused-import,
unused-private-member,
unused-variable,
unused-wildcard-import,
used-before-assignment,
Expand Down

0 comments on commit 89b654b

Please sign in to comment.