* handwritten low code manifest example components * add MinMaxDatetime to jsonschema * add a basic gradle command to generate manifest components * Add auth components to handwritten component schema - ApiKeyAuthenticator - BasicHttpAuthenticator - BearerAuthenticator - DeclarativeOauth2Authenticator - NoAuth * Respect optional properties in DeclarativeOauth2Authenticator * Fix `Dict[str, Any]` mapping in auth components * add default error handler composite error handler and http response filter components * [low code component schema] adding backoff strategies to schema * [low code component schema] fix float types * [low code component schema] add RecordFilter * Remove `config` from auth components * [low code component schema] add Interpolation (with pending question on 'type' not being defined) * Add CartesianProductStreamSlicer & DatetimeStreamSlicer * Add ListStreamSlicer, and fix nesting of DatetimeStreamSlicer * [low code component schema] add InterpolatedRequestOptionsProvider * Add slicer components, and fix a couple of components after reviewing output * [low code component schema] adding transformations and adding type to interpolators * adding spec and a few small tweaks * Add DefaultSchemaLoader * [low code component schema] attempt on custom class * Add descriptions for auth components * add RequestOption * remove interpolated objects from the schema in favor of strings only * a few schema fixes and adding some custom pagination and stream slicer * [low code component schema] fix CustomBackoffStrategy * Add CustomRecordExtractor * add some description and add additional properties * insert a transformer to hydrate default manifest components and perform validation against the handwritten schema * [low code component schema] validating existing schemas * [low code component schema] clean validation script * add manifest transformer tests and a few tweaks to the schema * Revert "[low code component schema] clean validation script" This reverts commit2408f41cf6. * Revert "[low code component schema] validating existing schemas" This reverts commit9d39977815. * [low code component schema] integrate validation script to gradle * [low code component schema] updating validation script permissions * remove a few model gen spike files and clean up comments * default types should take parent type into account and a few schema changes * [ISSUE #20044] generate pydantic models from handwritten schema * [ISSUE #20044] code review * [ISSUE #20044] re-generating declarative component schema files Co-authored-by: brianjlai <brian.lai@airbyte.io> Co-authored-by: Catherine Noll <noll.catherine@gmail.com>
88 lines
1.8 KiB
TOML
88 lines
1.8 KiB
TOML
[tool.black]
|
|
line-length = 140
|
|
target-version = ["py37"]
|
|
extend-exclude = "(build|integration_tests|unit_tests|generated)"
|
|
|
|
[tool.coverage.report]
|
|
fail_under = 0
|
|
skip_empty = true
|
|
sort = "-cover"
|
|
omit = [
|
|
".venv/*",
|
|
"main.py",
|
|
"setup.py",
|
|
"unit_tests/*",
|
|
"integration_tests/*",
|
|
"**/generated/*",
|
|
]
|
|
|
|
[tool.flake8]
|
|
extend-exclude = [
|
|
"*/lib/*/site-packages",
|
|
".venv",
|
|
"build",
|
|
"models",
|
|
".eggs",
|
|
"airbyte-cdk/python/airbyte_cdk/models/__init__.py",
|
|
"airbyte-cdk/python/airbyte_cdk/sources/declarative/models/__init__.py",
|
|
".tox",
|
|
"airbyte_api_client",
|
|
"**/generated/*",
|
|
]
|
|
max-complexity = 20
|
|
max-line-length = 140
|
|
|
|
extend-ignore = [
|
|
"E203", # whitespace before ':' (conflicts with Black)
|
|
"E231", # Bad trailing comma (conflicts with Black)
|
|
"E501", # line too long (conflicts with Black)
|
|
"W503", # line break before binary operator (conflicts with Black)
|
|
]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
color_output = false
|
|
skip_gitignore = true
|
|
line_length = 140
|
|
multi_line_output = 3
|
|
include_trailing_comma = true
|
|
force_grid_wrap = 0
|
|
use_parentheses = true
|
|
skip_glob = ["**/connector_builder/generated/**"]
|
|
|
|
|
|
[tool.mypy]
|
|
platform = "linux"
|
|
exclude = "(build|integration_tests|unit_tests|generated)"
|
|
|
|
# Optionals
|
|
ignore_missing_imports = true
|
|
|
|
# Strictness
|
|
allow_untyped_globals = false
|
|
allow_redefinition = false
|
|
implicit_reexport = false
|
|
strict_equality = true
|
|
|
|
# Warnings
|
|
warn_unused_ignores = true
|
|
warn_no_return = true
|
|
warn_return_any = true
|
|
warn_redundant_casts = true
|
|
warn_unreachable = true
|
|
|
|
# Error output
|
|
show_column_numbers = true
|
|
show_error_context = true
|
|
show_error_codes = true
|
|
show_traceback = true
|
|
pretty = true
|
|
color_output = true
|
|
error_summary = true
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "6.2.5"
|
|
addopts ="-r a --capture=no -vv --log-level=DEBUG --color=yes"
|
|
|
|
|