mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-21 17:16:46 +03:00
3ca6dd9af1
* Implement providers traversal in first precision * Implement traversal for all providers * Update traverse interface + add some tests * Refactor tests * Add tests for callable provider * Add configuration tests * Add Factory tests * Add FactoryAggrefate tests * Add .provides attribute to singleton providers * Add singleton provider tests * Add list and dict provider tests * Add resource tests * Add Container provider tests * Add Selector provider tests * Add ProvidedInstance provider tests * Add AttributeGetter provider tests * Add ItemGetter provider tests * Add MethodCaller provider tests * Refactor container interface * Update resource provider string representation * Add .initializer attribute to Resource provider * Add docs and examples * Remove not needed EOL in the tests * Make cosmetic refactoring * Ignore flake8 line width error in traverse example
14 lines
335 B
INI
14 lines
335 B
INI
[flake8]
|
|
max_line_length = 100
|
|
max_complexity = 10
|
|
exclude = types.py
|
|
per-file-ignores =
|
|
examples/demo/*: F841
|
|
examples/containers/traverse.py: E501
|
|
examples/providers/async.py: F841
|
|
examples/providers/async_overriding.py: F841
|
|
examples/wiring/*: F841
|
|
|
|
[pydocstyle]
|
|
ignore = D100,D101,D102,D105,D106,D107,D203,D213
|