From 8d2e98263da00c1356d5db7405bd39f515e7e2b2 Mon Sep 17 00:00:00 2001 From: jtyoung84 <104453205+jtyoung84@users.noreply.github.com> Date: Fri, 25 Oct 2024 11:44:31 -0700 Subject: [PATCH] build: updates project settings (#7) --- .github/workflows/tag_and_publish.yml | 8 ++++---- .github/workflows/test_and_lint.yml | 6 +++--- pyproject.toml | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tag_and_publish.yml b/.github/workflows/tag_and_publish.yml index 969d9b2..2532030 100644 --- a/.github/workflows/tag_and_publish.yml +++ b/.github/workflows/tag_and_publish.yml @@ -8,15 +8,15 @@ jobs: runs-on: ubuntu-latest continue-on-error: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.DEFAULT_BRANCH }} fetch-depth: 0 token: ${{ secrets.SERVICE_TOKEN }} - - name: Set up Python 3.8 - uses: actions/setup-python@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: '3.10' - name: Install dependencies run: | python -m pip install -e .[dev] --no-cache-dir diff --git a/.github/workflows/test_and_lint.yml b/.github/workflows/test_and_lint.yml index c8d832d..af209eb 100644 --- a/.github/workflows/test_and_lint.yml +++ b/.github/workflows/test_and_lint.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.8', '3.9', '3.10' ] + python-version: [ '3.10', '3.11', '3.12', '3.13' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/pyproject.toml b/pyproject.toml index 16fe7b8..66230e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,9 +4,9 @@ build-backend = "setuptools.build_meta" [project] name = "aind-behavior-video-transformation" -description = "Generated from aind-library-template" +description = "Handles behavior modality folder" license = {text = "MIT"} -requires-python = ">=3.8" +requires-python = ">=3.10" authors = [ {name = "Allen Institute for Neural Dynamics"} ] @@ -39,7 +39,7 @@ version = {attr = "aind_behavior_video_transformation.__version__"} [tool.black] line-length = 79 -target_version = ['py38'] +target_version = ['py310'] exclude = ''' ( @@ -69,7 +69,7 @@ exclude_lines = [ "import", "pragma: no cover" ] -fail_under = 100 +fail_under = 90 [tool.isort] line_length = 79