From 4766f1d9bcfc2139bf1115e6566a6325704cdd7e Mon Sep 17 00:00:00 2001 From: GodaimeSan22 Date: Fri, 17 Nov 2023 11:22:46 +0200 Subject: [PATCH 1/3] Added git action pylint --- .github/workflows/pylint.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..1e4b842 --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,26 @@ +name: Pylint Check + +on: + push: + branches: + - "#6Code_conven_pylint # Змініть цю гілку на ту, яку ви використовуєте + +jobs: + lint_backend: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.x # Ви можете вказати потрібну версію Python + + - name: Install dependencies + run: pip install pylint + + - name: Run Pylint + run: | + pylint administration authentification search profiles forum_sandbox From 10df7f83e3731f67bd26273d13d953890431e7e6 Mon Sep 17 00:00:00 2001 From: GodaimeSan22 Date: Fri, 17 Nov 2023 11:26:28 +0200 Subject: [PATCH 2/3] Added git action pylint --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 1e4b842..a90b5a8 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -3,7 +3,7 @@ name: Pylint Check on: push: branches: - - "#6Code_conven_pylint # Змініть цю гілку на ту, яку ви використовуєте + - "#6Code_conven_pylint" # Змініть цю гілку на ту, яку ви використовуєте jobs: lint_backend: From 8d3465b65b5581bb7e989e68079d66b6efdecb23 Mon Sep 17 00:00:00 2001 From: Vasya Rusyn <125042739+GodaimeSan22@users.noreply.github.com> Date: Fri, 17 Nov 2023 11:27:32 +0200 Subject: [PATCH 3/3] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index a90b5a8..c925dd2 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -3,7 +3,7 @@ name: Pylint Check on: push: branches: - - "#6Code_conven_pylint" # Змініть цю гілку на ту, яку ви використовуєте + - develop # Змініть цю гілку на ту, яку ви використовуєте jobs: lint_backend: