https://github.com/tox-dev/xml-fmt
Format your XMLs (or XSDs) with pre-commit
https://github.com/tox-dev/xml-fmt
fmt formatter pre-commit python xml
Last synced: 10 months ago
JSON representation
Format your XMLs (or XSDs) with pre-commit
- Host: GitHub
- URL: https://github.com/tox-dev/xml-fmt
- Owner: tox-dev
- License: mit
- Created: 2025-01-31T23:32:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-23T16:47:34.000Z (10 months ago)
- Last Synced: 2025-06-23T17:46:15.570Z (10 months ago)
- Topics: fmt, formatter, pre-commit, python, xml
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# xml-fmt
[](https://pypi.org/project/xml-fmt)
[](https://pypi.org/project/xml-fmt)
[](https://pypi.org/project/xml-fmt)
[](https://pepy.tech/project/xml-fmt)
[](https://opensource.org/licenses/MIT)
[](https://github.com/tox-dev/xml-fmt/actions/workflows/check.yaml)
### Using `xml-fmt` with pre-commit
Add it to your `.pre-commit-config.yaml`:
```yaml
- repo: https://github.com/tox-dev/xml-fmt
rev: "" # Use the sha / tag you want to point at
hooks:
- id: xml-fmt
```