Skip to content

Commit

Permalink
fix: pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Oct 18, 2024
1 parent 95c6293 commit 93fc8bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pre-commit-hook-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up node
uses: actions/setup-node@v1
- uses: actions/setup-python@v5
with:
node-version: '12'
python-version: '3.7'
- name: Create virtual environment and install dependencies
run: |
python3 -m venv venv
Expand All @@ -26,7 +25,6 @@ jobs:
python3 -m pip install "cython<3.0.0" wheel
python3 -m pip install "PyYAML==5.4.1" --no-build-isolation
make dev-install && rm -rf src
python3 -m pip install pylint==3.3.1
- name: Make a dummy change to README.md
run: |
echo "# Dummy change for PR check" >> README.md
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ format:
black .

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

set-up-hooks:
cp hooks/pre-commit.sh .git/hooks/pre-commit
Expand Down
2 changes: 2 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
aiosmtplib>=1.1.6,<4.0.0
anyio==3.5.0
asgiref==3.5.2
astroid==2.9.3
attrs==21.4.0
black==22.3.0
certifi==2021.10.8
Expand Down Expand Up @@ -50,6 +51,7 @@ pycparser==2.21
pycryptodome==3.10.4
pydantic==1.9.0
PyJWT==2.6.0
pylint==2.12.2
pyparsing==3.0.7
pyright==1.1.236
pyrsistent==0.18.1
Expand Down

0 comments on commit 93fc8bc

Please sign in to comment.