Skip to content

Commit 752e933

Browse files
authored
fix: pylint (#536)
* fix: pylint * fix: pylint * fix: pylint
1 parent 112b871 commit 752e933

File tree

4 files changed

+5
-12
lines changed

4 files changed

+5
-12
lines changed

.github/workflows/pre-commit-hook-run.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up node
18-
uses: actions/setup-node@v1
17+
- uses: actions/setup-python@v5
1918
with:
20-
node-version: '12'
19+
python-version: '3.7'
2120
- name: Create virtual environment and install dependencies
2221
run: |
2322
python3 -m venv venv

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ format:
1010
black .
1111

1212
check-lint:
13-
pyright supertokens_python tests examples && pylint --disable=too-many-positional-arguments --load-plugins=pylint.extensions.no_self_use supertokens_python tests examples
13+
pyright supertokens_python tests examples && pylint supertokens_python tests examples
1414

1515
set-up-hooks:
1616
cp hooks/pre-commit.sh .git/hooks/pre-commit

dev-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
aiosmtplib>=1.1.6,<4.0.0
22
anyio==3.5.0
33
asgiref==3.5.2
4+
astroid==2.9.3
45
attrs==21.4.0
56
black==22.3.0
67
certifi==2021.10.8
@@ -50,7 +51,7 @@ pycparser==2.21
5051
pycryptodome==3.10.4
5152
pydantic==1.9.0
5253
PyJWT==2.6.0
53-
pylint==3.3.1
54+
pylint==2.12.2
5455
pyparsing==3.0.7
5556
pyright==1.1.236
5657
pyrsistent==0.18.1

test-pre-commit.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)