├── .flake8 ├── .github ├── dependabot.yml └── workflows │ └── build.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── .pre-commit-hooks.yaml ├── LICENSE ├── Makefile ├── README.md ├── pyproject.toml ├── scripts ├── bump-version.py └── check-hook-name-length.py ├── src └── texthooks │ ├── __init__.py │ ├── _common.py │ ├── _recorders.py │ ├── alphabetize_codeowners.py │ ├── fix_ligatures.py │ ├── fix_smartquotes.py │ ├── fix_spaces.py │ ├── fix_unicode_dashes.py │ ├── forbid_bidi_controls.py │ └── macro_expand.py ├── tests ├── acceptance │ ├── conftest.py │ ├── test_alphabetize_codeowners.py │ ├── test_fix_ligatures.py │ ├── test_fix_smartquotes.py │ ├── test_fix_unicode_dashes.py │ ├── test_forbid_bidi_controls.py │ └── test_macro_expand.py └── unit │ └── test_cli_parsing.py └── tox.ini /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.egg-info 2 | __pycache__ 3 | dist 4 | build 5 | .venv 6 | .tox 7 | .coverage 8 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.pre-commit-hooks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/.pre-commit-hooks.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/README.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/bump-version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/scripts/bump-version.py -------------------------------------------------------------------------------- /scripts/check-hook-name-length.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/scripts/check-hook-name-length.py -------------------------------------------------------------------------------- /src/texthooks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/texthooks/_common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/src/texthooks/_common.py -------------------------------------------------------------------------------- /src/texthooks/_recorders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/src/texthooks/_recorders.py -------------------------------------------------------------------------------- /src/texthooks/alphabetize_codeowners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/src/texthooks/alphabetize_codeowners.py -------------------------------------------------------------------------------- /src/texthooks/fix_ligatures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/src/texthooks/fix_ligatures.py -------------------------------------------------------------------------------- /src/texthooks/fix_smartquotes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/src/texthooks/fix_smartquotes.py -------------------------------------------------------------------------------- /src/texthooks/fix_spaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/src/texthooks/fix_spaces.py -------------------------------------------------------------------------------- /src/texthooks/fix_unicode_dashes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/src/texthooks/fix_unicode_dashes.py -------------------------------------------------------------------------------- /src/texthooks/forbid_bidi_controls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/src/texthooks/forbid_bidi_controls.py -------------------------------------------------------------------------------- /src/texthooks/macro_expand.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/src/texthooks/macro_expand.py -------------------------------------------------------------------------------- /tests/acceptance/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/tests/acceptance/conftest.py -------------------------------------------------------------------------------- /tests/acceptance/test_alphabetize_codeowners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/tests/acceptance/test_alphabetize_codeowners.py -------------------------------------------------------------------------------- /tests/acceptance/test_fix_ligatures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/tests/acceptance/test_fix_ligatures.py -------------------------------------------------------------------------------- /tests/acceptance/test_fix_smartquotes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/tests/acceptance/test_fix_smartquotes.py -------------------------------------------------------------------------------- /tests/acceptance/test_fix_unicode_dashes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/tests/acceptance/test_fix_unicode_dashes.py -------------------------------------------------------------------------------- /tests/acceptance/test_forbid_bidi_controls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/tests/acceptance/test_forbid_bidi_controls.py -------------------------------------------------------------------------------- /tests/acceptance/test_macro_expand.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/tests/acceptance/test_macro_expand.py -------------------------------------------------------------------------------- /tests/unit/test_cli_parsing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/tests/unit/test_cli_parsing.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sirosen/texthooks/HEAD/tox.ini --------------------------------------------------------------------------------