diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 272a6d6f..01b14d9a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - id: trailing-whitespace - id: debug-statements - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.1 + rev: v0.3.0 hooks: - id: ruff - id: ruff-format diff --git a/pyproject.toml b/pyproject.toml index c274cc52..03e7f0e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,7 +77,7 @@ MYPYC_ENABLE = "1" src = ["src"] fix = true show-fixes = true -show-source = true +output-format = "concise" line-length = 120 target-version = "py38" diff --git a/requirements/build.txt b/requirements/build.txt index 09effbf6..a659b232 100644 --- a/requirements/build.txt +++ b/requirements/build.txt @@ -1,8 +1,8 @@ # Tools # ------------------------------------------------------------------------------ wheel==0.42.0 # https://github.com/pypa/wheel -setuptools==69.1.0 # https://github.com/pypa/setuptools -build==1.0.3 # https://github.com/pypa/build +setuptools==69.1.1 # https://github.com/pypa/setuptools +build==1.1.1 # https://github.com/pypa/build packaging==23.2 # https://github.com/pypa/packaging pyproject-hooks==1.0.0 # https://github.com/pypa/pyproject-hooks twine==5.0.0 # https://github.com/pypa/twine diff --git a/requirements/style.txt b/requirements/style.txt index 06e0afcf..97af03fd 100644 --- a/requirements/style.txt +++ b/requirements/style.txt @@ -1,3 +1,3 @@ # Code formatter + Code quality + Code linter # ------------------------------------------------------------------------------ -ruff==0.2.1 # https://github.com/astral-sh/ruff +ruff==0.3.0 # https://github.com/astral-sh/ruff diff --git a/requirements/tests.txt b/requirements/tests.txt index 6d750036..06fe8257 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -1,6 +1,6 @@ # Testing # ------------------------------------------------------------------------------ -pytest==8.0.0 # https://github.com/pytest-dev/pytest +pytest==8.0.2 # https://github.com/pytest-dev/pytest pytest-cov==4.1.0 # https://github.com/pytest-dev/pytest-cov pytest-xdist==3.5.0 # https://github.com/pytest-dev/pytest-xdist pytest-sugar==1.0.0 # https://github.com/Frozenball/pytest-sugar @@ -13,7 +13,7 @@ typeguard==2.13.3 # https://github.com/agronholm/typeguard # Code quality # ------------------------------------------------------------------------------ -coverage==7.4.1 # https://github.com/nedbat/coveragepy +coverage==7.4.3 # https://github.com/nedbat/coveragepy # Tools # ------------------------------------------------------------------------------ diff --git a/requirements/typing.txt b/requirements/typing.txt index 0478109e..5da958cb 100644 --- a/requirements/typing.txt +++ b/requirements/typing.txt @@ -2,5 +2,5 @@ # ------------------------------------------------------------------------------ mypy==1.8.0;python_version>="3.11" # https://github.com/python/mypy pytype==2024.1.5;python_version>="3.11" and python_version<"3.12" # https://github.com/google/pytype -types_setuptools==69.0.0.20240125 # https://github.com/python/typeshed +types_setuptools==69.1.0.20240301 # https://github.com/python/typeshed typeguard==2.13.3 # https://github.com/agronholm/typeguard diff --git a/tox.ini b/tox.ini index e3168eb0..54368f42 100644 --- a/tox.ini +++ b/tox.ini @@ -46,7 +46,7 @@ basepython=python3.12 deps = -r requirements/security.txt commands = - safety check -i 62044 + safety check bandit -r src/ [testenv:docs]