├── .flake8 ├── .github ├── labeler.yml ├── release-drafter.yml ├── semantic.yml └── workflows │ ├── codeql-analysis.yml │ ├── pr-labeler.yml │ ├── publish.yml │ ├── release-drafter.yml │ └── unit-test.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .vscode └── launch.json ├── CHANGES.md ├── CONTRIBUTING.md ├── LICENSE ├── Pipfile ├── README.md ├── SECURITY.md ├── env_runner.py ├── mypy.ini ├── setup.py ├── tests ├── data │ └── xoi.json ├── data_utils.py ├── detailed_validation_utils.py ├── test_cats.py ├── test_exceptions.py ├── test_funcs.py ├── test_gen_converter.py ├── test_python_39.py ├── test_strip_defaults.py ├── test_try_struc.py ├── test_unstruc_any.py ├── test_validators.py └── test_wildcats.py └── typecats ├── __about__.py ├── __init__.py ├── _compat.py ├── attrs_shim.py ├── cats_mypy_plugin.py ├── exceptions.py ├── patch.py ├── py.typed ├── stack_context.py ├── strip_defaults.py ├── tc.py ├── types.py └── wildcat.py /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | ignore = E203, W503 3 | max-line-length = 120 4 | -------------------------------------------------------------------------------- /.github/labeler.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.github/labeler.yml -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.github/release-drafter.yml -------------------------------------------------------------------------------- /.github/semantic.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.github/semantic.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/pr-labeler.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.github/workflows/pr-labeler.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.github/workflows/release-drafter.yml -------------------------------------------------------------------------------- /.github/workflows/unit-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.github/workflows/unit-test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/CHANGES.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/LICENSE -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/Pipfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/SECURITY.md -------------------------------------------------------------------------------- /env_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/env_runner.py -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/mypy.ini -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/setup.py -------------------------------------------------------------------------------- /tests/data/xoi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/data/xoi.json -------------------------------------------------------------------------------- /tests/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/data_utils.py -------------------------------------------------------------------------------- /tests/detailed_validation_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/detailed_validation_utils.py -------------------------------------------------------------------------------- /tests/test_cats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/test_cats.py -------------------------------------------------------------------------------- /tests/test_exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/test_exceptions.py -------------------------------------------------------------------------------- /tests/test_funcs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/test_funcs.py -------------------------------------------------------------------------------- /tests/test_gen_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/test_gen_converter.py -------------------------------------------------------------------------------- /tests/test_python_39.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/test_python_39.py -------------------------------------------------------------------------------- /tests/test_strip_defaults.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/test_strip_defaults.py -------------------------------------------------------------------------------- /tests/test_try_struc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/test_try_struc.py -------------------------------------------------------------------------------- /tests/test_unstruc_any.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/test_unstruc_any.py -------------------------------------------------------------------------------- /tests/test_validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/test_validators.py -------------------------------------------------------------------------------- /tests/test_wildcats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/tests/test_wildcats.py -------------------------------------------------------------------------------- /typecats/__about__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/__about__.py -------------------------------------------------------------------------------- /typecats/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/__init__.py -------------------------------------------------------------------------------- /typecats/_compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/_compat.py -------------------------------------------------------------------------------- /typecats/attrs_shim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/attrs_shim.py -------------------------------------------------------------------------------- /typecats/cats_mypy_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/cats_mypy_plugin.py -------------------------------------------------------------------------------- /typecats/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/exceptions.py -------------------------------------------------------------------------------- /typecats/patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/patch.py -------------------------------------------------------------------------------- /typecats/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /typecats/stack_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/stack_context.py -------------------------------------------------------------------------------- /typecats/strip_defaults.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/strip_defaults.py -------------------------------------------------------------------------------- /typecats/tc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/tc.py -------------------------------------------------------------------------------- /typecats/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/types.py -------------------------------------------------------------------------------- /typecats/wildcat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoeye/typecats/HEAD/typecats/wildcat.py --------------------------------------------------------------------------------