feat: add basic docs (#4) #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pylint | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:latest | |
steps: | |
- name: Install git | |
run: apt update && apt install git python3 python3-pip -y | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install pylint | |
- name: Analysing the code with pylint | |
run: | | |
git config --global --add safe.directory '*' | |
pylint $(git ls-files '*.py') |