From 8b430707f29d64fd9b64de93fb291690e88b7049 Mon Sep 17 00:00:00 2001 From: TheSpace <78466469+TheSpace-hub@users.noreply.github.com> Date: Sat, 9 Aug 2025 02:03:14 +0300 Subject: [PATCH] Create pylint.yml --- .github/workflows/pylint.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..37953fe --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,20 @@ +name: Pylint + +on: [ push ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.13 + uses: actions/setup-python@v4 + with: + python-version: '3.13' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Analysing the code with pylint + run: | + pylint --errors-only $(git ls-files '*.py')