From 88dcc146d684223028de2afc7e541f8bdc7e213b Mon Sep 17 00:00:00 2001 From: Ruslan Baikulov Date: Tue, 16 Apr 2024 19:02:14 +0300 Subject: [PATCH] chore: Update requirements and gh actions --- .github/workflows/pypi.yml | 2 +- .github/workflows/test.yml | 2 +- pyproject.toml | 15 +++++++++------ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 40df830..68a33d9 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 41c1df8..80d5c02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,4 +29,4 @@ jobs: - name: Test run: pytest - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 diff --git a/pyproject.toml b/pyproject.toml index 5caaf7b..c2309b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", @@ -30,14 +31,14 @@ dynamic = ["version"] [project.optional-dependencies] tests = [ - "pytest==7.4.4", - "pytest-cov==4.1.0", - "mypy==1.8.0", - "ruff==0.1.14", + "pytest==8.1.1", + "pytest-cov==5.0.0", + "mypy==1.9.0", + "ruff==0.3.7", ] docs = [ "mkdocs==1.5.3", - "mkdocs-material==9.5.5", + "mkdocs-material==9.5.18", ] examples = [ "opencv-python==4.9.0.80", @@ -69,11 +70,13 @@ files = [ [tool.ruff] line-length = 89 + +[tool.ruff.lint] select = [ "E", # pycodestyle errors "W", # pycodestyle warnings "F", # pyflakes ] -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"]