From 887a043d5ab51e114a8d5c46de2a0a70fbd82a13 Mon Sep 17 00:00:00 2001 From: Muhammad Umar Khan Date: Fri, 19 Apr 2024 16:23:58 +0500 Subject: [PATCH] feat: add python 3.12 support --- .github/workflows/ci.yml | 4 ++-- pylintrc | 10 +++++++--- pylintrc_tweaks | 1 + 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e49746d..d724382e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.11"] + python-version: ["3.8", "3.11", "3.12"] django-version: ["pinned"] steps: - uses: actions/checkout@v2 @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.11"] + python-version: ["3.8", "3.11", "3.12"] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 diff --git a/pylintrc b/pylintrc index a03722d3..d857e0e4 100644 --- a/pylintrc +++ b/pylintrc @@ -64,7 +64,7 @@ # SERIOUSLY. # # ------------------------------ -# Generated by edx-lint version: 5.2.5 +# Generated by edx-lint version: 5.3.6 # ------------------------------ [MASTER] ignore = ,migrations, settings, wsgi.py @@ -259,6 +259,7 @@ enable = useless-suppression, disable = bad-indentation, + broad-exception-raised, consider-using-f-string, duplicate-code, file-ignored, @@ -298,6 +299,9 @@ disable = consider-using-f-string, missing-module-docstring, missing-class-docstring, + missing-timeout, + unsupported-binary-operation, + no-member, useless-option-value, unknown-option-value, @@ -394,6 +398,6 @@ ext-import-graph = int-import-graph = [EXCEPTIONS] -overgeneral-exceptions = Exception +overgeneral-exceptions = builtins.Exception -# def06ac8384b7c1c3b352d66890652ea88e1cad8 +# 2fe5a71dc9c880b7985a7eefc288cd0ada05602f diff --git a/pylintrc_tweaks b/pylintrc_tweaks index 6a9c5777..b3b778e4 100644 --- a/pylintrc_tweaks +++ b/pylintrc_tweaks @@ -20,5 +20,6 @@ disable+ = missing-class-docstring, missing-timeout, unsupported-binary-operation, + no-member, useless-option-value, unknown-option-value,