-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac09c80
commit ce1bc24
Showing
17 changed files
with
1,644 additions
and
0 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 @@ | ||
3.11 |
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,25 @@ | ||
all: check | ||
|
||
format-ruff: | ||
poetry run ruff --fix . | ||
|
||
format-black: | ||
poetry run black . | ||
|
||
lint-black: | ||
poetry run black . --check | ||
|
||
lint-ruff: | ||
poetry run ruff . | ||
|
||
lint-mypy: | ||
poetry run mypy src tests || true | ||
|
||
format: format-ruff format-black | ||
|
||
lint: lint-mypy lint-ruff lint-black | ||
|
||
test: | ||
poetry run pytest | ||
|
||
check: lint test |
1,567 changes: 1,567 additions & 0 deletions
1,567
airbyte-integrations/connectors/source-pokeapi/poetry.lock
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[virtualenvs] | ||
in-project = true | ||
prefer-active-python = true |
48 changes: 48 additions & 0 deletions
48
airbyte-integrations/connectors/source-pokeapi/pyproject.toml
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,48 @@ | ||
[tool.poetry] | ||
name = "airbyte-source-pokeapi" | ||
version = "0.1.0" | ||
description = "" | ||
authors = ["Michel Tricot <[email protected]>"] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9,<4.0" | ||
airbyte-cdk = "~=0.4" | ||
|
||
[tool.poetry.group.lint.dependencies] | ||
black = "^22.12.0" | ||
ruff = "^0.0.280" | ||
mypy = "^1.4.1" | ||
|
||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = "~6" | ||
connector-acceptance-test = {path = "../../bases/connector-acceptance-test", develop = true} | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.black] | ||
line-length = 140 | ||
target-version = ["py39"] | ||
|
||
[tool.ruff] | ||
select = [ | ||
"E", # pycodestyle | ||
"F", # pyflakes | ||
"I", # isort | ||
] | ||
line-length = 140 | ||
|
||
[tool.mypy] | ||
ignore_missing_imports = "True" | ||
disallow_untyped_defs = "True" | ||
|
||
[[tool.mypy.overrides]] | ||
module = "unit_tests.*" | ||
disallow_untyped_defs = "False" | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = [ | ||
"tests/unit_tests" | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.