Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-tricot committed Aug 3, 2023
1 parent ac09c80 commit ce1bc24
Show file tree
Hide file tree
Showing 17 changed files with 1,644 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11
25 changes: 25 additions & 0 deletions airbyte-integrations/connectors/source-pokeapi/Makefile
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 airbyte-integrations/connectors/source-pokeapi/poetry.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions airbyte-integrations/connectors/source-pokeapi/poetry.toml
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 airbyte-integrations/connectors/source-pokeapi/pyproject.toml
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"
]

0 comments on commit ce1bc24

Please sign in to comment.