diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 608f14e..8d2b0c0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,36 +2,36 @@ exclude: '^$' fail_fast: false repos: - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 23.9.1 hooks: - id: black language_version: python3 args: - --target-version=py310 - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort language_version: python3 - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 6.1.0 hooks: - id: flake8 additional_dependencies: [flake8-docstrings, flake8-debugger, flake8-bugbear, mccabe] args: [--max-complexity, "10"] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - repo: https://github.com/PyCQA/bandit - rev: '1.7.4' + rev: '1.7.5' hooks: - id: bandit args: [--ini, .bandit] - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v0.950' # Use the sha / tag you want to point at + rev: 'v1.5.1' # Use the sha / tag you want to point at hooks: - id: mypy additional_dependencies: diff --git a/pyproject.toml b/pyproject.toml index 87fd0a1..d3dfa3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2", 'setuptools_scm_git_archive'] +requires = ["setuptools>=60", "wheel", "setuptools_scm[toml]>=8.0"] build-backend = "setuptools.build_meta" [tool.setuptools_scm]