diff --git a/.github/workflows/python-checks.yml b/.github/workflows/python-checks.yml index 3e6b8aee7f..039d8b72ad 100644 --- a/.github/workflows/python-checks.yml +++ b/.github/workflows/python-checks.yml @@ -74,7 +74,7 @@ jobs: - name: Run ruff format run: | - ruff format --diff --target-version=py39 . + ruff format --diff . ruff-check: runs-on: ubuntu-latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cdd72dc074..19f48e387e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,10 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.4 + rev: 'v0.9.10' hooks: - # Run the linter. - id: ruff - args: [ --fix ] - # Run the formatter. - id: ruff-format +- repo: https://github.com/PyCQA/bandit + rev: '1.8.3' + hooks: + - id: bandit diff --git a/requirements-dev.txt b/requirements-dev.txt index 00eaed4275..185be263ed 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,11 +1,11 @@ # Testing Requirements -bandit[toml]==1.8.2 +bandit[toml]==1.8.3 coverage==7.6.12 pytest-cov==6.0.0 -pytest-datadir==1.5.0 +pytest-datadir==1.6.1 pytest-mock==3.14.0 pytest-xdist==3.6.1 -pytest==8.3.4 +pytest==8.3.5 requests-mock==1.12.1 -ruff==0.9.4 -testfixtures==8.3.0 \ No newline at end of file +ruff==0.9.10 +testfixtures==8.3.0