From 489dae1f0e7155f5fb58e03acd3fe86129766d54 Mon Sep 17 00:00:00 2001 From: Bill Allen Date: Tue, 18 Jun 2024 10:06:33 -0400 Subject: [PATCH] Only requiring Python 3.6 instead of 3.9. Also updated github action versions. --- .github/workflows/CI.yml | 8 ++++---- pyproject.toml | 24 +++++++++++++++++++++--- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f846d12..b81252b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,9 +12,9 @@ jobs: python-version: ['3.10'] name: Python ${{ matrix.python-version }} testing steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install Python dependencies @@ -32,8 +32,8 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install dependencies diff --git a/pyproject.toml b/pyproject.toml index b5cfef6..4de8fed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" readme = "README.md" [tool.poetry.dependencies] -python = "^3.9" +python = "^3.6" numpy = "^1.20.1" [tool.poetry.scripts] @@ -19,8 +19,26 @@ requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.pylint.'MESSAGES CONTROL'] -max-line-length = 150 -disable = "too-many-nested-blocks,too-many-branches,too-many-statements,R0801,R0902,R0903,R0911,R0913,R0914,C0103,C0114,C0115,C0116,C0123,C0301,C0302,fixme" +max-line-length = 120 +disable = [ + "too-many-nested-blocks", + "too-many-branches", + "too-many-statements", + "R0801", + "R0902", + "R0903", + "R0911", + "R0913", + "R0914", + "C0103", + "C0114", + "C0115", + "C0116", + "C0123", + "C0301", + "C0302", + "fixme", +] [tool.tox] legacy_tox_ini = """