diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 983f1ab..1556309 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.23.3 + rev: 0.26.3 hooks: - id: check-dependabot - id: check-github-workflows diff --git a/noxfile.py b/noxfile.py index ce34713..e97268f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,7 +21,7 @@ extend = "./pyproject.toml" extend-ignore = ["TD003"] """ -python_versions = ["3.11", "3.10", "3.9", "3.8", "3.7"] +python_versions = ["3.11", "3.10", "3.9", "3.8"] @nox.session(python=python_versions) diff --git a/src/.pre-commit-config.yaml.jinja b/src/.pre-commit-config.yaml.jinja index 9a1e7f8..12dd0b6 100644 --- a/src/.pre-commit-config.yaml.jinja +++ b/src/.pre-commit-config.yaml.jinja @@ -19,12 +19,12 @@ repos: - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: "0.13.1" + rev: "1.1.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.0.284" + rev: "v0.0.287" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] @@ -35,7 +35,7 @@ repos: - id: black - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.0 + rev: v1.5.1 hooks: - id: mypy pass_filenames: true @@ -43,6 +43,6 @@ repos: - types-requests - repo: https://github.com/pre-commit/pre-commit - rev: v3.3.3 + rev: v3.4.0 hooks: - id: validate_manifest diff --git a/src/[% if repository_provider == 'github.com' %].github[% endif %]/workflows/test.yml.jinja b/src/[% if repository_provider == 'github.com' %].github[% endif %]/workflows/test.yml.jinja index b4003bb..179a628 100644 --- a/src/[% if repository_provider == 'github.com' %].github[% endif %]/workflows/test.yml.jinja +++ b/src/[% if repository_provider == 'github.com' %].github[% endif %]/workflows/test.yml.jinja @@ -49,7 +49,7 @@ jobs: SETUPTOOLS_USE_DISTUTILS: stdlib strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - name: Checkout code diff --git a/src/noxfile.py.jinja b/src/noxfile.py.jinja index 8d7e837..1243f97 100644 --- a/src/noxfile.py.jinja +++ b/src/noxfile.py.jinja @@ -17,7 +17,7 @@ except ImportError: {sys.executable} -m pip install nox-poetry""" raise SystemExit(dedent(message)) from None -python_versions = ["3.11", "3.10", "3.9", "3.8", "3.7"] +python_versions = ["3.11", "3.10", "3.9", "3.8"] nox.options.sessions = ("tests",) diff --git a/src/pyproject.toml.jinja b/src/pyproject.toml.jinja index 4ce647e..dba77fb 100644 --- a/src/pyproject.toml.jinja +++ b/src/pyproject.toml.jinja @@ -21,7 +21,7 @@ repository = "https://[[ repository_provider ]]/[[ repository_namespace ]]/[[ re documentation = "https://[[ repository_provider ]]/[[ repository_namespace ]]/[[ repository_name ]]#readme" [tool.poetry.dependencies] -python = "<3.12,>=3.7.1" +python = "<3.12,>=3.8" singer-sdk = "~=0.31.0" [tool.poetry.group.dev.dependencies] @@ -40,7 +40,7 @@ ignore = [ line-length = 88 select = ["ALL"] src = ["[[ tap_package_import_name ]]", "tests"] -target-version = "py37" +target-version = "py38" unfixable = [ "ERA001", # commented-out-code ]