Skip to content

Commit

Permalink
[DEPS] Updated dependencies and tools
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-clairicia committed Apr 6, 2024
1 parent d5f5ae6 commit b3ff605
Show file tree
Hide file tree
Showing 6 changed files with 182 additions and 195 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-tox/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
shell: bash
- uses: pdm-project/setup-pdm@v4
with:
version: '2.12.3'
version: '2.13.2'
python-version: ${{ inputs.python-version }}
### setup-pdm cache seems broken. See https://github.com/pdm-project/setup-pdm/issues/43
# cache: true
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ci:

repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.1
rev: v3.15.2
hooks:
- id: pyupgrade
args: ['--py311-plus']
Expand Down Expand Up @@ -62,7 +62,7 @@ repos:
- id: isort
args: ['--filter-files', '--settings-file', 'pyproject.toml']
- repo: https://github.com/psf/black
rev: '24.2.0'
rev: '24.3.0'
hooks:
- id: black
args: ['--config', 'pyproject.toml']
Expand All @@ -75,7 +75,7 @@ repos:
'flake8-dunder-all @ git+https://github.com/francis-clairicia/[email protected]'
]
- repo: https://github.com/PyCQA/bandit
rev: '1.7.6'
rev: '1.7.8'
hooks:
- id: bandit
args: ['-c', '.bandit.yml']
Expand All @@ -86,7 +86,7 @@ repos:
types: [] # Overwrite with empty in order to fallback to types_or
types_or: [python, pyi]
- repo: https://github.com/pdm-project/pdm
rev: '2.12.3'
rev: '2.13.2'
hooks:
- id: pdm-lock-check
- id: pdm-export
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build:
python: "3.11"
jobs:
post_create_environment:
- pip install --no-cache-dir pdm==2.12.3
- pip install --no-cache-dir pdm==2.13.2
- pdm config check_update false
- pdm use -f $READTHEDOCS_VIRTUALENV_PATH
post_install:
Expand Down
4 changes: 2 additions & 2 deletions benchmark_server/build_benchmark_image
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ from __future__ import annotations
import argparse
import os
from pathlib import Path
from typing import Any
from typing import Any, Literal

import build as pyproject_build
import docker
Expand All @@ -26,7 +26,7 @@ SUPPORTED_PYTHON_VERSIONS = [
def _build_sdist_for_docker_image() -> Path:
src_dir = ROOT_DIR.parent
output_dir = ROOT_DIR / "dist"
distribution = "sdist"
distribution: Literal["sdist"] = "sdist"
config_settings: dict[str, Any] = {}

print("Building source distribution for docker image...")
Expand Down
Loading

0 comments on commit b3ff605

Please sign in to comment.