Skip to content

Commit

Permalink
👷 Pre-commit: Install requirements for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNitroG committed Feb 27, 2024
1 parent cb41829 commit 056e14e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pre-commit-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,23 @@ jobs:
contents: write
steps:
- uses: actions/checkout@main

- name: Install python
uses: actions/setup-python@main
with:
cache: pip
python-version: "3.12"

- name: Install python requirements
run: pip install -r requirements.txt

- uses: pre-commit/action@main
with:
extra_args: --all-files

- name: Update pre-commit hook
run: pre-commit autoupdate

- uses: stefanzweifel/git-auto-commit-action@master
with:
commit_message: "🐛 [pre-commit action]: Auto format"
4 changes: 4 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ disable=
protected-access,
too-few-public-methods,
disallowed-name

[MASTER]

init-hook='import sys; sys.path.append(".venv/Lib/site-packages/")'

0 comments on commit 056e14e

Please sign in to comment.