Skip to content

Commit

Permalink
use requirement.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
joce committed Nov 15, 2023
1 parent efc0ae7 commit 237ba86
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Pylint

on: [push]
on:
push:
branches:
- master

jobs:
build:
Expand All @@ -17,7 +20,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint pytest requests textual
pip install -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
black >= 23.10
pylint >= 3.0
pyright >= 1.1.335
pytest >= 7.4
requests >= 2.31
textual >= 0.40
tzdata >= 2023.3

0 comments on commit 237ba86

Please sign in to comment.