From 20e13feed7c08a0c5e1738e6a16cff40508f445d Mon Sep 17 00:00:00 2001 From: dmtzs Date: Tue, 19 Dec 2023 16:52:49 -0600 Subject: [PATCH] Update validate_release.py and pylint.yml Added module docstring and modified the pylint yml to install all necessary to pass correctly the unable to import error --- .github/scripts/validate_release.py | 4 ++++ .github/workflows/pylint.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/scripts/validate_release.py b/.github/scripts/validate_release.py index b07a29a..d30c3ed 100644 --- a/.github/scripts/validate_release.py +++ b/.github/scripts/validate_release.py @@ -1,3 +1,7 @@ +""" +This script is used to validate if the version is the same of one of the previous versions. +""" + import os import sys import traceback diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index f0825bd..264a295 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -40,7 +40,7 @@ jobs: if: env.CHANGED != '0' run: | python -m pip install --upgrade pip - pip install pylint + pip install pylint requests==2.31.0 python-dotenv==1.0.0 - name: Analysing the code with pylint if: env.CHANGED != '0'