Files
dlt/tox.ini
rudolfix f821d21165 fixes leaking datasets tests (#2730)
* adds optional pipeline activation history to context

* allows to configure configs and pragmas for duckdb, improves sql_client, tests

* allows query string for motherduck, tests WIP

* mocks local_dir correctly to place local files, drop duckdb in pipeline fixture in most places

* enables activation factory to drop datasets from all pipelines

* uses correct fixture scope in test read interfaces

* bumps duckdb and pyarrow

* ignores some flake8 errors

* logs resolved traces thread-wise, clears log between pipeline runs

* improves duckdb tests and docs

* bumps arrow to v20 because duckdb 1.3 needs at least 19 for its types

* fixes tests - mostly duckdb database locations

* fixes lockfile

* fixes edge cases when passing setting to duckdb connection

* disables iceberg abfss tests

* refactors WithLocalFiles so they can be used independent from destination

* more local dir test fixes

* moves WithLocalFiles to common storages configuration

* tests edge cases when setting configs on duckdb fails

* updates docs

* reverts duckdb to 1.2.1 - last stable version

* more test fixes

* moves create_secret to duckdb sqlclient

* disables building of Dockerfile until we upgrade arrow

* skip gcs compat test for local clickhouse tests

---------

Co-authored-by: dave <shrps@posteo.net>
2025-06-11 22:17:05 +02:00

22 lines
883 B
INI

[flake8]
ignore=E1,E2,E3,E4,F401,W391,W292,E501,E731,F811,W503,E704,W504,DOC502,DOC503,DOC501,B010,I250
banned-modules = datetime = use dlt.common.pendulum
json = use dlt.common.json
decimal = use dlt.common.decimal
decimal.Decimal = use dlt.common.Decimal
open = use dlt.common.open
numpy = use dlt.common.libs.numpy
pendulum = use dlt.common.pendulum
typing.TypedDict = use dlt.common.typing.TypedDict
typing-extensions.TypedDict = use dlt.common.typing.TypedDict
extend-immutable-calls = dlt.sources.incremental
# allow banned-imports (I251) in tests and docs e.g., direct numpy import
per-file-ignores =
tests/*: T20, I251
docs/*: T20, I251
# docstring linting
style=google
allow-init-docstring=True
arg-type-hints-in-docstring=True