Skip to content

Commit

Permalink
feat: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Oct 29, 2023
1 parent 1d776ec commit e9b27dc
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
copier==8.3.0
pip==23.2.1
pip==23.3.1
poetry==1.6.1
nox==2023.4.22
pre-commit==3.4.0
pre-commit==3.5.0
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand Down
8 changes: 5 additions & 3 deletions src/.pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,21 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/tox-dev/pyproject-fmt
rev: "1.2.0"
rev: "1.3.0"
hooks:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.0"
rev: "v0.1.3"
hooks:
- id: ruff
name: Ruff lint
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
- id: ruff-format
name: Ruff format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.0
rev: v1.6.1
hooks:
- id: mypy
pass_filenames: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pip==23.2.1
pip==23.3.1
poetry==1.6.1
nox==2023.4.22
nox-poetry==1.0.3
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/[email protected].0
uses: actions/[email protected].1

- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -93,10 +93,10 @@ jobs:
FORCE_COLOR: "1"
steps:
- name: Checkout code
uses: actions/[email protected].0
uses: actions/[email protected].1

- name: Set up Python
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
python-version: "3.11"

Expand Down
16 changes: 9 additions & 7 deletions src/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -33,35 +33,37 @@ singer-sdk = { version = "~=0.33.0", extras = ["testing"] }
"[[ tap_package_command_line_name ]]" = "[[ tap_package_import_name ]].tap:Tap[[ tap_source_id ]].cli"
[tool.ruff]
line-length = 88
src = ["[[ tap_package_import_name ]]", "tests"]
target-version = "py38"
[tool.ruff.lint]
ignore = [
"ANN101", # missing-type-self
"DJ", # flake8-django
"FIX002", # line-contains-todo
]
line-length = 88
select = ["ALL"]
src = ["[[ tap_package_import_name ]]", "tests"]
target-version = "py38"
unfixable = [
"ERA001", # commented-out-code
]
[tool.ruff.flake8-annotations]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"noxfile.py" = ["ANN"]
"tests/*" = [
"ANN201", # missing-return-type-public-function
"S101", # assert
"SLF001", # private-member-access
]
[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["[[ tap_package_import_name ]]"]
required-imports = ["from __future__ import annotations"]
[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
Expand Down

0 comments on commit e9b27dc

Please sign in to comment.