Skip to content

Commit

Permalink
feat: Bump dependencies (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Feb 5, 2024
1 parent b18924e commit 9f374c3
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
ci:
autofix_prs: false
skip:
- check-dependabot

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
4 changes: 3 additions & 1 deletion src/.pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ci:
autofix_prs: true
autoupdate_schedule: monthly
autoupdate_commit_msg: 'chore(deps): pre-commit autoupdate'
skip:
- check-dependabot

[% endif -%]

Expand All @@ -24,7 +26,7 @@ repos:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.15"
rev: "v0.2.0"
hooks:
- id: ruff
name: Ruff lint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ updates:
commit-message:
prefix: "feat(deps): "
prefix-development: "chore(deps-dev): "
groups:
singer-sdk:
patterns:
- "singer-sdk*"
- package-ecosystem: pip
directory: "/.github/workflows"
schedule:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
hatch==1.9.3
pip==23.3.2
nox==2023.4.22
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
env:
FORCE_COLOR: "1"
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
Expand Down
15 changes: 11 additions & 4 deletions src/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ keywords = [
"[[ tap_source_name ]]",
"singer.io",
]
license = "Apache-2.0"
license.file = "LICENSE"
maintainers = [{ name = "[[ author_fullname ]]", email = "[[ author_email ]]" }]
authors = [{ name = "[[ author_fullname ]]", email = "[[ author_email ]]" }]
requires-python = ">=3.8"
Expand All @@ -33,15 +33,15 @@ dependencies = [
[%- if tap_stream_type == 'GraphQL' or tap_auth_method == 'Basic Auth' %]
"requests<3,>=2",
[%- endif %]
"singer-sdk~=0.35.0a4",
"singer-sdk~=0.35.0",
]
optional-dependencies.dev = [
"[[ tap_package_distribution_name ]][testing,typing]",
]
optional-dependencies.testing = [
"deptry>=0.12",
"pytest>=8",
"singer-sdk[testing]~=0.35.0a4",
"singer-sdk[testing]~=0.35.0",
]
optional-dependencies.typing = [
"mypy",
Expand All @@ -67,6 +67,11 @@ features = ["testing"]
integration = "pytest {args:tests}"
dependencies = "deptry ."

[tool.hatch.envs.all]
template = "test"
[% raw %][[tool.hatch.envs.all.matrix]][% endraw %]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]

[tool.hatch.envs.typing]
features = ["testing", "typing"]
[tool.hatch.envs.typing.scripts]
Expand Down Expand Up @@ -98,7 +103,6 @@ known-first-party = ["[[ tap_package_import_name ]]"]
required-imports = ["from __future__ import annotations"]

[tool.ruff.lint.per-file-ignores]
"noxfile.py" = ["ANN"]
"tests/*" = [
"ANN201", # missing-return-type-public-function
"S101", # assert
Expand Down Expand Up @@ -127,6 +131,9 @@ addopts = "-vvv"
[tool.mypy]
python_version = "3.12"
warn_redundant_casts = true
warn_return_any = true
warn_no_return = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true

Expand Down

0 comments on commit 9f374c3

Please sign in to comment.