├── injector ├── py.typed └── __init__.py ├── docs ├── changelog.rst ├── _templates │ └── sidebar.html ├── api.rst ├── logging.rst ├── testing.rst ├── faq.rst ├── scopes.rst ├── index.rst ├── Makefile ├── practices.rst ├── terminology.rst └── conf.py ├── requirements.txt ├── pyproject.toml ├── mypy.ini ├── .coveragerc ├── pytest.ini ├── .gitignore ├── requirements-docs.in ├── MANIFEST.in ├── requirements-dev.in ├── .readthedocs.yaml ├── requirements-dev.txt ├── requirements-docs.txt ├── .github └── workflows │ └── ci.yml ├── COPYING ├── setup.py ├── README.md ├── CHANGES └── injector_test.py /injector/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/changelog.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../CHANGES 2 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | typing_extensions>=3.7.4;python_version<"3.9" 2 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.black] 2 | line-length = 110 3 | target_version = ['py36', 'py37'] 4 | skip_string_normalization = true 5 | -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- 1 | [mypy] 2 | ignore_missing_imports = true 3 | follow_imports = error 4 | warn_no_return = true 5 | warn_redundant_casts = true 6 | disallow_untyped_defs = true 7 | -------------------------------------------------------------------------------- /.coveragerc: -------------------------------------------------------------------------------- 1 | [report] 2 | exclude_also = 3 | if TYPE_CHECKING: 4 | def __repr__ 5 | @(abc\.)?abstractmethod 6 | @overload 7 | raise NotImplementedError 8 | -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | addopts = -v --tb=native --doctest-glob=*.md --doctest-modules --cov-report term --cov-report html --cov-report xml --cov=injector --cov-branch 3 | norecursedirs = __pycache__ *venv* .git build 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.* 2 | 3 | !/.gitignore 4 | !/.github 5 | 6 | .cache/ 7 | __pycache__/ 8 | docs/_build/ 9 | build/ 10 | htmlcov/ 11 | *,cover 12 | .mypy_cache/ 13 | .pytest_cache/ 14 | coverage.xml 15 | /dist/ 16 | /injector.egg-info/ 17 | -------------------------------------------------------------------------------- /requirements-docs.in: -------------------------------------------------------------------------------- 1 | # The documentation-specific development dependencies. 2 | # 3 | # We generate requirements-dev.txt from this file by running 4 | # 5 | # pip install -r requirements-docs.in && pip freeze > requirements-docs.txt 6 | # 7 | # and then modifying the file manually to restrict black and mypy to CPython 8 | furo 9 | sphinx 10 | -------------------------------------------------------------------------------- /docs/_templates/sidebar.html: -------------------------------------------------------------------------------- 1 |
Dependency Injection Framework
3 |