-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Drop support for Python 3.7 (#49)
- Loading branch information
1 parent
1335395
commit 627514c
Showing
13 changed files
with
836 additions
and
627 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: pip | ||
directory: "/.github/workflows" | ||
schedule: | ||
interval: daily | ||
commit-message: | ||
prefix: "ci: " | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
commit-message: | ||
prefix: "ci: " | ||
- package-ecosystem: pip | ||
versioning-strategy: increase | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
commit-message: | ||
prefix: "chore(deps): " | ||
prefix-development: "chore(deps-dev): " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pip==23.3.1 | ||
poetry==1.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,14 @@ name = "target-csv" | |
version = "0.0.1" | ||
description = "`target-csv` is a Singer target for CSV, built with the Meltano SDK for Singer Targets." | ||
authors = ["Meltano <[email protected]>"] | ||
license = "Apache 2.0" | ||
license = "Apache-2.0" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.7.1,<3.12" | ||
requests = "^2.31.0" | ||
singer-sdk = "^0.21.0" | ||
python = ">=3.8" | ||
singer-sdk = "~=0.34.0" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^7.2.2" | ||
pytest = "~=7.4" | ||
|
||
[tool.poetry.scripts] | ||
target-csv = 'target_csv.target:TargetCSV.cli' | ||
|
@@ -21,8 +20,10 @@ requires = ["poetry-core>=1.0.7"] | |
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.ruff] | ||
target-version = "py37" | ||
line-length = 88 | ||
target-version = "py38" | ||
|
||
[tool.ruff.lint] | ||
ignore = [ | ||
"ANN101", # Missing type annotation for `self` in method | ||
"ANN102", # Missing type annotation for `cls` in class method | ||
|
@@ -38,11 +39,11 @@ select = [ | |
"S", # flake8-bandit | ||
] | ||
|
||
[tool.ruff.flake8-annotations] | ||
[tool.ruff.lint.flake8-annotations] | ||
allow-star-arg-any = true | ||
|
||
[tool.ruff.pydocstyle] | ||
[tool.ruff.lint.pydocstyle] | ||
convention = "google" | ||
|
||
[tool.ruff.per-file-ignores] | ||
[tool.ruff.lint.per-file-ignores] | ||
"**/tests/*" = ["ANN", "D1", "S101"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
"""Tests standard target features using the built-in SDK tests library.""" | ||
|
||
from typing import Any, Dict | ||
|
||
from singer_sdk.testing import get_target_test_class | ||
|
||
from target_csv.target import TargetCSV | ||
|
||
SAMPLE_CONFIG: Dict[str, Any] = { | ||
"escape_character": '"', | ||
} | ||
|
||
TestTargetCSV = get_target_test_class(TargetCSV, config=SAMPLE_CONFIG) |
File renamed without changes.